Line 273... |
Line 273... |
273 |
if ( m_iStatus == 0 )
|
273 |
if ( m_iStatus == 0 )
|
274 |
{
|
274 |
{
|
275 |
if ( (m_pPackage && m_pInfo->GetFile()) || (m_pMultiPackage && m_pInfo->GetPackage()) )
|
275 |
if ( (m_pPackage && m_pInfo->GetFile()) || (m_pMultiPackage && m_pInfo->GetPackage()) )
|
276 |
{
|
276 |
{
|
277 |
if ( m_pPackage )
|
277 |
if ( m_pPackage )
|
278 |
LabelCompress->Text = _US(m_pInfo->GetFile()->getNameDirectory(m_pPackage) + " (" + SPK::GetSizeString(m_pInfo->GetDone()) + "/" + SPK::GetSizeString(m_pInfo->GetMax()) + ")");
|
278 |
LabelCompress->Text = _US(m_pInfo->GetFile()->getNameDirectory(m_pPackage) + L" (" + SPK::GetSizeString(m_pInfo->GetDone()) + L"/" + SPK::GetSizeString(m_pInfo->GetMax()) + L")");
|
279 |
else if ( m_pMultiPackage )
|
279 |
else if ( m_pMultiPackage )
|
280 |
LabelCompress->Text = _US(m_pInfo->GetPackage()->sName + " (" + SPK::GetSizeString(m_pInfo->GetDone()) + "/" + SPK::GetSizeString(m_pInfo->GetMax()) + ")");
|
280 |
LabelCompress->Text = _US(m_pInfo->GetPackage()->sName.toWString() + L" (" + SPK::GetSizeString(m_pInfo->GetDone()) + L"/" + SPK::GetSizeString(m_pInfo->GetMax()) + L")");
|
281 |
this->progressBar1->Maximum = m_pInfo->GetMax();
|
281 |
this->progressBar1->Maximum = m_pInfo->GetMax();
|
282 |
if ( (int)m_pInfo->GetDone() >= this->progressBar1->Minimum )
|
282 |
if ( (int)m_pInfo->GetDone() >= this->progressBar1->Minimum )
|
283 |
{
|
283 |
{
|
284 |
if ( (int)m_pInfo->GetDone() > this->progressBar1->Maximum )
|
284 |
if ( (int)m_pInfo->GetDone() > this->progressBar1->Maximum )
|
285 |
this->progressBar1->Value = this->progressBar1->Maximum;
|
285 |
this->progressBar1->Value = this->progressBar1->Maximum;
|