Subversion Repositories spk

Rev

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

Rev 178 Rev 191
Line 150... Line 150...
150
		if ( !m_pFailedList->Empty() )
150
		if ( !m_pFailedList->Empty() )
151
		{
151
		{
152
			CyString s;
152
			CyString s;
153
			for ( SStringList *str = m_pFailedList->Head(); str; str = str->next )
153
			for ( SStringList *str = m_pFailedList->Head(); str; str = str->next )
154
				s += str->str + " (" + str->data + ")\n";
154
				s += str->str + " (" + str->data + ")\n";
155
			MessageBox::Show(this, "Error Extracting Files:\n\n" + SystemStringFromCyString(s), "Extract Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
155
			MessageBox::Show(this, "Error Extracting Files:\n\n" + _US(s.ToString()), "Extract Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
156
			m_bOK = false;
156
			m_bOK = false;
157
		}
157
		}
158
 
158
 
159
		this->Close();
159
		this->Close();
160
	}
160
	}
Line 170... Line 170...
170
		if ( m_bNoToAll )
170
		if ( m_bNoToAll )
171
			return false;
171
			return false;
172
 
172
 
173
		CyString sFile = CyStringFromSystemString(file);
173
		CyString sFile = CyStringFromSystemString(file);
174
		sFile.FindReplace("/", "\\");
174
		sFile.FindReplace("/", "\\");
175
		FileExists ^exists = gcnew FileExists(SystemStringFromCyString(sFile));
175
		FileExists ^exists = gcnew FileExists(_US(sFile.ToString()));
176
		System::Windows::Forms::DialogResult result = exists->ShowDialog(this);
176
		System::Windows::Forms::DialogResult result = exists->ShowDialog(this);
177
		if ( result == System::Windows::Forms::DialogResult::Yes )
177
		if ( result == System::Windows::Forms::DialogResult::Yes )
178
			return true;
178
			return true;
179
		else if ( result == System::Windows::Forms::DialogResult::Cancel )
179
		else if ( result == System::Windows::Forms::DialogResult::Cancel )
180
		{
180
		{