public DockableWindowMilSpaceProfileCalc(MilSpaceProfileCalsController controller) { this.Instance = this; SetController(controller); controller.SetView(this); LocalizeStrings(); }
public DockableWindowMilSpaceProfileCalc(object hook, MilSpaceProfileCalsController controller) { InitializeComponent(); SetController(controller); this.Hook = hook; this.Instance = this; SubscribeForEvents(); controller.SetView(this); }
public DockableWindowMilSpaceProfileCalc(object hook, MilSpaceProfileCalsController controller) { InitializeComponent(); SetController(controller); this.Hook = hook; this.Instance = this; SubscribeForEvents(); controller.SetView(this); LocalizeStrings(); fanPickCoord = firstPointToolBar.Buttons[0]; linePickCoordFirst = secondPointToolbar.Buttons[0]; linePickCoordSecond = basePointToolbar.Buttons[0]; }