상속: 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));
 }