public NotesWindowNotesDatasource(NotesWindowController controller) { if (controller == null) { throw new ArgumentNullException("controller"); } MyNotesWindowController = controller; }
private void LoadDashboardWindow() { if (controller == null) { controller = new NotesWindowController(); } controller.Window.MakeKeyAndOrderFront(this); }
partial void OpenDashboard(NSObject sender) { if (controller == null) { controller = new NotesWindowController(); } controller.Window.MakeKeyAndOrderFront(this); }
/// <summary> /// Refreshs the notes window controller. /// Method refreshes the table in Notes Window, to update each time /// some notes are updated, deleted or added. /// </summary> public static void RefreshNotesWindowController() { if (controller == null) { controller = new NotesWindowController(); } controller.UpdateNotesTable(); }
public override void FinishedLaunching(NSObject notification) { //moving from nibFinishedLoading may address a few issues with crashes. BuildDockMenuNotes(); if (controller == null) { controller = new NotesWindowController(); } controller.Window.MakeMainWindow(); }
/// <summary> /// Loads the dashboard window. /// </summary> private void LoadDashboardWindow () { if (controller == null) controller = new NotesWindowController (); controller.Window.MakeKeyAndOrderFront (this); }
/// <summary> /// Opens the dashboard. /// </summary> /// <param name="sender">Sender.</param> partial void OpenDashboard (NSObject sender) { if (controller == null) controller = new NotesWindowController (); controller.Window.MakeKeyAndOrderFront (this); }
/// <summary> /// Refreshs the notes window controller. /// Method refreshes the table in Notes Window, to update each time /// some notes are updated, deleted or added. /// </summary> public static void RefreshNotesWindowController () { if (controller == null) controller = new NotesWindowController(); controller.UpdateNotesTable(); controller.UpdateNotebooksTable(); }
/// <summary> /// It is called when the application has finished launching /// </summary> /// <param name="notification">Notification.</param> public override void FinishedLaunching (NSObject notification) { //moving from nibFinishedLoading may address a few issues with crashes. BuildDockMenuNotes (); if (controller == null) controller = new NotesWindowController(); controller.Window.MakeMainWindow(); }
public NotesWindowNotesDatasource (NotesWindowController controller) { if (controller == null) throw new ArgumentNullException ("controller"); MyNotesWindowController = controller; }