how to update a button text on my Main Form when a method is called on my user control?
<p>on my main form:</p>

<pre><code>public string updateButtonText
{
   get { return btnInbox.Text; }
   set { btnInbox.Text = value; }
}
</code></pre>

<p>on my usercontrol:</p>

<pre><code>public void refreshInbox()
{
   try
   {
       mailboxLogic.constructInbox(lstViewInbox, StudentsData.studentUsername);
       frmMailbox.updateButtonText = "Inbox" + "(" + MailboxLogic.emailcounter + ")";
   }
   catch (Exception ex)
   {
       MessageBox.Show("1"+ex.Message);
   }
}
</code></pre>

<p>i am trying to call the updateButtonText method everytime i update my listview.can someone help please?</p>
