Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Forms, Dialogs, TitleBar, StatusStrip > Check if child radform is alreay open

Not answered Check if child radform is alreay open

Feed from this thread
  • Karl Golling Master avatar

    Posted on Nov 26, 2011 (permalink)

    Hi,
    Does anyone have a code snipped to check if a child radform is already open?
    Thank you

    Reply

  • Peter Peter admin's avatar

    Posted on Nov 30, 2011 (permalink)

    Hi Karl,

    Thank you for writing.

    I suppose that the you asking for an MDI scenario?  Please refer to the code below:

    private bool CheckChildForm1IsOpen()
    {
    foreach (Form frm in MdiChildren)
          if (frm.GetType() == typeof(Form1)) return true;
     
    return false;
    }

    I hope this helps. Kind regards,
    Peter
    the Telerik team

    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Forms, Dialogs, TitleBar, StatusStrip > Check if child radform is alreay open
Related resources for "Check if child radform is alreay open"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]