Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private async void checkClicked(object sender, EventArgs e)
- {
- if (tasks[0].GetRobTarget().ToString() != null)
- {
- while (checkBox1.Checked)
- {
- await System.Threading.Tasks.Task.Delay(100);
- textBox1.Text = tasks[0].GetRobTarget().ToString();
- }
- }
- else
- {
- textBox1.Text = "Position will be here!";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement