Ejemplo n.º 1
0
        private void btn_attach_image_Click(object sender, EventArgs e)
        {
            if (selectedPicture != null)
            {
                AttachmentUploadForm auf = new AttachmentUploadForm();
                auf.ShowDialog(this);
                if (SeededProblems.AttachmentForm.AttachFileBtn())
                {
                    return;
                }
                else
                {
                    if (ImageAttached != null)
                    {
                        ImageAttached(selectedPicture);
                    }

                    this.Close();
                }
            }
            else
            {
                this.Close();
            }
        }
Ejemplo n.º 2
0
        private void btn_attach_image_Click(object sender, EventArgs e)
        {
            if (selectedPicture != null)
            {
                AttachmentUploadForm auf = new AttachmentUploadForm();
                auf.ShowDialog(this);
                if (SeededProblems.AttachmentForm.AttachFileBtn())
                {
                    return;
                }
                else
                {
                    if (ImageAttached != null)
                        ImageAttached(selectedPicture);

                    this.Close();

                }
            }
            else
            {
                this.Close();
            }
        }