示例#1
0
 private void Button_Cursor_OnCheckChanged(object sender, bool IsChecked)
 {
     Button_Eraser.SetCheckedNoCall(false);
     Button_Draw.SetCheckedNoCall(false);
     Button_Cursor.SetCheckedNoCall(true);
     DesignCanvas.EditingMode = InkCanvasEditingMode.None;
 }
示例#2
0
 public InkCanvas_Control()
 {
     InitializeComponent();
     Button_Draw.SetCheckedNoCall(true);
 }
示例#3
0
 private void Button_Eraser_OnCheckChanged(object sender, bool IsChecked)
 {
     Button_Eraser.SetCheckedNoCall(true);
     Button_Draw.SetCheckedNoCall(false);
     inkCanvas.EditingMode = InkCanvasEditingMode.EraseByPoint;
 }