Exemple #1
0
        private void btn_AddBirthday_Click(object sender, EventArgs e)
        {
            f_AddBirthday fb = new f_AddBirthday();

            fb.sqlc = sqlc;
            fb.ShowDialog();
            loadBirthdays();
        }
Exemple #2
0
 private void lv_List_DoubleClick(object sender, EventArgs e)
 {
     if (lv_List.FocusedItem != null)
     {
         f_AddBirthday _fa = new f_AddBirthday();
         _fa.bday = lv_List.FocusedItem.Tag as Birthday;
         _fa.edit = true;
         _fa.sqlc = sqlc;
         _fa.ShowDialog();
         loadBirthdays();
     }
 }