private void simpleButton1_Click(object sender, EventArgs e) { frmbankalar bankalar = new frmbankalar(0); bankalar.ShowDialog(); bankalarigetir(); }
private void simpleButton2_Click(object sender, EventArgs e) { if (gridView1.FocusedRowHandle < 0) { return; } DataRow dr = gridView1.GetDataRow(gridView1.FocusedRowHandle); int _banka_id = int.Parse(dr["pkBankalar"].ToString()); frmbankalar bankalar = new frmbankalar(_banka_id); bankalar.ShowDialog(); bankalarigetir(); }