Subversion Repositories spk

Rev

Rev 80 | Rev 86 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 80 Rev 83
Line 1101... Line 1101...
1101
				if ( gameName.Empty() )
1101
				if ( gameName.Empty() )
1102
					this->DisplayMessageBox(false, "Add Directory Error", "No X-Universe game found in folder:\n" + SystemStringFromCyString(dir), MessageBoxButtons::OK, MessageBoxIcon::Error);
1102
					this->DisplayMessageBox(false, "Add Directory Error", "No X-Universe game found in folder:\n" + SystemStringFromCyString(dir), MessageBoxButtons::OK, MessageBoxIcon::Error);
1103
				else
1103
				else
1104
				{
1104
				{
1105
					// lets check if theres an old folder
1105
					// lets check if theres an old folder
1106
					if ( m_pPackages->IsOldDir(dir) )
1106
					if ( m_pPackages->isOldDir(dir.ToString()) )
1107
					{
1107
					{
1108
						if ( this->DisplayMessageBox(false, "Update Game Directory", "Game directory: " + SystemStringFromCyString(dir) + "\nIs currently being controled by the old plugin manager\nIf you continue, you will be unable to use the old version again\nDo you wish to continue?", MessageBoxButtons::YesNo, MessageBoxIcon::Question) != System::Windows::Forms::DialogResult::Yes )
1108
						if ( this->DisplayMessageBox(false, "Update Game Directory", "Game directory: " + SystemStringFromCyString(dir) + "\nIs currently being controled by the old plugin manager\nIf you continue, you will be unable to use the old version again\nDo you wish to continue?", MessageBoxButtons::YesNo, MessageBoxIcon::Question) != System::Windows::Forms::DialogResult::Yes )
1109
							return;
1109
							return;
1110
					}
1110
					}
1111
					m_iBackgroundTask = MGUI_BACKGROUND_ADDDIR;
1111
					m_iBackgroundTask = MGUI_BACKGROUND_ADDDIR;