Inheritance: AppKit.NSWindowController
 public override void FinishedLaunching(NSObject notification)
 {
     mainWindowController = new MainWindowController ();
     mainWindowController.Window.MakeKeyAndOrderFront (this);
     mainWindowController.Window.ContentView.AddSubview(new DrawingView(mainWindowController.Window.ContentView.Bounds));
 }
Esempio n. 2
0
 public override void DidFinishLaunching(NSNotification notification)
 {
     mainWindowController = new MainWindowController();
     mainWindowController.Window.MakeKeyAndOrderFront(this);
     mainWindowController.Window.ContentView.AddSubview(new DrawingView(mainWindowController.Window.ContentView.Bounds));
 }