예제 #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();
     }
 }