예제 #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();
        }
예제 #2
0
        public void NewNote()
        {
            var win = new EditNote(this, new NoteDTO());

            win.ShowDialog();
        }