public MainForm()
        {
            InitializeComponent();

            NodeReceiveStatusForm frmNodeReceiveStatus = new NodeReceiveStatusForm();
            frmNodeReceiveStatus.MdiParent = this;
            frmNodeReceiveStatus.WindowState = FormWindowState.Maximized;
            frmNodeReceiveStatus.Show();
        }
 private void tsmiNodeReceiveStatus_Click(object sender, EventArgs e)
 {
     //判断是否已经打开此窗口,默认最大化窗体
     if (!ShowChildrenForm(typeof(NodeReceiveStatusForm)))
     {
         NodeReceiveStatusForm frmNodeReceiveStatus = new NodeReceiveStatusForm();
         frmNodeReceiveStatus.MdiParent = this;
         frmNodeReceiveStatus.WindowState = FormWindowState.Maximized;
         frmNodeReceiveStatus.Show();
     }
 }