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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -