Ejemplo n.º 1
0
 private void LoadFtpInfo()
 {
     try {
         T_Sysset.GetFtpset();
         txtFtpIP.Text          = T_ConFigure.FtpIP;
         txtFtpPort.Text        = T_ConFigure.FtpPort.ToString();
         txtFtpUser.Text        = T_ConFigure.FtpUser;
         txtFtpPwd.Text         = T_ConFigure.FtpPwd;
         txtFtpArchScan.Text    = T_ConFigure.FtpArchScan;
         txtFtpArchIndex.Text   = T_ConFigure.FtpArchIndex;
         txtFtpArchSave.Text    = T_ConFigure.FtpArchSave;
         txtFtpArchUpdate.Text  = T_ConFigure.FtpArchUpdate;
         txtFtpArchScanTmp.Text = T_ConFigure.FtpTmp;
         txtFwqYsPath.Text      = T_ConFigure.FtpTmpPath;
         chkFtpSever.Checked    = Convert.ToBoolean(T_ConFigure.FtpBakimgFwq);
         chkFtpBd.Checked       = Convert.ToBoolean(T_ConFigure.FtpBakimgBd);
         chkFtpStyle.Checked    = Convert.ToBoolean(T_ConFigure.FtpStyle);
         txtFwqPath.Text        = T_ConFigure.FtpFwqPath;
     } catch (Exception ex) {
         MessageBox.Show("FTP信息获取失败!" + ex.ToString());
     }
 }