Example #1
0
        /// <summary>
        /// 加载提交管理窗体
        /// </summary>
        /// <param name="selectedIndex"></param>
        /// <param name="sc"></param>
        private void CreatSubmitChildForm(int selectedIndex, SignSocketClient sc)
        {
            if (this.MdiChildren != null)
            {
                foreach (Form form in this.MdiChildren)
                {
                    if (form.Name == "SubmitManage")
                    {
                        form.Close();
                    }
                }
            }
            SubmitManage sub = new SubmitManage(selectedIndex, sc);

            sub.MdiParent = this;
            sub.Dock      = DockStyle.Fill;
            sub.Show();
        }
Example #2
0
 /// <summary>
 /// 加载提交管理窗体
 /// </summary>
 /// <param name="selectedIndex"></param>
 /// <param name="sc"></param>
 private void CreatSubmitChildForm(int selectedIndex,SignSocketClient sc)
 {
     if (this.MdiChildren != null)
     {
         foreach (Form form in this.MdiChildren)
         {
             if (form.Name == "SubmitManage")
             {
                 form.Close();
             }
         }
     }
     SubmitManage sub = new SubmitManage(selectedIndex, sc);
     sub.MdiParent = this;
     sub.Dock = DockStyle.Fill;
     sub.Show();
 }