コード例 #1
0
 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()));
     }
 }
コード例 #2
0
 private void CleanPostControls()
 {
     PreviewPhotoPictureBox.Image = null;
     PostTextBox.Clear();
     ClearImagePictureBox1.Hide();
 }