vb.net - How would I make a different MsgBox appear after the user saw the first one? -
i wondering how make when user clicks button, msgbox appears, example, word "cat". now, since user saw word cat, if click button again, rest of time program open, "you know there cat here!".
how go this, possible?
private dim alreadysawthecat boolean = false private sub button1_click(byval sender system.object, byval e system.eventargs) handles button1.click if alreadysawthecat messagebox.show("you know there cat here!") else messagebox.show("there cat here!") alreadysawthecat = true end if end sub
Comments
Post a Comment