Example #1
0
 private void LoadLog_Click(object sender, EventArgs e)
 {
     if (connection != null)
     {
         LogShow.ResetText();
         WriteTextMessage(connection, "02" + LogName.Text);
     }
 }
        private void 查看日志ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (null == user.logRights)
            {
                MessageBox.Show("权限不足", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }
            LogShow ls = new LogShow(libraryManage);

            ls.ShowDialog();
        }
Example #3
0
 private void DisplayToUI(string displayData)
 {
     LogShow.AppendText(displayData);
     LogShow.ScrollToCaret();
 }