private void openToolStripMenuItem_Click(object sender, EventArgs e) { open_ans(); AnswerScreen ans = new AnswerScreen(); ans.Show(); }
private async void send_q_Click(object sender, EventArgs e) { Task <AnswerScreen> task = new Task <AnswerScreen>(on_click); task.Start(); AnswerScreen sc = await task; sc.Show(); }