private void postStatus() { if (string.IsNullOrEmpty(PostTextBox.Text)) { MessageBox.Show("There is nothing to post, please try again"); } else { m_AppLogic.PostStatus(PostTextBox.Text); PostTextBox.Invoke(new Action(() => PostTextBox.Clear())); } }
private void CleanPostControls() { PreviewPhotoPictureBox.Image = null; PostTextBox.Clear(); ClearImagePictureBox1.Hide(); }