示例#1
0
        private void nuevaCompraToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CUComprascs childForm = new CUComprascs();

            childForm.MdiParent = this;
            childForm.Text      = "Nueva Compra";
            childForm.Show();
        }
示例#2
0
        private void btn_Nueva_Compra_Click(object sender, EventArgs e)
        {
            this.Close();
            CUComprascs form = new CUComprascs();

            form.MdiParent = metaGamesInventory.home.ActiveForm;
            form.Text      = "Nueva Compra";
            form.Show();
        }
示例#3
0
        private void btn_modificar_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(txtEmpleado.Text))
            {
                MessageBox.Show("Debe Selecionar una Compra");

                return;
            }

            this.Close();
            CUComprascs form = new CUComprascs(compraSelected, orderProducts);

            form.MdiParent = metaGamesInventory.home.ActiveForm;
            form.Text      = "Modificación de venta";
            form.Show();

            //---------PRUEBA ANTES DE ENTREGAR---------------------------------------------------------------------------------------------------------------------------------------------
            //refreshDGV();
            //fillTextBox();
            //---------------------------------------------------------------------------------
        }