namespace my_first_app_dad { public partial class Form1 : Form { public Form1() { InitializeComponent(); timer1.Start(); } private void Timer1_Tick(object sender, EventArgs e) { int number = Int32.Parse(totaltime.Text); number =+ 1; } } }
totaltime.Text
If(Int.tryparse(totaltime.text, out int number)) { int num = number + 1; totaltime.text = $"{num}"; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)