Exemplo n.º 1
0
 public static ResultDataQs getInstance()
 {
     if (dataQs == null)
     {
         dataQs = new ResultDataQs();
     }
     return(dataQs);
 }
Exemplo n.º 2
0
        private void DisplayResultStartForm_Load(object sender, EventArgs e)
        {
            ResultDataQs dataQs = ResultDataQs.getInstance();

            dataQs.setPanelRoot(pnContent);
            //dataQs.InitQuestion();
            //dataQs.addPanelParentOption();
            //dataQs.addPanelQs();
        }
Exemplo n.º 3
0
        private void StartForm_Load(object sender, EventArgs e)
        {
            resultQs        = new ResultQs(this);
            this.KeyPreview = true;

            ApplyEclipse();
            this.Eclipse.ApplyElipse(this, 40);

            QA.getInstance().setPanel(panelRootOption, zoomImg1);
            ResultDataQs.getInstance().setZoomImg(zoomImg1);

            SetResultData();
            pnRoot.Controls.SetChildIndex(zoomImg1, 0);

            time = QA.getInstance().getTime();
            if (time != 0)
            {
                timer1_Tick(null, null);
                timer1.Start();
            }
            Init();
        }