using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Stone.WinModule.SystemData { public partial class frmUsers : Stone.WinModule.frmBase { public frmUsers() { InitializeComponent(); } private void frmUsers_Load(object sender, EventArgs e) { var frm = new User.frmUserManager(); frm.TopLevel = false; frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; frm.Parent = this.panel1; frm.Show(); //this.panel1.Left = (this.Width - this.panel1.Width) / 2; //this.panel1.Top = (this.Height - this.panel1.Height) / 2; } } }