Esempio n. 1
0
 partial void MenuPreferencesItem_Click(NSObject sender)
 {
     try
     {
         SettingsDialog = new SettingsWindowController();
         SettingsDialog.LoadWindow();
         SettingsDialog.Window.WillClose += SettingsDialog_WillClose;
         NSApplication.SharedApplication.RunModalForWindow(SettingsDialog.Window);
     }
     catch (Exception ex) { Error.Report("MenuPreferencesItem_Click", ex); }
 }
Esempio n. 2
0
 public CocoaSettingsUI(SettingsWindowController Dlg)
     : base(new CocoaMessageBox(), new CocoaFileDialog())
 {
     this.Dlg = Dlg;
 }
Esempio n. 3
0
partial         void MenuPreferencesItem_Click(NSObject sender)
        {
            try
            {
                SettingsDialog = new SettingsWindowController();
                SettingsDialog.LoadWindow();
                SettingsDialog.Window.WillClose += SettingsDialog_WillClose;
                NSApplication.SharedApplication.RunModalForWindow(SettingsDialog.Window);
            }
            catch(Exception ex) { Error.Report("MenuPreferencesItem_Click", ex); }
        }