Ejemplo n.º 1
0
        void AdvancedEventEdit()
        {
            nint index = TableAdvancedEvents.SelectedRow;

            WindowPreferencesEventController.Item = TableAdvancedEventsController.Items[(int)index];
            WindowPreferencesEventController dlg = new WindowPreferencesEventController();

            dlg.Window.ReleasedWhenClosed = true;

            NSApplication.SharedApplication.RunModalForWindow(dlg.Window);
            dlg.Window.Close();

            TableAdvancedEventsController.RefreshUI();
            this.EnableIde();
        }
        void AdvancedEventEdit()
        {
            int index = TableAdvancedEvents.SelectedRow;

            WindowPreferencesEventController.Item = TableAdvancedEventsController.Items [index];
            WindowPreferencesEventController dlg = new WindowPreferencesEventController ();
            dlg.Window.ReleasedWhenClosed = true;

            NSApplication.SharedApplication.RunModalForWindow (dlg.Window);
            dlg.Window.Close ();

            TableAdvancedEventsController.RefreshUI ();
            this.EnableIde ();
        }