windows-nt/Source/XPSP1/NT/admin/snapin/schmmgmt/newclass.cpp

27 lines
599 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "stdafx.h"
#include "compdata.h"
#include "newclass.hpp"
#include "wizinfo.hpp"
#include "ncgen.hpp"
#include "ncattr.hpp"
void
DoNewClassDialog(ComponentData& cd)
{
CPropertySheet prop_sheet(IDS_NEW_CLASS_PROP_SHEET_TITLE);
CreateClassWizardInfo info;
NewClassGeneralPage general_page(&info);
NewClassAttributesPage attr_page(&info, &cd);
prop_sheet.AddPage(&general_page);
prop_sheet.AddPage(&attr_page);
prop_sheet.SetWizardMode();
prop_sheet.DoModal();
}