Beispiel #1
0
        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;
        }