Leaked source code of windows server 2003
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.

28 lines
665 B

  1. #include "stdafx.h"
  2. #include "compdata.h"
  3. #include "newclass.hpp"
  4. #include "wizinfo.hpp"
  5. #include "ncgen.hpp"
  6. #include "ncattr.hpp"
  7. void
  8. DoNewClassDialog(ComponentData& cd)
  9. {
  10. CThemeContextActivator activator;
  11. CPropertySheet prop_sheet(IDS_NEW_CLASS_PROP_SHEET_TITLE);
  12. CreateClassWizardInfo info;
  13. NewClassGeneralPage general_page(&info);
  14. NewClassAttributesPage attr_page(&info, &cd);
  15. prop_sheet.AddPage(&general_page);
  16. prop_sheet.AddPage(&attr_page);
  17. prop_sheet.SetWizardMode();
  18. prop_sheet.DoModal();
  19. }