Exemple #1
0
        private void initConfig()
        {
            cPoRWS = new ControlPoRWebService(Cm);

            //initCompoment();
            pB1.Visible                = false;
            lvwColumnSorter            = new ListViewColumnSorter();
            lvwColumnSorter.Order      = SortOrder.Descending;
            lvwColumnSorter.SortColumn = 0;
            lv1.Sort();
            //txtFileName.Text = cRDPO.initC.PathInitial + "PR03102017.txt";
            txtFileName.Text = Cm.initC.AutoValueSet;

            lv1.Columns.Add("NO", 50);
            lv1.Columns.Add("List File", formwidth - 50 - 40 - 100, HorizontalAlignment.Left);
            lv1.Columns.Add("   process   ", 100, HorizontalAlignment.Center);
            lv1.ListViewItemSorter = lvwColumnSorter;

            lb2.Text = lb2.Text + " " + Cm.xcustpowebservice_run;
            if (Cm.xcustprwebservice_run.ToLower().Equals("on"))
            {
                cPoRWS.setXcustPRTbl(lv1, this, pB1);
            }
            //int i = 1;
        }