private void bCĐôiTacToolStripMenuItem_Click(object sender, EventArgs e)
        {
            lblTitle.Text = "Báo cáo đối tác";
            UCReportCongNoDoiTac uc = new UCReportCongNoDoiTac();

            addControlToPanel(uc);
        }
示例#2
0
        private void barBtnReportPartner_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            XtraUserControl xtraUserControl = new UCReportCongNoDoiTac();

            xtraUserControl.Name = barBtnReportPartner.Name + "UControl";
            xtraUserControl.Text = barBtnReportPartner.Caption;
            xtraUserControl.Dock = DockStyle.Fill;
            lblCurrent.Caption   = "Báo cáo công nợ đối tác";
            addTab(xtraUserControl);
        }