Beispiel #1
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            Frm_Dictionary_Add frm = new Frm_Dictionary_Add(key, null);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                LoadDataListInstince(key);
            }
        }
Beispiel #2
0
 private void btn_Modify_Click(object sender, EventArgs e)
 {
     if (dgv_DataList.SelectedRows.Count == 1)
     {
         object             id  = dgv_DataList.CurrentRow.Cells["id"].Tag;
         Frm_Dictionary_Add frm = new Frm_Dictionary_Add(key, id);
         if (frm.ShowDialog() == DialogResult.OK)
         {
             LoadDataListInstince(key);
         }
     }
 }