Program do pobierania

0

Witam,
piszę sobie pewny program na pobieranie, przy ustawianiu progressbara mam pewien błąd.

Kod C++:

	 	 static void DownloadProgressChanged(System::Object^ sender, DownloadProgressChangedEventArgs^ e)
		 {
			 DoKonca->Value = e->ProgressPercentage;
		 }

A oto błąd:

error C2227: left of '->Value' must point to class/struct/union/generic type

Jak to naprawić?

0

Pokaż deklarację DoKonca

0

To jest kod progressbara ponieważ sobie go tak nazwałem.

this->DoKonca->Location = System::Drawing::Point(6, 228);
			this->DoKonca->Name = L"DoKonca";
			this->DoKonca->Size = System::Drawing::Size(331, 23);
			this->DoKonca->TabIndex = 5;
0

To może odwołaj się przez this->DoKonca->Value = e->ProgressPercentage;.

1 użytkowników online, w tym zalogowanych: 0, gości: 1