Пример #1
0
        private void btnAddSpd_Click(object sender, EventArgs e)
        {
            FrmSPD spd = new FrmSPD();

            spd.aksi = "insert";
            spd.ShowDialog();
        }
Пример #2
0
        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();
        }