コード例 #1
0
 void buttonCol_Click(ButtonCellClickEventArgs e)
 {
     label1.Text = e.RowNumber.ToString();
 }
コード例 #2
0
        protected void LogsClicked(ButtonCellClickEventArgs e)
        {
            TreeVM tree;

            try
            {
                tree = this.ViewLogicController.CurrentTree;
            }
            catch { return; }
            if (tree == null) { return; }

            DataEntryController.ShowLogs(tree);
        }
コード例 #3
0
 void LogsClicked(ButtonCellClickEventArgs e)
 {
     TreeVM tree = this._BS_trees[e.RowNumber] as TreeVM;
     if (tree == null) { return; }
     this.DataEntryController.ShowLogs(tree);
 }
コード例 #4
0
        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;
            }
        }