示例#1
0
        private void MenuItem聊天信息_Click(object sender, RoutedEventArgs e)
        {
            //var messageQueue = SoftSnackbar.MessageQueue;
            //var message = "这是一条测试数据这是一条测试数据这是一条测试数据这是一条测试数据这是一条测试数据" + index++;

            ////the message queue can be called from any thread
            //Task.Factory.StartNew(() => messageQueue.Enqueue(message));

            SetShowRenderControl(UIControls_Chat);
            UIControls_Chat.ScrollToDown();
        }
 private void 留言板ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SetShowRenderControl(UIControls_Chat);
     UIControls_Chat?.InputFocus();
     UIControls_Chat?.ScrollToDown();
 }