Exemplo n.º 1
0
 public KVMViewer(MeshCentralServer server, NodeClass node)
 {
     InitializeComponent();
     this.Text                     += " - " + node.name;
     this.node                      = node;
     this.server                    = server;
     kvmControl                     = resizeKvmControl.KVM;
     kvmControl.parent              = this;
     kvmControl.DesktopSizeChanged += KvmControl_DesktopSizeChanged;
     resizeKvmControl.ZoomToFit     = true;
     UpdateStatus();
     this.MouseWheel += MainForm_MouseWheel;
 }
Exemplo n.º 2
0
        public KVMViewer(MeshCentralServer server, NodeClass node)
        {
            InitializeComponent();
            Translate.TranslateControl(this);
            this.Text                     += " - " + node.name;
            this.node                      = node;
            this.server                    = server;
            kvmControl                     = resizeKvmControl.KVM;
            kvmControl.parent              = this;
            kvmControl.DesktopSizeChanged += KvmControl_DesktopSizeChanged;
            resizeKvmControl.ZoomToFit     = true;
            UpdateStatus();
            this.MouseWheel += MainForm_MouseWheel;

            mainToolTip.SetToolTip(connectButton, Translate.T(Properties.Resources.ToggleRemoteDesktopConnection));
            mainToolTip.SetToolTip(cadButton, Translate.T(Properties.Resources.SendCtrlAltDelToRemoteDevice));
            mainToolTip.SetToolTip(settingsButton, Translate.T(Properties.Resources.ChangeRemoteDesktopSettings));
            mainToolTip.SetToolTip(clipOutboundButton, Translate.T(Properties.Resources.PushLocaClipboardToRemoteDevice));
            mainToolTip.SetToolTip(clipInboundButton, Translate.T(Properties.Resources.PullClipboardFromRemoteDevice));
            mainToolTip.SetToolTip(zoomButton, Translate.T(Properties.Resources.ToggleZoomToFitMode));
            mainToolTip.SetToolTip(statsButton, Translate.T(Properties.Resources.DisplayConnectionStatistics));
        }