public static void Load() { AppFolderName = Ext.GetConfigString("AppFolderName"); AppExeName = Ext.GetConfigString("AppExeName"); UpdateUrl = Ext.GetConfigString("UpdateUrl"); UpdaterUrl = Ext.GetConfigString("UpdaterUrl"); Proxy = Ext.GetConfigBool("UseCurrentProxy"); ProxyUrl = Ext.GetConfigString("ProxyUrl"); ProxyUserName = Ext.GetConfigString("ProxyUserName"); ProxyPassword = Ext.GetConfigString("ProxyPassword"); }
private void FormMain_Load(object sender, EventArgs e) { txtDirectoryUpdate.Text = Ext.GetConfigString("DirectoryUpdate"); numDirectoryLevel.Value = Ext.GetConfigInt32("DirectoryLevel"); txtDirectoryDestination.Text = Ext.GetConfigString("DirectoryDestination"); if (txtDirectoryUpdate.Text.Trim().Length > 0 && Directory.Exists(txtDirectoryUpdate.Text)) { FillFiles(); } cmbAppExeName.Text = Ext.GetConfigString("AppExeName"); if (!string.IsNullOrWhiteSpace(Ext.GetConfigString("AppName"))) { txtApplicationName.Text = Ext.GetConfigString("AppName"); //This must be under cmbAppExeName.Text = ConfigurationManager.AppSettings["AppExeName"]; } txtCompressFolderName.Text = Ext.GetConfigString("CompressFolderName"); if (!string.IsNullOrWhiteSpace(Ext.GetConfigString("Compress"))) { cmbCompress.Text = Ext.GetConfigString("Compress"); } chkDeleteBin.Checked = Ext.GetConfigBool("DeleteBin"); IsChanged = false; }