예제 #1
0
        private void côngNơToolStripMenuItem_Click(object sender, EventArgs e)
        {
            lblTitle.Text = "Báo cáo công nợ";
            UCReportCongNo uc = new UCReportCongNo();

            addControlToPanel(uc);
        }
예제 #2
0
        private void barBtnCongNo_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            XtraUserControl xtraUserControl = new UCReportCongNo();

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