Наследование: 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 FinishedLaunching(NSObject notification)
 {
     mainWindowController = new MainWindowController();
     mainWindowController.Window.MakeKeyAndOrderFront(this);
     mainWindowController.Window.ContentView.AddSubview(new DrawingView(mainWindowController.Window.ContentView.Bounds));
 }