예제 #1
0
 // Action method binded in MainMenu.xib to "Preferences..." menu item.
 partial void ShowPreferencesWindow(NSObject sender)
 {
     if (preferencesWindowController == null)
     {
         preferencesWindowController = new PreferencesWindowController();
     }
     preferencesWindowController.ShowWindow(this);
 }
예제 #2
0
		// Action method binded in MainMenu.xib to "Preferences..." menu item.
		partial void ShowPreferencesWindow (NSObject sender)
		{
			if (preferencesWindowController == null)
				preferencesWindowController = new PreferencesWindowController ();
			preferencesWindowController.ShowWindow (this);
		}