// ////Akhir Tombol Cari // // ////Tombol Total // private void radButtonTotal_Click(object sender, EventArgs e) { if (tombol == "total") { AmbilTabungan ambil = new AmbilTabungan(); ambil.idTU = idTU; ambil.nis = id; ambil.saldo = saldo; ambil.ShowDialog(); BindDataTotalTabungan(); } else { FormTotal total = new FormTotal(); total.button = tombol; total.nis = id; total.ShowDialog(); } }
private void radButtonOk_Click(object sender, EventArgs e) { AmbilTabungan tabungan = new AmbilTabungan(); tabungan.nis = nis; tabungan.ShowDialog(); this.Close(); }