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