Пример #1
0
        private void HandleDisconnecting(object sender, DisconnectingEventArgs e)
        {
            if (!disconnectingCB.Checked)
            {
                return;
            }

            AddResultStringToOutput("\nDisconnect Started. Browser state: " + e.SessionState + ".\n");
        }
Пример #2
0
 // Handler for the Disconnecting event on the Browser object.
 private void HandleDisconnecting(object sender, DisconnectingEventArgs e)
 {
     Console.WriteLine("Disconnecting.");
 }
Пример #3
0
        /// <summary>
        /// Invoked when the browser is disconnecting.
        /// </summary>
        /// <param name="tcs"></param>
        /// <param name="args"></param>
        void OnDisconnecting(TaskCompletionSource<VoiceXmlResult> tcs, DisconnectingEventArgs args)
        {
            if (tcs.Task.IsCompleted)
                return;

            Dispatch(() =>
            {

            });
        }