private void btnProcesarCompra_Click(object sender, EventArgs e)
        {
            ///////////////////////////////// prueba validacion orden
            if (string.IsNullOrEmpty(txttotalsinimp.Text))
            {
                MessageBox.Show("Debe Selecionar una Orden");

                return;
            }

            //////////////////////

            if (orderToModify != null)
            {
                modifyOrder();
            }
            else
            {
                createCompra();
            }

            this.Close();
            RDCompras form = new RDCompras();

            form.MdiParent = metaGamesInventory.home.ActiveForm;
            form.Text      = "Compras Registradas";
            form.Show();
        }
Example #2
0
        private void comprasRegistradasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RDCompras childForm = new RDCompras();

            childForm.MdiParent = this;
            childForm.Text      = "Compras registradas";
            childForm.Show();
        }