private void btn_edit_Click(object sender, EventArgs e) { FormEdit_Keluarga edituser = new FormEdit_Keluarga(data[ListIndex]); edituser.ShowDialog(); LoadListView(); }
private void list_anak_MouseDoubleClick(object sender, MouseEventArgs e) { ListViewHitTestInfo info = list_anak.HitTest(e.X, e.Y); var row = info.Item.Index; FormEdit_Keluarga edituser = new FormEdit_Keluarga(data[row]); edituser.ShowDialog(); LoadListView(); }