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


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