Means that when this function in the class is invoked and run into catch, inside catch there should change the text of the toolStripStatusLabel.
Any idea how to do that _ thanks a lot!
public void AA() { try { } catch { this.toolstripstatuslabel4.Text = "xxx";//wanted text } }Any idea how to do that _ thanks a lot!

Scott LysleRank #49 · 31K reputationPosted Aug 26, 2013, 4:27 AM EDT
public void UpdateStatusLabel1(string statusMessage) { toolStripStatusLabel1.Text = statusMessage; } Then call it from the child form when you need to set the text: private void button1_Click(object sender, EventArgs e) { Form1 parent = ((Form1)this.MdiParent); parent.UpdateStatusLabel1("Ciamar a tha thu?"); }