コード例 #1
0
        public AdministrationControl(MainForm form)
            : base(form)
        {
            InitializeComponent();
            CustomGUI_SetCommandBarVisibility(false);
            treeList1.ExpandAll();
            treeList2.ExpandAll();
            treeList3.ExpandAll();
            //avvio la renderizzazione del tessseramento
            XtraUserControl r = new RimesseReportControl();

            RenderSubControl(r);
        }
コード例 #2
0
        private void SelectFunctionTree1(TreeListNode Node)
        {
            preTitle = "";

            if (Node != null)
            {
                XtraUserControl r = null;
                if (Node.Id == 1)
                {
                    r        = new RimesseReportControl();
                    preTitle = "Tesseramento: ";
                }
                else if (Node.Id == 12)
                {
                    r        = new IncassiTesseramentoReportControl();
                    preTitle = "Tesseramento: ";
                }
                else if (Node.Id == 13)
                {
                    r        = new PagamentiUILReportControl();
                    preTitle = "Tesseramento: ";
                }
                else if (Node.Id == 15)
                {
                    r        = new DatiTesseramentoControl();
                    preTitle = "Tesseramento: ";
                }
                else if (Node.Id == 16)
                {
                    OpenTesseramentoReport();
                }
                else if (Node.Id == 8)
                {
                    OpenImportImpegniprogram();
                }
                else if (Node.Id == 9)
                {
                    OpenReportImpegni();
                }
                else if (Node.Id == 5)
                {
                    OpenImpegniRimesseConfrontoReport();
                }
                else if (Node.Id == 6)
                {
                    OpenImpegniRimesseConfrontoReportPeriodo();
                }
                else if (Node.Id == 10)
                {
                    r        = new ImpegniReportControl();
                    preTitle = "Tesseramento: ";
                }
                else if (Node.Id == 3)
                {
                    OpenReportConfrontoSomme();
                }
                else if (Node.Id == 4)
                {
                    OpenReportAnaliticoRimesse();
                }

                if (r != null)
                {
                    RenderSubControl(r);
                    lblFunction.Text = preTitle + Node.GetDisplayText(0);
                }
            }
        }