コード例 #1
0
ファイル: MainWindow.cs プロジェクト: Marthyn/ShareNote
 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
ファイル: MainWindow.cs プロジェクト: Marthyn/ShareNote
 private void addNotebookIcon_Click(object sender, EventArgs e)
 {
     NotebookWindow notebookwindow = new NotebookWindow(currentUser);
     notebookwindow.ShowDialog();
 }
コード例 #3
0
ファイル: MainWindow.cs プロジェクト: Marthyn/ShareNote
 private void newNotebookToolStripMenuItem_Click(object sender, EventArgs e)
 {
     NotebookWindow notebookwindow = new NotebookWindow(currentUser);
     notebookwindow.ShowDialog();
 }