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