mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
599 B
26 lines
599 B
#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();
|
|
}
|
|
|
|
|
|
|