private void barButtonItem查询_ItemClick(object sender, ItemClickEventArgs e) { UserQuery Frm = UserQuery.GetInstance(); Frm.TopLevel = false; Frm.Parent = this; Frm.Show(); Frm.BringToFront(); //Children.Add(Frm); }
private void User_Load(object sender, EventArgs e) { this.WindowState = FormWindowState.Maximized; UserQuery Frm = UserQuery.GetInstance(); Frm.TopLevel = false; Frm.Parent = this; Frm.Show(); Frm.BringToFront(); //xtraTabControl1.MakePageVisible(xtraTabPage1); //isno = true; //Children.Add(Frm); }