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

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
            //Children.Add(Frm);
        }
예제 #2
0
        private void Dept_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;
            DeptQuery Frm = DeptQuery.GetInstance();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
            Frm.Height = this.Height - 20;
            //xtraTabControl1.MakePageVisible(xtraTabPage1);
            //isno = true;
            //Children.Add(Frm);
        }