private void btnFolderRestrictions_Click(object sender, EventArgs e) { FolderList FolderListDlg = new FolderList(); FolderListDlg.Folders = TraktSettings.BlockedFolders; DialogResult result = FolderListDlg.ShowDialog(this); if (result == DialogResult.OK) { TraktSettings.BlockedFolders = FolderListDlg.Folders; } }