Example #1
0
        private void PostBug()
        {
            TpSecureFormManager.CheckAuthentication(Close);

            //Text = @"Submitting Bug";
            var status = new MessageForm(this);

            status.Closed += (sender, e) => Close();
            status.Show(this);
            this.Enabled = false;

            if (BugBeforePost != null)
            {
                BugBeforePost(this, EventArgs.Empty);
            }
            bugServiceWse.CreateAsync(bugDTO);
            bugServiceWse.CreateCompleted             += postBug_Completed;
            bugServiceWse.AddAttachmentToBugCompleted += bugServiceWse_AddAttachmentToBugCompleted;
        }