Exemplo n.º 1
0
        private void btnEditar_Click(object sender, EventArgs e)
        {
            string ID_articulo = dataGridView2.CurrentRow.Cells[0].Value.ToString();

            if (MessageBox.Show("Desea editar el producto ", "MURK - Editar Producto", MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                FormArticulos FA = new FormArticulos();
                FA.lbID.Text       = ID_articulo;
                FA.tituloForm.Text = "Editar Articulo";
                FA.ShowDialog();
            }
        }
Exemplo n.º 2
0
        private void btnNuevo_Click(object sender, EventArgs e)
        {
            FormArticulos FA = new FormArticulos();

            FA.ShowDialog();
        }