Exemplo n.º 1
0
        public void Read_Parameter()
        {//读取设置参数
            tbBeforeCopy.Text = PS.IniReadValue("图像拷贝前路径", "ImgBeforePath", PS.publicSet.IniPath);
            tbAfterCopy.Text  = PS.IniReadValue("图像拷贝后路径", "ImgAfterPath", PS.publicSet.IniPath);

            PS.publicSet.ImgModel = Convert.ToInt32(PS.IniReadValue("图像模式", "ImgModel", PS.publicSet.IniPath));
            if (PS.publicSet.ImgModel == 0)
            {
                rbSingleImg.Checked   = true;
                rbMultipleImg.Checked = false;
            }
            else
            {
                rbSingleImg.Checked   = false;
                rbMultipleImg.Checked = true;
            }
        }