Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private: System::Void cmdJoke1_Click(System::Object^ sender, System::EventArgs^ e) {
- time = 5;
- tmrJoke->Enabled = true;
- txtJoke->Text = "ABC";
- //end
- }
- private: System::Void tmrJoke_Tick(System::Object^ sender, System::EventArgs^ e) {
- time --;
- if ((time == 0) && (txtJoke->Text = "ABC"))
- txtJoke->Text = "abc";
- //end
- }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement