public void PostStatus(object sender, EventArgsPostStatus e) { string postedStatusID = string.Empty; postedStatusID = AppSevices.Instance.PostStatus(e.Text); MessageBox.Show(string.Format(k_StatusPostedMsg, postedStatusID)); }
private void buttonPost_Click(object sender, EventArgs e) { EventArgsPostStatus arg = new EventArgsPostStatus(); arg.Text = textBoxStatus.Text; ButtonPostStatusClicked(this, arg); }