예제 #1
0
        public void Abort()
        {
            button2_Abort.Enabled = false;
            _operation.Abort();

            if (Aborted != null)
            {
                Aborted(this, EventArgs.Empty);
            }
        }
예제 #2
0
        public void Abort()
        {
            abortToolStripButton.Enabled = false;
            _operation.Abort();

            if (Aborted != null)
            {
                Aborted(this, EventArgs.Empty);
            }
        }
예제 #3
0
 protected override void OnClosed(EventArgs e)
 {
     _operation.Abort();
     base.OnClosed(e);
 }