Results 1 to 3 of 3

Thread: [RESOLVED] sum of opened forms

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2005
    Posts
    30

    Resolved [RESOLVED] sum of opened forms

    Hi,

    My question is how is possible to calculate how many forms are open in a mdi parent form. So I mean how many childs are open in total.

    Any advice is welcome

    thanks

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: sum of opened forms

    C# Code:
    1. int mdiChildCount = this.MdiChildren.Length;
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2005
    Posts
    30

    Re: sum of opened forms

    Thank you
    it is very short code :d
    I am timid now :$

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