Example #1
0
        private void ingresoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ingresoOrdenCompra temp = new ingresoOrdenCompra();

            //temp.WindowState = FormWindowState.Maximized;
            temp.MdiParent = this;
            temp.Show();
        }
Example #2
0
        private void btnNuevo_Click(object sender, EventArgs e)
        {
            ingresoOrdenCompra prdu = new ingresoOrdenCompra();

            prdu.MdiParent           = this.MdiParent;
            prdu.btnEditar.Enabled   = false;
            prdu.btnEliminar.Enabled = false;
            prdu.txtCodigo.ReadOnly  = true;
            this.Hide();
            //prdu.btnEditar.Enabled = false;
            //prdu.btnEliminar.Enabled = false;
            prdu.Show();
        }