예제 #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);
 }