Form Displaying a Form


Private btnDisplayForm_Click(ByVal sender As System.Object, _ 
          ByVal e As System.EventArgs) _
         Handles btnDisplayForm.Click

   Dim objAnotherForm As frmAnotherForm
   objAnotherForm = New frmAnotherForm
   objAnotherForm.Show(System.Windows.Forms.Controls.FromHandle(Me.Handle))

End Sub


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext