Exemple #1
0
 private async void square_Click(object sender, EventArgs e)
 {
     figure = new Square(56);
     await Task.Factory.StartNew(start_thread_parse);
 }
Exemple #2
0
 private async void rhomb_Click(object sender, EventArgs e)
 {
     figure = new Rhomb(10, 180, 50, 50);
     await Task.Factory.StartNew(start_thread_parse);
 }
Exemple #3
0
 private async void circle_Click(object sender, EventArgs e)
 {
     figure = new Circle(2, 80, 56);
     await Task.Factory.StartNew(start_thread_parse);
 }