/// <summary> /// 控件获取焦点时候激发 /// </summary> public void OnLostEnterEditer(object sender, EditArgs args) { if (this.LostEnterEditer != null) { this.LostEnterEditer(sender, args); } }
/// <summary> /// 控件获取焦点时候激发 /// </summary> public void OnBeforeEnterEditer(object sender, EditArgs args) { if (this.BeforeEnterEditer != null) { this.BeforeEnterEditer(sender, args); } }
protected override void OnActiveEditor_GotFocus(object sender, EventArgs e) { base.OnActiveEditor_GotFocus(sender, e); EditArgs args = new EditArgs(); args.Column = this.FocusedColumn; this.OnBeforeEnterEditer(sender, args); }