private void personeller(object sender, DataGridViewCellMouseEventArgs e) { Degiskenler.Admin.kullanici = false; int id = Convert.ToInt32(dataGridView4[0, e.RowIndex].Value.ToString()); db.secilenPersonel(id); KullaniciDetay kullanici = new KullaniciDetay(); kullanici.ShowDialog(); }
private void secilen_personel(object sender, DataGridViewCellMouseEventArgs e) { try { int id = Convert.ToInt32(dataGridView5[0, e.RowIndex].Value.ToString()); db.secilenPersonel(id); KullaniciDetay kullanici = new KullaniciDetay(); kullanici.ShowDialog(); } catch (Exception) { } }