WindowsXP-SP1/admin/snapin/schmmgmt/newclass.cpp
2020-09-30 16:53:49 +02:00

27 lines
625 B
C++

#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();
}