/// <summary> /// 加载人事界面 /// </summary> public void LoadPersonPanle() { this.pan_change.Controls.Clear(); PersonPlane p = new PersonPlane(this, users); p.TopLevel = false; p.Dock = DockStyle.Fill; this.pan_change.Controls.Add(p); p.Show(); }
//人员详情显示 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(); }
public MyInfo(PersonPlane p, Entity.Person per) { this.pp = p; this.p = per; InitializeComponent(); }
public PInfo(PersonPlane p) { this.pp = p; InitializeComponent(); }