public void doModal( MainWindowController sender)
 {
     NSApp.BeginSheet(this.Window,sender.Window);  //,null,null,IntPtr.Zero);
     NSApp.RunModalForWindow(this.Window);
     // when StopModal is called will continue here ....
     NSApp.EndSheet(this.Window);
     this.Window.OrderOut(this);
 }
Esempio n. 2
0
 public override void FinishedLaunching(NSObject notification)
 {
     mainWindowController = new MainWindowController ();
     mainWindowController.Window.MakeKeyAndOrderFront (this);
 }