public void RemoveControlView(ControlViewBase controlView) { Section.Controls.Remove(controlView.ControlModel); controls.Remove(controlView); }
public void AddControlView(ControlViewBase controlView) { controls.Add(controlView); }
public void AddControlView(ControlViewBase controlView) { controls.Add (controlView); }
public void RemoveControlView(ControlViewBase controlView) { Section.Controls.Remove (controlView.ControlModel); controls.Remove (controlView); }
public void SetToolByControlView(ControlViewBase control) { if(ToolDictionary.ContainsKey(control.DefaultToolName)) SelectedTool = ToolDictionary[control.DefaultToolName]; }