Exemple #1
0
 private void WndClose_MouseEnter(object sender, EventArgs e)
 {
     Cursor = Cursors.Hand;
     using (Graphics GFX = WndClose.CreateGraphics()) {
         ControlPaint.DrawBorder3D(GFX, WndClose.DisplayRectangle);
     }
 }
Exemple #2
0
 private void WndClose_MouseLeave(object sender, EventArgs e)
 {
     Cursor = Cursors.Default;
     WndClose.Invalidate();
 }