public RectangleToolsDependencyMapper()
 {
     clientSettings = new ClientSettings();
     rectangleController = GetRectangleUiController();
     rectangleCongigButton = new RectangleConfigButton();
     userInterfaceEvents = new UserInterfaceEventsLib(StandardAddInServer.InventorApplication);
     userInterfaceEvents.OnResetRibbonInterfaceDelegate += UserInterfaceEvents_OnResetRibbonInterface;
     userInterfaceEvents.UserInterfaceEvents.OnResetRibbonInterface += userInterfaceEvents
                                                                       .OnResetRibbonInterfaceDelegate;
 }
예제 #2
0
 public RectangleToolsDependencyMapper()
 {
     clientSettings        = new ClientSettings();
     rectangleController   = GetRectangleUiController();
     rectangleCongigButton = new RectangleConfigButton();
     userInterfaceEvents   = new UserInterfaceEventsLib(StandardAddInServer.InventorApplication);
     userInterfaceEvents.OnResetRibbonInterfaceDelegate             += UserInterfaceEvents_OnResetRibbonInterface;
     userInterfaceEvents.UserInterfaceEvents.OnResetRibbonInterface += userInterfaceEvents
                                                                       .OnResetRibbonInterfaceDelegate;
 }