示例#1
0
        /// <summary>
        /// 加载签字管理窗体
        /// </summary>
        /// <param name="selectedIndex"></param>
        /// <param name="sc"></param>
        private void CreatSignChildForm(int selectedIndex, SignSocketClient sc)
        {
            if (this.MdiChildren != null)
            {
                foreach (Form form in this.MdiChildren)
                {
                    if (form.Name == "SignManage")
                    {
                        form.Close();
                    }
                }
            }
            SignManage sign = new SignManage(selectedIndex, sc);

            sign.MdiParent = this;
            sign.Dock      = DockStyle.Fill;
            sign.Show();
        }
示例#2
0
 /// <summary>
 /// 加载签字管理窗体
 /// </summary>
 /// <param name="selectedIndex"></param>
 /// <param name="sc"></param>
 private void CreatSignChildForm(int selectedIndex,SignSocketClient sc)
 {
     if (this.MdiChildren != null)
     {
         foreach (Form form in this.MdiChildren)
         {
             if (form.Name == "SignManage")
             {
                 form.Close();
             }
         }
     }
     SignManage sign = new SignManage(selectedIndex, sc);
     sign.MdiParent = this;
     sign.Dock = DockStyle.Fill;
     sign.Show();
 }