private void hyperlinkLabelControl1_Click(object sender, EventArgs e) { Form dangky = new DangKy(); Hide(); dangky.Show(); }
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(); }