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