Exemple #1
0
        private void barButtonItem查询_ItemClick(object sender, ItemClickEventArgs e)
        {
            DeptMapQuery Frm = DeptMapQuery.GetInstance();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
        }
Exemple #2
0
        private void DeptMap_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;
            DeptMapQuery Frm = DeptMapQuery.GetInstance();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
            Frm.Height = this.Height - 20;
        }