Results 1 to 3 of 3

Thread: open form in modal status

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Posts
    175

    open form in modal status

    hi all
    i have 3 forms
    1.frmMain - mdiparent
    2.frmCompanies
    3. frmConnWayAdd

    i try to open the frmConnWayAdd in modal status and to disable the other forms i have found this way

    Dim frmConnWayAdd As New frmConnWayAdd()
    frmConnWayAdd.MdiParent = Me.MdiParent
    frmConnWayAdd.Show()
    Me.Enabled = False

    i sure that there is another way - no?????

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    .ShowDialog()
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Posts
    175

    thanks

    hi there
    thanks it really works
    but i cant make the mdichild property for this form - does it matter?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width