private void NewUnitRadButton_Click(object sender, EventArgs e) { NewUnitRadForm _form = new NewUnitRadForm(this, StateForm.NEW); if (!isOpenForm(_form)) { _form.ShowDialog(this); } }
private void LookUnitRadButton_Click(object sender, EventArgs e) { if (this._currentRowSelected == null) { RadMessageBox.Show(this, "Debe seleccionar un elemento para realizar esta operación", "JOSIAS INDUSTRIAL", MessageBoxButtons.OK, RadMessageIcon.Info); return; } NewUnitRadForm _form = new NewUnitRadForm(this, StateForm.SEE_MORE); if (!isOpenForm(_form)) { _form.ShowDialog(this); } }