void buttonCol_Click(ButtonCellClickEventArgs e) { label1.Text = e.RowNumber.ToString(); }
protected void LogsClicked(ButtonCellClickEventArgs e) { TreeVM tree; try { tree = this.ViewLogicController.CurrentTree; } catch { return; } if (tree == null) { return; } DataEntryController.ShowLogs(tree); }
void LogsClicked(ButtonCellClickEventArgs e) { TreeVM tree = this._BS_trees[e.RowNumber] as TreeVM; if (tree == null) { return; } this.DataEntryController.ShowLogs(tree); }
private void btnClick(ButtonCellClickEventArgs e) { string cn = GetPointCN(e.RowNumber); _LastPoint = null; _LastString = null; if (cn != null) { TtPoint oPoint = TtUtils.GetConversion(_Points[cn], _Meta[_Points[cn].MetaDefCN]); GridPoints[GridPoints.IndexOf(GridPoints.Where(p => p.CN == cn).Single<PointInfo>())] = new PointInfo(oPoint); _PointEdited[cn] = false; edg.Refresh(); _LastPoint = cn; } }