Beispiel #1
0
        private void button_X_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form_HomeScreen frm_hmScreen = new Form_HomeScreen();

            frm_hmScreen.ShowDialog();
        }
Beispiel #2
0
        private void button_Back_Click(object sender, EventArgs e)
        {
            MenubtnClickSound.Play();
            DialogResult check;

            check = MessageBox.Show("Are you sure?", "Back", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
            if (check == DialogResult.Yes)
            {
                this.Close();
                Form_HomeScreen frm_homescreen = new Form_HomeScreen();
                frm_homescreen.ShowDialog();
            }
        }