示例#1
0
        private void btnLog_Click(object sender, EventArgs e)
        {
            pnRight.Controls.Clear();
            LogQuery logQuery = new LogQuery();

            logQuery.Dock     = DockStyle.Fill;
            logQuery.TopLevel = false;
            this.pnRight.Controls.Clear();
            this.pnRight.Controls.Add(logQuery);
            logQuery.Show();
        }