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