예제 #1
0
 private void Window4_MouseDown(object sender, MouseClickPositionEventArgs e)
 {
     if (e.Button == MouseButton.Left)
     {
         this._DoDraw     = true;
         this._StartPoint = e.Point;
     }
 }
예제 #2
0
 private void Window4_MouseUp(object sender, MouseClickPositionEventArgs e)
 {
     if (e.Button == MouseButton.Left)
     {
         this._EndPoint = e.Point;
         this._DoDraw   = false;
     }
 }