예제 #1
0
 public void RemoveControlView(ControlViewBase controlView)
 {
     Section.Controls.Remove(controlView.ControlModel);
     controls.Remove(controlView);
 }
예제 #2
0
 public void AddControlView(ControlViewBase controlView)
 {
     controls.Add(controlView);
 }
예제 #3
0
 public void AddControlView(ControlViewBase controlView)
 {
     controls.Add (controlView);
 }
예제 #4
0
 public void RemoveControlView(ControlViewBase controlView)
 {
     Section.Controls.Remove (controlView.ControlModel);
     controls.Remove (controlView);
 }
예제 #5
0
 public void SetToolByControlView(ControlViewBase control)
 {
     if(ToolDictionary.ContainsKey(control.DefaultToolName))
         SelectedTool = ToolDictionary[control.DefaultToolName];
 }