private void 工具栏ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmToolBox ftb = new frmToolBox();
     ftb.TopLevel = false; //不加就变成顶级,无法添加
     ftb.Parent = this;
     ftb.Show();
 }
示例#2
0
        private void 工具栏ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmToolBox ftb = new frmToolBox();

            ftb.TopLevel = false;             //不加就变成顶级,无法添加
            ftb.Parent   = this;
            ftb.Show();
        }