Exemple #1
0
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            open_ans();
            AnswerScreen ans = new AnswerScreen();

            ans.Show();
        }
Exemple #2
0
        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();
        }