protected override IntPtr OnCreateChild() { AddDemController controller = new AddDemController(); ModuleInteraction.Instance.RegisterModuleInteraction<IAddDemInteraction>(new AddDemInteraction(controller)); m_windowUI = new DockableDEMWindow(this.Hook, controller); return m_windowUI.Handle; }
public DockableDEMWindow(object hook, AddDemController controller) { InitializeComponent(); this.Hook = hook; this.controller = controller; this.controller.RegisterView(this); LocalizeElements(); }
public DockableDEMWindow(object hook, AddDemController controller) { InitializeComponent(); this.Hook = hook; this.controller = controller; this.controller.RegisterView(this); LocalizeElements(); ShowButtons(); comboBox1.SelectedIndex = 0; }
public AddDemInteraction(AddDemController controller) { this.controller = controller; }