Exemple #1
0
 /// <summary>
 /// 控件获取焦点时候激发
 /// </summary>
 public void OnLostEnterEditer(object sender, EditArgs args)
 {
     if (this.LostEnterEditer != null)
     {
         this.LostEnterEditer(sender, args);
     }
 }
Exemple #2
0
 /// <summary>
 /// 控件获取焦点时候激发
 /// </summary>
 public void OnBeforeEnterEditer(object sender, EditArgs args)
 {
     if (this.BeforeEnterEditer != null)
     {
         this.BeforeEnterEditer(sender, args);
     }
 }
Exemple #3
0
        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);
        }