Exemple #1
0
        private void cmbyplx_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            if (this.cmbyplx.SelectedValue.GetType().ToString() != "System.Int32")
            {
                return;
            }
            int yplx = Convert.ToInt32(this.cmbyplx.SelectedValue);

            Yp.AddCmbYpzlx(Convert.ToInt32(Convertor.IsNull(cmbck.SelectedValue, "0")), yplx, this.cmbypzlx, InstanceForm.BDatabase);
            Yp.AddcmbYpjx(yplx, this.cmbypjx, InstanceForm.BDatabase);
        }
Exemple #2
0
 private void cmbypzlx_DropDown(object sender, System.EventArgs e)
 {
     Yp.AddCmbYpzlx(InstanceForm.BCurrentDept.DeptId, Convert.ToInt32(Convertor.IsNull(cmbyplx.SelectedValue, "0")), this.cmbypzlx, InstanceForm.BDatabase);
     Yp.AddcmbYpjx(Convert.ToInt32(Convertor.IsNull(cmbyplx.SelectedValue, "0")), this.cmbjx, InstanceForm.BDatabase);
 }