private static int visitCounter = 0;
visitCounter++; // Increase each time a form is loaded textBox1.Text = visitCounter.ToString("0000000"); // Format the counter
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)