示例#1
0
 public override void OnClosed(ClosedEventArgs e)
 {
     if (Focused)
     {
         OnHideSoftwareKeyboard();
     }
     base.OnClosed(e);
 }
示例#2
0
        virtual protected void DropListItems_Closed(object sender, ClosedEventArgs e)
        {
            DropDownContainer dropListItems = (DropDownContainer)sender;

            dropListItems.Closed -= DropListItems_Closed;
            IsOpen = false;

            DropDownContainer = null;
        }
示例#3
0
 public override void OnClosed(ClosedEventArgs e)
 {
     allOpenSystemWindows.Remove(this);
     base.OnClosed(e);
     if (Parent != null)
     {
         Parent.Close();
     }
 }
示例#4
0
        public override void OnClosed(ClosedEventArgs e)
        {
            foreach (MenuItem menuItem in MenuItems)
            {
                menuItem.SendToChildren(new MenuItem.MenuClosedMessage());
            }

            base.OnClosed(e);
        }
示例#5
0
        public override void OnClosed(ClosedEventArgs e)
        {
            if (this.TabBarContaningTab != null)
            {
                this.TabBarContaningTab.TabIndexChanged -= TabBarContaningTab_TabIndexChanged;
            }

            base.OnClosed(e);
        }
示例#6
0
 public override void OnClosed(ClosedEventArgs e)
 {
     topLevelWindow.MouseMove -= topLevelWindow_MouseMove;
     foreach (KeyValuePair <GuiWidget, WidgetInList> keyValue in widgetRefList)
     {
         keyValue.Key.PositionChanged -= new EventHandler(updateWidgetInfo);
         keyValue.Key.BoundsChanged   -= new EventHandler(updateWidgetInfo);
     }
     base.OnClosed(e);
 }
示例#7
0
 protected override void DropListItems_Closed(object sender, ClosedEventArgs e)
 {
     BackgroundColor = NormalColor;
     base.DropListItems_Closed(sender, e);
 }
示例#8
0
        public override void OnClosed(ClosedEventArgs e)
        {
            RemoveLinks();

            base.OnClosed(e);
        }
 public override void OnClosed(ClosedEventArgs e)
 {
     WindowsFormsWindow.RequestClose();
 }
示例#10
0
 private void widgetRelativeTo_Closed(object sender, ClosedEventArgs e)
 {
     // If the owning widget closed, so should we
     popupWidget.CloseMenu();
 }
示例#11
0
        public override void OnClosed(ClosedEventArgs e)
        {
            layoutEngine.Closed();

            base.OnClosed(e);
        }
 public override void OnClosed(ClosedEventArgs e)
 {
     RunAnimation = false;
     base.OnClosed(e);
 }
示例#13
0
 public override void OnClosed(ClosedEventArgs e)
 {
     unregisterEvents?.Invoke(this, null);
     base.OnClosed(e);
 }