110,535
社区成员
发帖
与我相关
我的任务
分享
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace oop
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
this.textBox1.Text = "D";
this.timer1.Enabled = false;
this.timer2.Start();
}
private void timer2_Tick(object sender, EventArgs e)
{
this.textBox1.Text = "E";
this.timer2.Enabled = false;
this.timer1.Start();
}
}
}