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;
//计算a1的平方...a2的平方
namespace power2
{
public partial class Form1 : Form
{
private Thread _Thread;
private string str;
delegate void SetTextCallback(string text);
public Form1()
{
InitializeComponent();
}
private void Start_Click(object sender, EventArgs e)
{
_Thread = new Thread(new ThreadStart(Calculate));
_Thread.Start();
}
private void Stop_Click(object sender, EventArgs e)
{
_Thread.A