Ejemplo n.º 1
0
 private void CheckExistListSave()
 {
     StaticSaveOptions.CreatFolderIfNotExist();
     StaticSaveOptions.CreatFileSaveIfNotExist();
     teListWithBalance.Text  = StaticSaveOptions.withBalanceFile;
     teListEmptyBalance.Text = StaticSaveOptions.emptyBalanceFile;
     teListErrorKeys.Text    = StaticSaveOptions.errorKeysFile;
 }
Ejemplo n.º 2
0
        public void LoadDefaultSettings()
        {
            StaticSaveOptions.CreatFolderIfNotExist();
            StaticSaveOptions.CreatFileSaveIfNotExist();
            var sshFiles = StaticSsh.LoadFileSshFromFolder();

            leProxy.Properties.DataSource = sshFiles;
            leProxy.EditValue             = sshFiles[0];
            var countListSshFromFile = StaticSsh.LoadListSshFromFile(leProxy.EditValue.ToString()).Count;

            teProxyCount.Text = countListSshFromFile.ToString();
        }