public override void Dispose() { // If a command is running(!), abort it now. if (m_Cmd != null) { m_Cmd.DialAbort(null); m_Cmd = null; } // Get rid of the dialog that shows info about the current update feature. if (m_Info != null) { m_Info.Dispose(); m_Info = null; } base.Dispose(); }
private void IntersectForm_FormClosing(object sender, FormClosingEventArgs e) { // If the command hasn't been finished, cancel it now. if (m_Cmd != null) { m_Cmd.DialAbort(null); m_Cmd = null; } }
private void cancelButton_Click(object sender, EventArgs e) { m_Cmd.DialAbort(this); }
private void cancelButton_Click(object sender, EventArgs e) { // Abort the command. m_Cmd.DialAbort(this); }