1
Here
drag a timer onto form and set interval to 1
public partial class Form1 : Form
{
int milli = 0;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
milli++;
label1.Text = milli.ToString();
}
}
0
The result is not in milliseconds