Home > Windows Forms > Access Mdi Parents StatusStrip from Child Form

Access Mdi Parents StatusStrip from Child Form

September 5th, 2009 admin Leave a comment Go to comments

foreach (Control c in this.ParentForm.Controls)
{
        if (c is StatusStrip)
        {
                StatusStrip s = (StatusStrip)c;
                s.Items[0].Text = "Message";
        }
}
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.