private void ChangePasswordDlg_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if (channel == null) { } else { channel.Abort(); e.Cancel = true; } }
void stop_OnStop(object sender, StopEventArgs e) { if (cur_channel != null) { cur_channel.Abort(); } }