예제 #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();
            }
        }
예제 #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();
            }
        }