internal void SetScroll(WebBrowser f_wb_oknorozmowy) { if (f_wb_oknorozmowy.InvokeRequired) { SetScrollCallBack s = new SetScrollCallBack(SetScroll); f_wb_oknorozmowy.Invoke(s, new object[] { f_wb_oknorozmowy }); } else { f_wb_oknorozmowy.Document.Body.ScrollTop += Int16.MaxValue; } }
internal void SetScroll(ListBox _lista) { if (_lista.InvokeRequired) { SetScrollCallBack s = new SetScrollCallBack(SetScroll); _lista.Invoke(s, new object[] { _lista }); } else { _lista.TopIndex = _lista.Items.Count - 1; } }
private void SetScroll() { if (webBrowser1.InvokeRequired) { SetScrollCallBack s = new SetScrollCallBack(SetScroll); this.Invoke(s); } else { this.webBrowser1.Document.Window.ScrollTo(1, Int32.MaxValue); } }
private void SetScroll() { if (webBrowserChat.InvokeRequired) { SetScrollCallBack f = new SetScrollCallBack(SetScroll); this.Invoke(f); } else { this.webBrowserChat.Document.Window.ScrollTo(1, int.MaxValue); } }
private void SetScroll() { if (webBrowserChat.InvokeRequired) { SetScrollCallBack f = new SetScrollCallBack(SetScroll); this.Invoke(f); } else { //this.webBrowserChat.Document.Window.ScrollTo(1, int.MaxValue); webBrowserChat.Document.Body.All[webBrowserChat.Document.Body.All.Count - 1].ScrollIntoView(false); } }
private void SetScroll() { if (webBrowser1.InvokeRequired) { SetScrollCallBack s = new SetScrollCallBack(SetScroll); this.Invoke(s); } else { int h = this.webBrowser1.Document.Window.Size.Height; this.webBrowser1.Document.Window.ScrollTo(0, h); } }
/// <summary> /// Scrolluj na dół /// </summary> private void SetScroll() { if (webBrowser11.InvokeRequired) { Console.WriteLine("SCROOLL"); SetScrollCallBack s = new SetScrollCallBack(SetScroll); Invoke(s); } else { //webBrowser11.Document.Window.ScrollTo(0, int.MaxValue); webBrowser11.Document.Window.ScrollTo(0, 2147483); } }