コード例 #1
0
 protected override void OnMouseEnter(EventArgs e)
 {
     if (((base.ParentInternal != null) && base.ParentInternal.MenuAutoExpand) && this.Selected)
     {
         MenuTimer.Cancel(this);
         MenuTimer.Start(this);
     }
     base.OnMouseEnter(e);
 }
コード例 #2
0
 protected override void OnDropDownShow(EventArgs e)
 {
     MenuTimer.Cancel(this);
     if (base.ParentInternal != null)
     {
         base.ParentInternal.MenuAutoExpand = true;
     }
     base.OnDropDownShow(e);
 }
コード例 #3
0
 protected override void OnMouseLeave(EventArgs e)
 {
     MenuTimer.Cancel(this);
     base.OnMouseLeave(e);
 }
コード例 #4
0
 protected override void OnMouseDown(MouseEventArgs e)
 {
     MenuTimer.Cancel(this);
     this.OnMouseButtonStateChange(e, true);
 }
コード例 #5
0
 protected override void OnDropDownHide(EventArgs e)
 {
     MenuTimer.Cancel(this);
     base.OnDropDownHide(e);
 }