private void FrmWelcome_Load_1(object sender, EventArgs e) { //进度条初始值 pgBarInit.Value = 0; pgBarInit.Minimum = 0; //加载系统数据 DALCommon.GetAllInfoList(); string strImgWelcome = ""; strImgWelcome = CommonFunction.GetSysImg("1"); picBoxLogo.Image = File.Exists(strImgWelcome) ? Image.FromFile(strImgWelcome) : null; timerPgBarInit.Enabled = false; timerPgBarInit.Enabled = true; }