Exemplo n.º 1
0
        private void kháchHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmKhachHang frm = new FrmKhachHang();

            this.Hide();
            frm.Show();
        }
Exemplo n.º 2
0
        private void btnKhachHang_ItemClick(object sender, ItemClickEventArgs e)
        {
            /* Display KhachHang form in tabbed */
            Form hd = CheckForm(typeof(FrmKhachHang));

            if (hd != null)
            {
                hd.Activate();
            }
            else
            {
                var form = new FrmKhachHang {
                    MdiParent = this
                };
                form.Show();
            }
        }