示例#1
0
        public inEGList(Designer desinger)
        {
            InitializeComponent();
            this.desinger = desinger;
            sectionEG = this.desinger.secInsertedEG[this.desinger.indexOfCircle];
            allEG = this.desinger.insertedEG;

            TBsection.Text = (desinger.indexOfCircle + 1) + "";
            reloadList();
            ChangePlus();
        }
示例#2
0
        public Designer(Home_View _HV)
        {
            HV = _HV;
            InitializeComponent();

            //LW.Show();

            ViewerData.selectEGList();

            //init Data Structure
            for (int i = 0; i < 20; i++)
            {
                secInsertedEG[i] = new InsertedEG();
            }

            PBdesign.Maximum = ViewerData.totalCnt;
            LBtotalEG.Text = "" + PBdesign.Maximum;

            ViewerData.selectEGList(indexOfCircle);

            PBsecDesign.Maximum = ViewerData.cnt;
            LBsecTotalEG.Text = "24" /*+ PBsecDesign.Maximum*/;

            LBsecCurEG.Text = "" + secInsertedEG[indexOfCircle].cnt;

            LBcurrEG.Text = "" + insertedEG.cnt;

            BTdesign.Enabled = false;

            TBsection.Text = (indexOfCircle + 1) + "";

            reloadList();

            /*
            Thread initThread = new Thread(new ThreadStart(initDesignData));
            initThread.Start();
            */
            MaxCntReload();
        }