Example #1
0
        private void btnNewNote_Click(object sender, EventArgs e)
        {
            frmNewNote newNote = new frmNewNote(currentUser, null);

            newNote.ShowDialog();
            FillList();
        }
Example #2
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            if (lstNotes.SelectedIndex < 0)
            {
                MessageBox.Show("Bir not seçin");
                return;
            }

            Guid       noteID = (Guid)lstNotes.SelectedValue;
            frmNewNote frm    = new frmNewNote(currentUser, noteID);

            frm.ShowDialog();
            FillList();
        }