private void notebookList_DoubleClick(object sender, EventArgs e) { Notebook notebook = (Notebook)notebooklist.SelectedItem; if (notebook != null || notebook.getId() != 0) { NotebookWindow notebookwindow = new NotebookWindow(notebook, currentUser); notebookwindow.ShowDialog(); } }
private void addNotebookIcon_Click(object sender, EventArgs e) { NotebookWindow notebookwindow = new NotebookWindow(currentUser); notebookwindow.ShowDialog(); }
private void newNotebookToolStripMenuItem_Click(object sender, EventArgs e) { NotebookWindow notebookwindow = new NotebookWindow(currentUser); notebookwindow.ShowDialog(); }