42 lines
964 B
C#
42 lines
964 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace dccdc.Selfhelp
|
|
{
|
|
public partial class frm_cydd1 : Form
|
|
{
|
|
public frm_cydd1()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void frm_cydd1_MouseMove(object sender, MouseEventArgs e)
|
|
{
|
|
Rectangle rect = new Rectangle(30, 30, 170, 56);
|
|
if (rect.Contains(e.Location))
|
|
{
|
|
Cursor = Cursors.Hand;
|
|
}
|
|
else
|
|
{
|
|
Cursor = Cursors.Default;
|
|
}
|
|
}
|
|
|
|
private void frm_cydd1_MouseClick(object sender, MouseEventArgs e)
|
|
{
|
|
Rectangle rect = new Rectangle(30, 30, 170, 56);
|
|
if (rect.Contains(e.Location))
|
|
{
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|
|
}
|