Esempio n. 1
0
        void ShowDialog(NSObject sender)
        {
            // Load the new window
            var dialog = new CustomDialogController();

            // Display the window modally
            NSApplication.SharedApplication.RunModalForWindow(dialog.Window);
        }
Esempio n. 2
0
		void ShowDialog (NSObject sender) {

			// Load the new window
			var dialog = new CustomDialogController ();

			// Display the window modally
			NSApplication.SharedApplication.RunModalForWindow (dialog.Window);

		}