private void btnAddBoardComputer_Click(object sender, EventArgs e) { try { BoardComputer boardComputer = new BoardComputer(PROF_IT.Common.Enumerations.TypeForm.NewForm); if (boardComputer.ShowDialog() == DialogResult.OK) { FindAll(); } } catch (System.Exception exception1) { System.Exception thisException = exception1; Management.ShowException(thisException); } }
private void gdvBoardComputer_DoubleClick(object sender, EventArgs e) { try { Model.Internal.BoardComputer boardComputer = (Model.Internal.BoardComputer)gdvBoardComputer.GetRow(this.gdvBoardComputer.FocusedRowHandle); if (boardComputer == null) { return; } BoardComputer form = new BoardComputer(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, boardComputer); if (form.ShowDialog() == DialogResult.OK) { FindAll(); } } catch (System.Exception exception1) { System.Exception thisException = exception1; Management.ShowException(thisException); } }
private void gdvBoardComputer_DoubleClick(object sender, EventArgs e) { try { Model.Internal.BoardComputer boardComputer = (Model.Internal.BoardComputer)gdvBoardComputer.GetRow(this.gdvBoardComputer.FocusedRowHandle); if (boardComputer == null) return; BoardComputer form = new BoardComputer(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, boardComputer); if (form.ShowDialog() == DialogResult.OK) { FindAll(); } } catch (System.Exception exception1) { System.Exception thisException = exception1; Management.ShowException(thisException); } }