VNC control for WPF application

I am looking for a control that will allow me to host a VNC client session in a WPF window. Initial Googling did not give anything for WPF, only WinForms, so if no one could point me to a WPF control, I would appreciate any advice on using the WinForms VNC control in a WPF application. That is, how can I host a VNC client session in a WPF application?

+3
source share
2 answers

I recommend switching using the WinForms control in the WPF application approach. It is really quite simple.

  • Add a WindowsFormsIntegration Link to Your Project
  • Add the WinForms integration element to your XAML:

    <WindowsFormsHost Name="host"/>
    
  • Add the WinForms control to this element in the code:

    host.Child = new WinFormsControl();
    
+5

WinForms Control, WPF, . DeveloperExpress LayoutManager : http://documentation.devexpress.com/#WPF/CustomDocument7551

WPF VNCSharp VncSharpWpf: http://d.hatena.ne.jp/horus531/20110515/1305443108

() . - , .

+2

Source: https://habr.com/ru/post/1784661/


All Articles