Exemple #1
0
 /// <summary>
 /// 单据类型选择事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ComBorder_type_name_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         if (string.IsNullOrEmpty(Comborder_type_name.SelectedValue.ToString()))
         {
             CommonFuncCall.BindInStockBillingType(Combbilling_type_name, true, "请选择");
         }
         else if (Comborder_type_name.Text.ToString() == InBill)//入库单选择
         {
             CommonFuncCall.BindInStockBillingType(Combbilling_type_name, true, "请选择");
         }
         else if (Comborder_type_name.Text.ToString() == OutBill)//出库单选择
         {
             CommonFuncCall.BindOutStockBillingType(Combbilling_type_name, true, "请选择");
         }
     }
     catch (Exception ex)
     {
         MessageBoxEx.Show(ex.Message, "异常提示", MessageBoxButtons.OK, MessageBoxIcon.Question);
     }
 }