Пример #1
0
        public frmReg()
        {
            InitializeComponent();

            isClose   = false;
            isSuccess = false;

            string regStr = "";

            if (FileHelper.IsExists(SysInfo.fileName))
            {
                regStr = FileHelper.ReadFile(SysInfo.fileName);
            }
            else
            {
                regStr = "00000000000000000000000000000000";
                FileHelper.writeFile(SysInfo.fileName, regStr);
            }

            this.textBox1.Text = SysInfo.GetRegStr1();
        }