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 WindowsFormsApplication1
{
    
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        int a = 0;
        private void button1_Click(object sender, EventArgs e)
        {
            int i = 0;
            timer1.Enabled = true;
            timer1.Interval = 100;
                while (i < 100000)
            {
                i++;
            }
            if (timer1.Enabled == true)
            {
                timer1.Enabled = false;
            }
            
        }        private void timer1_Tick(object sender, EventArgs e)
        {
            label1.Text = Convert.ToString(a++);
        }
    }
}
默认的是false,我在按钮单击事件中加上timer1.enabled = true怎么不管用啊