Example #1
0
        private void btnNuevoProducto_Click(object sender, EventArgs e)
        {
            Console.WriteLine("this.IdProducto en click nuevo es  : " + this.IdProducto);
            formNuevoEditarProducto frm = new formNuevoEditarProducto(this.IdProducto, true);

            frm.MdiParent = this.MdiParent;
            frm.Show();
            // this.Close();
        }
Example #2
0
        private void botonEditarListado_Click(object sender, EventArgs e)
        {
            Console.WriteLine("this.IdProducto en click editar es  : " + this.IdProducto);
            formNuevoEditarProducto frm = new formNuevoEditarProducto(this.IdProducto, false);

            frm.MdiParent = this.MdiParent;
            frm.Show();
            Console.WriteLine("Esto se deberia mostrar al cerrar el form de editar");
            // this.Close();
        }