private void barButtonItem查询_ItemClick(object sender, ItemClickEventArgs e) { ChannelQuantityQuery Frm = ChannelQuantityQuery.GetInstance(); Frm.TopLevel = false; Frm.Parent = this; Frm.Show(); Frm.BringToFront(); }
private void ChannelQuantity_Load(object sender, EventArgs e) { this.WindowState = FormWindowState.Maximized; ChannelQuantityQuery Frm = ChannelQuantityQuery.GetInstance(); Frm.TopLevel = false; Frm.Parent = this; Frm.Show(); Frm.BringToFront(); }