????//??Щ?? C#?????· ????? java???????????
using System.Threading; //???????
namespace Test
{
public partial class Form1 : Form
{
public Form1()
{
Form.CheckForIllegalCrossThreadCalls = false;  //??????????????????????????е??????м??
InitializeComponent();
}
Thread t;  //??????????
private void Form1_Load(object sender?? EventArgs e)
{
t = new Thread(new ThreadStart(sendDate));
t.Start();             //??????
}
public void sendDate()    //???????????
{
int num=0;// ???? ???????
if(check())//???????????
{
while (true)      //?????е????
{
for (int i = 0; i < 9; i++)
{
num++;
Thread.Sleep(1000);            //1000????1???????? ?????????????????
//??????д??????????? ?磺
cilent();//????1?? ???1??cilent()????
if(num>9)
{
t.Abort();//???е??????9?????????????????? ???????? ????????????
num=0;
}
}
}
}
}
private void cilent()
{
MessageBox.Show("????????????Σ?");
}
}
}