コード例 #1
0
ファイル: MainForm.cs プロジェクト: nwtajcky/RDManager
        private void Rdp_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
        {
            //0
            //An unknown error has occurred.
            //1
            //Internal error code 1.
            //2
            //An out-of - memory error has occurred.
            //3
            //A window-creation error has occurred.
            //4
            //Internal error code 2.
            //5
            //Internal error code 3.This is not a valid state.
            //6
            //Internal error code 4.
            //7
            //An unrecoverable error has occurred during client connection.
            //100
            //Winsock initialization error.

            var rdp = (AxMSTSCLib.AxMsRdpClient9NotSafeForScripting)sender;

            rdp.DisconnectedText = "连接已断开,错误码: " + e.errorCode.ToString();
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: jsmingzi1/repos-source
 private void m_rdpview_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
 {
     Console.WriteLine("m_rdpview_OnLogonError");
     Application.Exit();
 }
コード例 #3
0
 /// <summary>
 /// Event-Methode:
 /// Wenn ein Fehler aufgetreten ist
 /// </summary>
 private void rdp_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
 {
     LOG.StoreErrorRdpLogMessage("Rdp-ActiveX-Control: An FatalError has been appeared - Error-Code: " + e.errorCode.ToString());
     DEBUG.ShowMessageInConsole("Rdp-ActiveX-Control: An FatalError has been appeared - Error-Code: " + e.errorCode.ToString(), DEBUG.DebugMessageType.Error);
 }
コード例 #4
0
ファイル: Program.cs プロジェクト: jsmingzi1/repos-source
 private void m_rdpview_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
 {
     File.AppendAllText(@"d:\1.log", "m_rdpview_OnFatalError");
 }
コード例 #5
0
 private void RdpConnection_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
 {
     Console.WriteLine("RdpConnection_OnFatalError: " + e.errorCode);
     Connecting = false;
 }
コード例 #6
0
 //*************************************************************************************************************
 private void rdpControl_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
 {
     loadingCircle1.Active  = false;
     loadingCircle1.Visible = false;
 }
コード例 #7
0
 private void RDCClient_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
 {
     MessageBox.Show(this, "Fatal error", "Error");
 }
コード例 #8
0
 void axMsRdpClient71_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
 {
     throw new NotImplementedException();
 }
コード例 #9
0
ファイル: Remote session.cs プロジェクト: m-atef/SharpView
 private void axMsRdpClient9NotSafeForScripting1_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e)
 {
     MessageBox.Show(e.errorCode.ToString());
 }