Home > Software engineering >  Vs2010 sample (forgive me this just to Tony)
Vs2010 sample (forgive me this just to Tony)

Time:10-09

Just learning vs2010, extract the vb sample, and then opened the vb samples \ application samples \ appevents \ my events \ application designer. Vb found this code, consult what do you mean:
Partial Friend Class MyApplication

Public Sub New ()
Mybase.new (Global. Microsoft. VisualBasic. ApplicationServices. AuthenticationMode. Windows)
Me. IsSingleInstance=false
Me. EnableVisualStyles=true
Me. SaveMySettingsOnExit=true
Me. ShutDownStyle=Global. Microsoft. VisualBasic. ApplicationServices. ShutdownMode. AfterMainFormCloses
End Sub

Protected Overrides Sub OnCreateMainForm ()
Me. MainForm=Global.Net workEvents. MainForm
End Sub
The End of the Class
End the Namespace
  • Related