void CellEditorManager_ActivatingControl(object sender, Xceed.Grid.Editors.CellEditorEventArgs e) { //throw new Exception("The method or operation is not implemented."); //gridControl1.get int id = (int)(e.Cell.ParentRow.Cells["ID"].Value); //e.Control.Tag = o; TriggerValue val = mParentTriggerNamespace.GetValues()[id]; VarValueBinder binder = new VarValueBinder(val, val); HighLevelProperty HLProp = TriggerSystemMain.mTriggerDefinitions.GetHLProperty(binder, mParentTriggerNamespace); string bindName; Control c = HLProp.GetEditor(out bindName); Form f = new Form(); f.Controls.Add(c); c.Dock = DockStyle.Fill; f.Location = (new Point(0, 0)); f.Text = binder.GetName(); f.Show(); //e.Cell. = c; //e.Control = c; }
void FunManger_ActivatingControl(object sender, Xceed.Grid.Editors.CellEditorEventArgs e) { //throw new Exception("The method or operation is not implemented."); }