Example #1
0
 protected virtual void OnLayerModeSwitcherClick(LayerModeSwitcherClickEventArgs e)
 {
     if (this.LayerModeSwitcherClick != null)
     {
         this.LayerModeSwitcherClick(this, e);
     }
 }
Example #2
0
 private void MainForm_LayerModeSwitcherClick(object sender, LayerModeSwitcherClickEventArgs e)
 {
     this.ViewModel.EditorState.LayerMode = e.LayerMode;
 }