Esempio n. 1
0
        private void buttonAddNote_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddNote ss = new AddNote(this.userId);

            ss.Show();
        }
Esempio n. 2
0
 private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         DataGridViewRow row    = this.dataGridViewNotes.Rows[e.RowIndex];
         String          noteId = row.Cells["id"].Value.ToString();
         this.Hide();
         AddNote ss = new AddNote(userId, noteId);
         ss.Show();
     }
 }