[BrowserLinkCallback] // This method can be called from JavaScript public void FormSync(string dto) { if (VSPackage.Options.EnableFormSync && Connections.Connections.Any(c => c != _connection)) { IClientInvoke others = Browsers.AllExcept(new[] { _connection }); others.Invoke("syncForm", dto); } }
[BrowserLinkCallback] // This method can be called from JavaScript public void Navigate(int xpos, int ypos) { if (VSPackage.Options.EnableNavigationHotkeys && Connections.Connections.Any(c => c != _connection)) { IClientInvoke others = Browsers.AllExcept(new[] { _connection }); others.Invoke("syncNavigate", _connection.Url, xpos, ypos); } }