public override void DidChange(MonoMac.Foundation.NSNotification notification)
 {
     base.DidChange(notification);
     context.InvokeUserCode(delegate {
         eventSink.OnChanged();
     });
 }
Ejemplo n.º 2
0
            public override void DidResizeSubviews(MonoMac.Foundation.NSNotification notification)
            {
                var subview = Handler.Control.Subviews[0];

                if (subview != null && Handler.position != null && Handler.Widget.Loaded && Handler.Widget.ParentWindow != null && Handler.Widget.ParentWindow.Loaded)
                {
                    Handler.position = Handler.Control.IsVertical ? (int)subview.Frame.Width : (int)subview.Frame.Height;
                    Handler.Widget.OnPositionChanged(EventArgs.Empty);
                }
            }
Ejemplo n.º 3
0
 public override void DidFinishLaunching(MonoMac.Foundation.NSNotification notification)
 {
     wizard = new AppleDocWizardController();
     NSApplication.SharedApplication.ActivateIgnoringOtherApps(true);
     wizard.Window.MakeMainWindow();
     wizard.Window.MakeKeyWindow();
     wizard.Window.MakeKeyAndOrderFront(this);
     wizard.Window.Center();
     wizard.VerifyFreshnessAndLaunchDocProcess();
     NSApplication.SharedApplication.RunModalForWindow(wizard.Window);
 }
Ejemplo n.º 4
0
            public override void DidResizeSubviews(MonoMac.Foundation.NSNotification notification)
            {
                var subview = Handler.Control.Subviews [0];

                if (subview != null && Handler.Widget.Loaded)
                {
                    if (Handler.Control.IsVertical)
                    {
                        Handler.position = (int)subview.Frame.Width;
                    }
                    else
                    {
                        Handler.position = (int)subview.Frame.Height;
                    }
                }
            }
Ejemplo n.º 5
0
            public override void DidResizeSubviews(MonoMac.Foundation.NSNotification notification)
            {
                var subview = Handler.Control.Subviews[0];

                if (subview != null && Handler.Widget.Loaded)
                {
                    if (Handler.Control.IsVertical)
                    {
                        Handler.position = (int)subview.Frame.Width;
                    }
                    else
                    {
                        Handler.position = (int)subview.Frame.Height;
                    }
                }
                if (Handler.raiseSplitterMoved)
                {
                    Handler.Widget.OnPositionChanged(EventArgs.Empty);
                }
            }
 public override void SelectionDidChange(MonoMac.Foundation.NSNotification notification)
 {
     m_main.EnableIde();
 }
Ejemplo n.º 7
0
 public override void DidResizeSubviews(MonoMac.Foundation.NSNotification notification)
 {
     PanedBackend.DidResizeSubviews();
 }
Ejemplo n.º 8
0
 public override void DidChange(MonoMac.Foundation.NSNotification notification)
 {
     base.DidChange(notification);
     eventSink.OnChanged();
 }
Ejemplo n.º 9
0
 public override void DidMiniaturize(MonoMac.Foundation.NSNotification notification)
 {
     m_main.EnabledUI();
 }
Ejemplo n.º 10
0
 public override void DidRemoveItem(MonoMac.Foundation.NSNotification notification)
 {
 }
Ejemplo n.º 11
0
 public override void WillAddItem(MonoMac.Foundation.NSNotification notification)
 {
 }
Ejemplo n.º 12
0
 public override void SelectionDidChange(MonoMac.Foundation.NSNotification notification)
 {
     SelectionChange();
 }
Ejemplo n.º 13
0
 public override void WillTerminate(MonoMac.Foundation.NSNotification notification)
 {
     OnMainFormClosed(notification.Object, new EventArgs());
     //base.WillTerminate (notification);
 }
Ejemplo n.º 14
0
 public override void EditingEnded(MonoMac.Foundation.NSNotification notification)
 {
     var x = 1;
 }
Ejemplo n.º 15
0
 public override void Changed(MonoMac.Foundation.NSNotification notification)
 {
     var x = 1;
 }