示例#1
0
        /// <summary>
        /// 添加人员信息
        /// </summary>
        public void LoadNewInfo()
        {
            this.panel.Controls.Clear();
            MyInfo p = new MyInfo(ma);

            p.AddPerson();
            p.TopLevel = false;
            p.Dock     = DockStyle.Fill;
            this.panel.Controls.Add(p);
            p.Show();
        }
示例#2
0
        //人员详情显示
        public void LoadMyInfo(PersonPlane pp, Entity.Person per)
        {
            this.panel.Controls.Clear();
            MyInfo p = new MyInfo(pp, per);

            p.LoadInfo();
            p.TopLevel = false;
            p.Dock     = DockStyle.Fill;
            this.panel.Controls.Add(p);
            p.Show();
        }