Esempio n. 1
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            DialogResult Fechar;

            Fechar = MessageBox.Show("Deseja fechar a Matrix?", "Return", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
            if (Fechar.ToString().ToLower() == "yes")
            {
                this.Hide();
                Form1 TelaInicial = new Form1();
                TelaInicial.ShowDialog();
                this.Close();
            }
        }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            DialogResult Fechar;

            Fechar = MessageBox.Show("Deseja cancelar o cadastro?", "Return", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
            if (Fechar.ToString().ToLower() == "yes")
            {
                this.Hide();
                Form4 menu = new Form4();
                menu.ShowDialog();
                this.Close();
            }
        }
Esempio n. 3
0
 private void label1_Click(object sender, EventArgs e)
 {
     wb.Navigate("https://bp.topdesk.net/tas/public/logout");
     Fechar.Start();
 }