예제 #1
0
 private void mainImage_MouseLeave(object sender, MouseEventArgs e)
 {
     if (Drawing)
     {
         Drawing = false;
         SelectedTool.EndDrawing(GetPoint(e));
         Draw();
     }
     this.Cursor = Cursors.Arrow;
 }
예제 #2
0
 private void mainImage_MouseUp(object sender, MouseButtonEventArgs e)
 {
     Drawing = false;
     SelectedTool.EndDrawing(GetPoint(e));
     Draw();
 }