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));
 }
示例#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));
 }