Пример #1
0
        private void buttonGetReady_Click(object sender, EventArgs e)
        {
            UserInformation.setOnlineOrOffline("Online");
            InformationAnalysis.makeMyQuestionNoTempNull();

            string[] myQuestion = new string[int.Parse(TotalQuestionNo)];

            int j = 0;

            for (int i = 2; i <= int.Parse(TotalQuestionNo) + 1; i++, j++)
            {
                myQuestion[j] = datalines[i];
            }


            directoryDelete();

            this.Hide();

            UserInformation.setQuizNo(onlineQuizSerialNo);

            InformationAnalysis ia = new InformationAnalysis();

            ia.makeValue(myQuestion);
        }
Пример #2
0
        private void buttonAllProblem_Click(object sender, EventArgs e)
        {
            this.Hide();

            UserInformation.setOnlineOrOffline("Offline");
            UserInformation.setAllorSolved("All");
            offlineInformationAnalysis.makeMyQuestionNoTempNull();
            Application.DoEvents();
            offlineInformationAnalysis oia = new offlineInformationAnalysis();

            oia.selectQuestionNo();
        }