Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public MainWindow()
- {
- InitializeComponent();
- new Thread(() => T()).Start();
- }
- public void T()
- {
- while (true)
- {
- t.Text = (Convert.ToInt32(t.Text) + 1).ToString();
- Thread.Sleep(1000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement