示例#1
0
 private void cb_Product_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cb_Product.SelectedText != "")
     {
         GlobalVar.gl_str_product = cb_Product.SelectedText;
         myFunction.WriteIniString(INIFileValue.gl_inisection_UpdateSql, INIFileValue.gl_iniKey_SqlName, GlobalVar.gl_str_product);//上传数据库名称
         myFunction myf = new myFunction();
         myf.ReadMapping();
     }
 }
示例#2
0
 /// <summary>
 /// 读取配置文件
 /// </summary>
 private void ReadIni()
 {
     myfunction.ReadSANTECIni("SANTEC.ini");
     myfunction.ReadSheet();
     myfunction.ReadProductIni();
     if (GlobalVar.gl_UpSql)
     {
         myfunction.ReadMapping();
     }
 }