private void OnError(object sender, _IRDPSessionEvents_OnErrorEvent e) { int ErrorCode = (int)e.errorInfo; //LogTextBox.Text += ("Error 0x" + ErrorCode.ToString("X") + Environment.NewLine); LogTextBox.AppendText("Error 0x" + ErrorCode.ToString("X") + Environment.NewLine); }
private void OnError(object sender, _IRDPSessionEvents_OnErrorEvent e) { Action disco = () => { try { axRDPViewer1.Disconnect(); } catch { } }; this.Invoke(disco); ShowTickletList(); }
private void AxRdpViewer1OnOnError(object sender, _IRDPSessionEvents_OnErrorEvent irdpSessionEventsOnErrorEvent) { //throw new NotImplementedException(); }
private void OnError(object sender, _IRDPSessionEvents_OnErrorEvent e) { int ErrorCode = (int)e.errorInfo; MessageBox.Show("Error 0x" + ErrorCode.ToString("X")); }