private void simpleButton1_Click(object sender, EventArgs e) { frmProjeKarti ProjeKarti = new frmProjeKarti(); DB.pkProjeler = 0; ProjeKarti.ShowDialog(); projelistesigetir(); }
private void simpleButton2_Click(object sender, EventArgs e) { if (gridView2.FocusedRowHandle < 0) { return; } DataRow row = gridView2.GetDataRow(gridView2.FocusedRowHandle); DB.pkProjeler = int.Parse(row["pkProjeler"].ToString()); frmProjeKarti ProjeKarti = new frmProjeKarti(); ProjeKarti.ShowDialog(); projelistesigetir(); }