private static void UpdateScroll(object sender, TailEventArgs e)
        {
            RichTextBox richTextBox;

            if (!items.TryGetValue((ComponentViewModel)sender, out richTextBox))
            {
                return;
            }

            richTextBox.ScrollToEnd();
        }
Esempio n. 2
0
        private static void UpdateScroll(object sender, TailEventArgs e)
        {
            ListView listView;

            if (!items.TryGetValue((ITailProvider)sender, out listView))
            {
                return;
            }

            listView.ScrollIntoView(e.Item);
        }