Exemple #1
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Hide();
            FStart f = new FStart();

            f.Show();
        }
Exemple #2
0
        private void Panel4_Click(object sender, EventArgs e)
        {
            DialogResult result = MessageBox.Show("voulez vous déconnecter", "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);

            if (result == DialogResult.Yes)
            {
                this.Hide();
                FStart f = new FStart();
                f.Show();
            }
            else if (result == DialogResult.No)
            {
            }
        }