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); } }
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"); }