private void btnAddSpd_Click(object sender, EventArgs e) { FrmSPD spd = new FrmSPD(); spd.aksi = "insert"; spd.ShowDialog(); }
private void btnUbah_Click(object sender, EventArgs e) { FrmSPD spd = new FrmSPD(); spd.spd = this.spd; spd.biaya = this.biaya; spd.pengikut = this.pengikut; spd.aksi = "update"; this.Close(); spd.ShowDialog(); }