; thread.Abort();
}
}
}
界面
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;
namespace TabSelect
{
public partial class Form2 : Form
{
Point myPoint;
private bool isMouseDown;
private bool isStart = true;
MyThread m;
MyThread m2;
MyThread m3;
public Form2()
{
InitializeComponent();
}
private void label4_Click(object sender, EventArgs e)
{
this.Close();
Application.Exit();
}
private void Form2_MouseDown(object sender, MouseEventArgs e) [Page]
{
if (e.Button == MouseButtons.Left)
{
myPoint = new Point(-e.X,-e.Y);
isMouseDown = true;
}
}
private void Form2_MouseMove(object sender, MouseEventArgs e)
{
if (isMouseDown == true)
{
&n