这里的错误在哪里:
static int count = 0;
string s;
private void SetClock_Click(object sender, EventArgs e)
{
txtSend.Text = s;
count++;
label5.Text = count.ToString("X2");
DateTime time = DateTime.Now;
s = "4D-" + "1A-" + "2B-" + "3C-" +
(label5.Text.ToString());
}
第一次点击我得到一个点击值01,但没有得到txtsend.text ...第二次点击我得到值02但在txtsend.text中我得到4D-1A-2B-3C-01