示例#1
0
        private void bbtDanhsachk_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = this.Kiemtratontai(typeof(Kho));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                Kho k = new Kho();
                k.MdiParent = this;
                //dmk.StartPosition = FormStartPosition.CenterParent;
                k.WindowState = FormWindowState.Maximized;
                k.Show();
            }
        }