public static string GetDescription() { string result = "样本列表"; switch (GlobalConfigVars.GetDbType(GlobalConfigVars.DbType)) { case SupportedDbType.AggRAM: result = "病案号(曲线序号)"; break; case SupportedDbType.Platinum: result = "Lis标识(测试类型)"; break; case SupportedDbType.QS2000: result = "病案号(扫描序号 - 样本序号)"; break; case SupportedDbType.Spife4000: result = "样本列表(胶片号 序号 : 样本号)"; break; default: break; } return(result); }
private void SettingForm_Load(object sender, EventArgs e) { // 初始化数据库选项 this.DbType = GlobalConfigVars.GetDbType(Properties.Settings.Default.DbType); tbDbFolder.Text = Properties.Settings.Default.DbPath; tbExportPath.Text = Properties.Settings.Default.XmlPath; numBC0.Value = Properties.Settings.Default.Blp0; numBC1.Value = Properties.Settings.Default.Blp1; numBC2.Value = Properties.Settings.Default.Blp2; numBC3.Value = Properties.Settings.Default.Blp3; numBC4.Value = Properties.Settings.Default.Blp4; numBC5.Value = Properties.Settings.Default.Blp5; }