AbortIndex() public method

public AbortIndex ( ) : void
return void
Example #1
0
        private void btnDone_Click(object sender, EventArgs e)
        {
            if (indexingRunning)
            {
                btnDone.Enabled = false;

                textBox.AppendText(Properties.Resources.AbortingIndexing + Environment.NewLine);

                ixr.AbortIndex();
            }
            else
            {
                // Due to failure

                DialogResult = DialogResult.Abort;
                Close();
            }
        }