void InitializeEditMode()
{
txtFilePath.Text = Profile.FilePath;
grpProfInfo.Enabled = false;
chkActUpdate.Checked = false;
chkActImport.Checked = false;
chkSetStartup.Checked = false;
chkAutoUpdate.Checked = Profile.AutoUpdate;
chkAutoImport.Checked = Profile.AutoImport;
chkLocalUpdate.Checked = Profile.LocalUpdate;
chkWebUpdate.Checked = Profile.WebUpdate;
chkExportDiscard.Checked = Profile.ExportDiscard;
chkIncludeShortcuts.Checked = Profile.IncludeShortcuts;
chkOverwriteNames.Checked = Profile.OverwriteOnDownload;
this.Text = GlobalStrings.DlgProfile_EditProfile;
chkAutoIgnore.Checked = Profile.AutoIgnore;
chkIncludeUnknown.Checked = Profile.IncludeUnknown;
chkBypassIgnoreOnImport.Checked = Profile.BypassIgnoreOnImport;
foreach( int i in Profile.IgnoreList ) {
lstIgnored.Items.Add( i.ToString() );
}
lstIgnored.Sort();
bool found = SelectUserInList( Profile.SteamID64 );
if( found ) {
radSelUserFromList.Checked = true;
} else {
radSelUserByID.Checked = true;
txtUserID.Text = Profile.SteamID64.ToString();
}
}