Button1_click(byval sender as system.object, byval e as system.eventargs) handles button1.click dim objform2 as new form2 dim s as string if s = msgbox("open in a modal mode?", mscboxstyle.yesnocancel) else if n = n then n = end end if end sub button2_click(button1_click,button2_click
Button1_click(byval sender as system.object, byval e as system.eventargs) handles button1.click dim objform2 as new form2 dim s as string if s = msgbox("open in a modal mode?", mscboxstyle.yesnocancel) else if n = n then n = end end if end sub button2_click(button1_click,button2_click
Direitos autorais:
Attribution Non-Commercial (BY-NC)
Formatos disponíveis
Baixe no formato TXT, PDF, TXT ou leia online no Scribd
Button1_click(byval sender as system.object, byval e as system.eventargs) handles button1.click dim objform2 as new form2 dim s as string if s = msgbox("open in a modal mode?", mscboxstyle.yesnocancel) else if n = n then n = end end if end sub button2_click(button1_click,button2_click
Direitos autorais:
Attribution Non-Commercial (BY-NC)
Formatos disponíveis
Baixe no formato TXT, PDF, TXT ou leia online no Scribd
private sub button1_click(byval sender as system.object, byval e as
system.eventargs) handles button1.click dim objform2 as new form2 dim s as string = msgbox("open in a modal mode?", msgboxstyle.yesnocancel) if s = msgboxresult.yes then objform2.showdialog() elseif s = msgboxresult.no then objform2.show() end if end sub
private sub button2_click(byval sender as system.object, byval e as
system.eventargs) handles button2.click dim s as string s = msgbox("would you like to terminate the program?", msgboxstyle.yesno) if s = msgboxresult.yes then end end if end sub end class