public Form1() { InitializeComponent(); configuration = new config.ConfigurationManager().readConfiguration(); textBoxFolderCrypt.Text = configuration.folderPathCipher; textBoxFolderOrig.Text = configuration.folderPathOrig; radioButtonBackup.Checked = configuration.isBackup; radioButtonRemote.Checked = !configuration.isBackup; textBoxPassword.Text = configuration.password; // init delegate ProgressBarDelegate = new ProgressBarDelegateHandler(UpdateProgressBar); TextBoxDelegate = new TextBoxDelegateHandler(UpdateTextBox); }