コード例 #1
0
ファイル: Frmjxcqkb.cs プロジェクト: Wooyme/HIS-1
 private void cmbyear_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     if (Convert.ToInt32(cmbck.SelectedValue) > 0)
     {
         Yp.AddcmbMonth(Convert.ToInt32(cmbck.SelectedValue), Convert.ToInt32(this.cmbyear.Text), cmbyear, cmbmonth, InstanceForm.BDatabase);
     }
     else
     {
         Yp.AddcmbMonth(Convert.ToInt32(cmbyjks.SelectedValue), Convert.ToInt32(this.cmbyear.Text), cmbyear, cmbmonth, InstanceForm.BDatabase);
     }
 }
コード例 #2
0
 private void cmbyear_SelectedValueChanged(object sender, EventArgs e)
 {
     Yp.AddcmbMonth(Convert.ToInt32(cmbyjks.SelectedValue), Convert.ToInt32(this.cmbyear.Text), cmbyear, cmbmonth, InstanceForm.BDatabase);
 }
コード例 #3
0
 private void cmbyear_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     Yp.AddcmbMonth(InstanceForm.BCurrentDept.DeptId, Convert.ToInt32(this.cmbyear.Text), cmbyear, cmbmonth, InstanceForm.BDatabase);
 }