Пример #1
0
 private static void TabHandler(object sender, Autodesk.AutoCAD.ApplicationServices.TabbedDialogEventArgs e)
 {
     EmployeeOptions EmployeeOptionsPage = new EmployeeOptions();
     e.AddTab("Acme Employee Options",
         new TabbedDialogExtension(
         EmployeeOptionsPage,
         new TabbedDialogAction(EmployeeOptionsPage.OnOk)));
 }
Пример #2
0
        private static void TabHandler(object sender, Autodesk.AutoCAD.ApplicationServices.TabbedDialogEventArgs e)
        {
            EmployeeOptions EmployeeOptionsPage = new EmployeeOptions();

            e.AddTab("Acme Employee Options",
                     new TabbedDialogExtension(
                         EmployeeOptionsPage,
                         new TabbedDialogAction(EmployeeOptionsPage.OnOk)));
        }
Пример #3
0
 public void Initialize()
 {
     AddContextMenu();
     EmployeeOptions.AddTabDialog();
 }