private void btnCallDanhSachChiNhanh_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { // Waiting.ShowWaitForm(); if (!_checkControl("frmDanhMuc_ChiNhanh")) { frmDanhMuc_ChiNhanh frm = new frmDanhMuc_ChiNhanh(); frm.TopLevel = false; frm.Dock = System.Windows.Forms.DockStyle.Fill; pControls.Controls.Add(frm); frm.Show(); } }
private void txtBranchName_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { frmDanhMuc_ChiNhanh frm = new frmDanhMuc_ChiNhanh(); frm.ShowDialog(); }