Beispiel #1
0
        private void btn_search_Click(object sender, EventArgs e)
        {
            txtbx_search.Clear();
            txtbx_search.Text = "Course Search...";

            Form2 popup = new Form2();

            DialogResult dialogresult = popup.ShowDialog();

            if (dialogresult == DialogResult.OK)
            {
                Console.WriteLine("You clicked OK");
            }
            popup.Dispose();
        }