void LogsClicked(ButtonCellClickEventArgs e) { Tree tree = this._BS_trees[e.RowNumber] as Tree; if (tree == null) { return; } ShowLogs(tree); }
protected void LogsClicked(ButtonCellClickEventArgs e) { Tree tree; try { tree = this.ViewLogicController.CurrentTree; } catch { return; } if (tree == null) { return; } ShowLogs(tree); }
void buttonCol_Click(ButtonCellClickEventArgs e) { label1.Text = e.RowNumber.ToString(); }