示例#1
0
        /// <summary>
        /// Does the stop connection.
        /// </summary>
        /// <param name="status">The status.</param>
        private void doStopConnection(object status)
        {
            ProgressBarDialog progress = status as ProgressBarDialog;

            progress.Begin();
            progress.SetText(BCApplication.getMessageString("STOP_CONNECTING"));

            bcApp.stopProcess();

            //Do something...

            progress.End();
        }