private void toolStripButton8_Click(object sender, EventArgs e) { if (!FilterClass.tjbb()) { MessageBox.Show("无权操作!"); return; } tjfrom tongjibaobiao = tjfrom.CreateForm(); tongjibaobiao.MdiParent = this; tongjibaobiao.Parent = panel3; tongjibaobiao.WindowState = FormWindowState.Maximized; tongjibaobiao.Show(); }