private void button1_Click(object sender, EventArgs e) { //String exc = ""; //if (WSConnector.Instance.validaLaSession(out exc)) //{ frmAddProductor myform = new frmAddProductor(); myform.ShowDialog(); //} //else //{ // MessageBox.Show(exc, "ERROR!!"); // Login fr = new Login(1); // fr.ShowDialog(); //} }
private void btnModificar_Click(object sender, EventArgs e) { frmAddProductor myform = new frmAddProductor(this.dgvProductores.SelectedRows[0].Cells["ID"].Value.ToString()); Principal.OpenFormInDock(myform); }
private void btnAgregar_Click(object sender, EventArgs e) { frmAddProductor myform = new frmAddProductor(); Principal.OpenFormInDock(myform); }
private void button1_Click(object sender, EventArgs e) { frmAddProductor fr = new frmAddProductor(); Principal.OpenFormInDock(fr); }
private void agregarProductorToolStripMenuItem_Click(object sender, EventArgs e) { frmAddProductor dlg = new frmAddProductor(); dlg.Show(this._dockPanel, DockState.Document); }