Exemplo n.º 1
0
 private void históricoDeMudançasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     changelog c = new changelog();
     c.ShowDialog();
 }
Exemplo n.º 2
0
        protected override void OnKeyDown(KeyEventArgs e)
        {
            base.OnKeyDown(e);
            if (e.KeyCode == Keys.Escape)
            {
                sair();
            }
            if (e.KeyCode == Keys.Enter)
            {
                btnAddPC.PerformClick();
            }
            if (e.KeyCode == Keys.Delete)
            {
                removePc();
            }
            /* Utilitários */
            if (e.KeyCode == Keys.F9)
            {
                changelog c = new changelog();
                c.ShowDialog();
            }
            if (e.Shift && e.Control && e.Alt && e.KeyCode == Keys.F12)
            {
                MessageBox.Show(
                    "Caso ainda não tenham te comunicado, você é um abestado!",
                    "NOTIFICAÇÃO DE ABESTAMENTO",
                    MessageBoxButtons.OK,
                    MessageBoxIcon.Information);

                a1();

            }
        }