Example #1
0
 protected virtual void OnDrawingModeSwitcherClick(DrawingModeSwitcherClickEventArgs e)
 {
     if (this.DrawingModeSwitcherClick != null)
     {
         this.DrawingModeSwitcherClick(this, e);
     }
 }
Example #2
0
 private void MainForm_DrawingModeSwitcherClick(object sender, DrawingModeSwitcherClickEventArgs e)
 {
     this.ViewModel.EditorState.DrawingMode = e.DrawingMode;
 }