對你們大家好日子我有這個程序是一個瑣事遊戲,我想通過form.show將一個窗體作爲啓動畫面()和form.hide,我想問我怎樣才能通過顯示至少3秒來設置窗體並再次隱藏它?在此先感謝Form.show和Form.Hide時間間隔Vb.Net
Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click
If Label1.Text = "Who invented the airplane?" And TextBox1.Text = "third" Then
Label2.Text = (Label2.Text) + 1
correctmsg.Show()
correctmsg.Hide()
Label1.Text = "Who invented the telephone?"
Return 'Don't do any more checks this time around
ElseIf Label1.Text = "Who invented the airplane?" Then
'Reason ElseIf (In case the question was 'who invented the telephone' then the first errormessage should not not be shown)
wrongmsg.Show()
Return
End If
非常感謝你的解決方案:) – TheNewbie
@ user3231002,如果這個答案是你的問題,那麼你應該把它標記爲這樣,以便其他用戶有同樣的問題可以看到答案,並且也爲了讓人工智能是願意在未來幫助你。 – davidsbro
@davidsbro確定先生,因爲我只是新的在這裏我不知道如何標記:p – TheNewbie