Пример #1
0
        private void consultaPedidoPeloCódigoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ConsultaPedidoById cpbi = new ConsultaPedidoById();

            cpbi.MdiParent = this;
            cpbi.Show();
        }
Пример #2
0
 private void MDIParent1_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F1)
     {
         ConsultaPedidoById cpbi = new ConsultaPedidoById();
         cpbi.MdiParent = this;
         cpbi.Show();
     }
 }