public void LoginAction (object sender, EventArgs e)
 {
     NSButton senderButton = sender as NSButton;
     if (!string.IsNullOrEmpty (senderButton.Title)) {
         this.Close ();
         MainWindowController mainWindowController = new MainWindowController (senderButton.Title);
         mainWindowController.Window.MakeKeyAndOrderFront (this);
     }
 }
예제 #2
0
 public OutlineDelegate(MainWindowController ob)
 {
     this.ob       = ob;
     directoryIcon = NSImage.ImageNamed("directoryObject.png");
     worldIcon     = NSImage.ImageNamed("home.png");
 }
 public OutlineDelegate (MainWindowController ob)
 {
     this.ob = ob;
     directoryIcon = NSImage.ImageNamed ("directoryObject.png");
     worldIcon = NSImage.ImageNamed ("home.png");
 }