Beispiel #1
0
        public static void OpenNote(object sender, EventArgs e)
        {
            var note = (NoteDTO)((ToolStripMenuItem)sender).Tag;
            var win  = new EditNote(new Notes(), note);

            win.ShowDialog();
        }
Beispiel #2
0
        public void NewNote()
        {
            var win = new EditNote(this, new NoteDTO());

            win.ShowDialog();
        }