private void editToolStripMenuItem_Click(object sender, EventArgs e) { Note note = (Note)NotesList.SelectedItem; if (note != null) { WriteNote writeWindow = new WriteNote(note, currentUser); writeWindow.ShowDialog(); } }
private void addNoteIcon_Click(object sender, EventArgs e) { WriteNote writewindow = new WriteNote(this.currentUser); writewindow.ShowDialog(); }
private void newNoteToolStripMenuItem_Click(object sender, EventArgs e) { WriteNote writewindow = new WriteNote(this.currentUser); writewindow.ShowDialog(); }