Exemplo n.º 1
0
 public vncEngineObject(vncEngineObject obj) : this(OpenVNCWRAPPINVOKE.new_vncEngineObject__SWIG_2(vncEngineObject.getCPtr(obj)), true)
 {
     if (OpenVNCWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw OpenVNCWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public bool opNotEquals(vncEngineObject other)
        {
            bool ret = OpenVNCWRAPPINVOKE.vncEngineObject_opNotEquals(swigCPtr, vncEngineObject.getCPtr(other));

            if (OpenVNCWRAPPINVOKE.SWIGPendingException.Pending)
            {
                throw OpenVNCWRAPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        public vncEngineObject opEquals(vncEngineObject other)
        {
            vncEngineObject ret = new vncEngineObject(OpenVNCWRAPPINVOKE.vncEngineObject_opEquals__SWIG_1(swigCPtr, vncEngineObject.getCPtr(other)), false);

            if (OpenVNCWRAPPINVOKE.SWIGPendingException.Pending)
            {
                throw OpenVNCWRAPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            m_VideoDisplay.vncOnMouseEvent += this.VideoDisplay_vncOnMouseEvent;
            m_VideoDisplay.vncOnKeyEvent += this.VideoDisplay_vncOnKeyEvent;

            videoPlaceholder.MinWidth = 1000;

            if (m_Engine == null)
            {
                vncError_t error;

                m_Engine = vncEngine.New();
                if (m_Engine != null)
                {
                    m_Client = m_Engine.NewClient();
                }

                if (m_Client != null)
                {
                    IntPtr handle = new WindowInteropHelper(this).Handle;
                    error = m_Client.SetCallback(m_Callback);
                    //error = m_Client.SetPixelSize(vncRfbPixelSize_t.vncRfbPixelType_32);
                    error = m_Client.SetParentWindow(m_VideoDisplay.Handle.ToInt64());
                    error = m_Client.SetPassword("admin");
                    error = m_Client.Configure("192.168.0.11", 5900, vncNetworkType_t.vncNetworkType_TCP);
                    error = m_Client.Start();
                    error = m_Client.Connect();
                }
            }
        }
Exemplo n.º 5
0
 public static vncEngineObject New()
 {
     vncEngineObject ret = new vncEngineObject(OpenVNCWRAPPINVOKE.vncEngine_New(), true);
     return ret;
 }
Exemplo n.º 6
0
        public static vncEngineObject New()
        {
            vncEngineObject ret = new vncEngineObject(OpenVNCWRAPPINVOKE.vncEngine_New(), true);

            return(ret);
        }
Exemplo n.º 7
0
        public vncEngineObject opEquals(vncEngine other)
        {
            vncEngineObject ret = new vncEngineObject(OpenVNCWRAPPINVOKE.vncEngineObject_opEquals__SWIG_0(swigCPtr, vncEngine.getCPtr(other)), false);

            return(ret);
        }
Exemplo n.º 8
0
 internal static HandleRef getCPtr(vncEngineObject obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 9
0
 public vncEngineObject New()
 {
     vncEngineObject ret = new vncEngineObject(OpenVNCWRAPPINVOKE.vncEngineObject_New(swigCPtr), true);
     return ret;
 }
Exemplo n.º 10
0
        public vncEngineObject New()
        {
            vncEngineObject ret = new vncEngineObject(OpenVNCWRAPPINVOKE.vncEngineObject_New(swigCPtr), true);

            return(ret);
        }
Exemplo n.º 11
0
 public vncEngineObject(vncEngineObject obj)
     : this(OpenVNCWRAPPINVOKE.new_vncEngineObject__SWIG_2(vncEngineObject.getCPtr(obj)), true)
 {
     if (OpenVNCWRAPPINVOKE.SWIGPendingException.Pending) throw OpenVNCWRAPPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 12
0
 internal static HandleRef getCPtr(vncEngineObject obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 13
0
 public bool opNotEquals(vncEngineObject other)
 {
     bool ret = OpenVNCWRAPPINVOKE.vncEngineObject_opNotEquals(swigCPtr, vncEngineObject.getCPtr(other));
     if (OpenVNCWRAPPINVOKE.SWIGPendingException.Pending) throw OpenVNCWRAPPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 14
0
 public vncEngineObject opEquals(vncEngineObject other)
 {
     vncEngineObject ret = new vncEngineObject(OpenVNCWRAPPINVOKE.vncEngineObject_opEquals__SWIG_1(swigCPtr, vncEngineObject.getCPtr(other)), false);
     if (OpenVNCWRAPPINVOKE.SWIGPendingException.Pending) throw OpenVNCWRAPPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 15
0
 public vncEngineObject opEquals(vncEngine other)
 {
     vncEngineObject ret = new vncEngineObject(OpenVNCWRAPPINVOKE.vncEngineObject_opEquals__SWIG_0(swigCPtr, vncEngine.getCPtr(other)), false);
     return ret;
 }