示例#1
0
 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();
     }
 }
示例#2
0
 private void addNotebookIcon_Click(object sender, EventArgs e)
 {
     NotebookWindow notebookwindow = new NotebookWindow(currentUser);
     notebookwindow.ShowDialog();
 }
示例#3
0
 private void newNotebookToolStripMenuItem_Click(object sender, EventArgs e)
 {
     NotebookWindow notebookwindow = new NotebookWindow(currentUser);
     notebookwindow.ShowDialog();
 }