Exemple #1
0
        private void btnRenew_Click(object sender, EventArgs e)
        {
            frmRenew frm = new frmRenew();

            frm.traineeID   = TraineeID;
            frm.logID       = logID;
            frm.traineeName = txtName.Text;
            frm.offerName   = offerName;
            frm.ShowDialog();
            getTrainee();
        }
Exemple #2
0
        private void btnChangeOffer_Click(object sender, EventArgs e)
        {
            frmRenew frm = new frmRenew();

            frm.Text              = "تغيير العرض الحالي";
            frm.txtPaid.Text      = txtPaid.Text;
            frm.txtCarry.Text     = txtCarry.Text;
            frm.logID             = logID;
            frm.traineeID         = TraineeID;
            frm.traineeName       = txtName.Text;
            frm.dtBegin.EditValue = dtBegin.EditValue;
            frm.changeOffer       = true;
            frm.ShowDialog();
        }