private void AttachPhotoPictureBox1_Click(object sender, EventArgs e) { if (PictureFileDialog.ShowDialog() == DialogResult.OK) { PreviewPhotoPictureBox.Load(PictureFileDialog.FileName); ClearImagePictureBox1.Show(); } PictureFileDialog.FileName = string.Empty; }
private void ClearImagePictureBox1_Click(object sender, EventArgs e) { PreviewPhotoPictureBox.Image = null; ClearImagePictureBox1.Hide(); }
private void CleanPostControls() { PreviewPhotoPictureBox.Image = null; PostTextBox.Clear(); ClearImagePictureBox1.Hide(); }