Esempio n. 1
0
        private void hyperlinkLabelControl1_Click(object sender, EventArgs e)
        {
            Form dangky = new DangKy();

            Hide();
            dangky.Show();
        }
Esempio n. 2
0
        private void btnDangky_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            foreach (Form f in this.MdiChildren)
            {
                if (f.Name == "DangKy")
                {
                    f.Activate();
                    return;
                }
            }
            DangKy dk = new DangKy();

            dk.MdiParent = this;
            dk.Show();
        }