public uiCHSTRAS_091_Memory(Form form, SHF_BT.btSHFUserLogin shfUserLogin,
            SHF_BT.btSHFUnitPractice shfUnitPratice, int courseType)
            : base(form, shfUserLogin, shfUnitPratice, courseType)
        {
            InitializeComponent();

            pictureBox = new PictureBox[] { pictureBox1, pictureBox2, pictureBox3, pictureBox4};
            itemNumber = pictureBox.Length;
            memory = new btCHSTRAS_091_Memory(shfUserLogin, shfUnitPratice, courseType, itemNumber);
            totalNumber = memory.getSize();
            next();
        }
        public uiCHSTRAS_091_Teach(Form form, SHF_BT.btSHFUserLogin shfUserLogin,
            SHF_BT.btSHFUnitPractice shfUnitPratice, int courseType)
            : base(form, shfUserLogin, shfUnitPratice, courseType)
        {
            InitializeComponent();

            pictureBox = new PictureBox[] { pictureBox1, pictureBox2 };
            label = new Label[] { label1, label2 };
            itemNumber = label.Length;
            bt = new btCHSTRAS_091_Teach(shfUserLogin, shfUnitPratice, courseType);
            totalNumber = bt.getTotal();
            next();
        }
示例#3
0
        public uiCHSTRAS_091_Teach(Form form, SHF_BT.btSHFUserLogin shfUserLogin, SHF_BT.btSHFUnitPractice shfUnitPratice)
            : base(form, shfUserLogin, shfUnitPratice)
        {
            InitializeComponent();

            pictureBox = new PictureBox[] { pictureBox1, pictureBox2 };
            label = new Label[] { label1, label2 };
            number = label.Length;
            bt = new btCHSTRAS_091_Teach(shfUserLogin, shfUnitPratice);
            buttonBackward.Enabled = false;
            totalNum = bt.getTotal();
            this.labelTotal.Text += totalNum;
            next();
        }
        public uiCHSTRAS_091_Puzzle(Form form, SHF_BT.btSHFUserLogin shfUserLogin,
            SHF_BT.btSHFUnitPractice shfUnitPratice, int courseType)
            : base(form, shfUserLogin, shfUnitPratice, courseType)
        {
            InitializeComponent();

            pictureBoxL = new PictureBox[] { pictureBoxL1, pictureBoxL2, pictureBoxL3,
                pictureBoxL4, pictureBoxL5, pictureBoxL6, pictureBoxL7, pictureBoxL8, pictureBoxL9 };
            pictureBoxR = new PictureBox[] { pictureBoxR1, pictureBoxR2, pictureBoxR3,
                pictureBoxR4, pictureBoxR5, pictureBoxR6, pictureBoxR7, pictureBoxR8, pictureBoxR9 };
            itemNumber = pictureBoxL.Length;
            puzzle = new btCHSTRAS_091_Puzzle(shfUserLogin, shfUnitPratice, courseType, itemNumber);
            totalNumber = puzzle.getSize();
            next();
        }
        public uiCHSTRAS_091_Link(Form form, SHF_BT.btSHFUserLogin shfUserLogin,
            SHF_BT.btSHFUnitPractice shfUnitPratice, int courseType)
            : base(form, shfUserLogin, shfUnitPratice, courseType)
        {
            InitializeComponent();

            pictureBox = new PictureBox[] { pictureBox1, pictureBox2, pictureBox3, pictureBox4 };
            label = new Label[] { label1, label2, label3, label4 };
            itemNumber = label.Length;
            bt = new btCHSTRAS_091_Link(shfUserLogin, shfUnitPratice, courseType, itemNumber);
            totalNumber = bt.getSize();
            status = new btCHSTRAS_091_Link_Status(itemNumber);
            file = new btCHSTRAS_091_File();
            answeredNumber--;//由于点击两次下一个按钮才会到下一题,会多记一次。
            getPoint();
            next();
        }
        public uiCHSTRAS_091_Fault(Form form, SHF_BT.btSHFUserLogin shfUserLogin,
            SHF_BT.btSHFUnitPractice shfUnitPractice, int courseType)
            : base(form, shfUserLogin, shfUnitPractice, courseType)
        {
            InitializeComponent();

            this.shfUserLogin = shfUserLogin;
            this.shfUnitPractice = shfUnitPractice;
            pictureBox = new PictureBox[]{pictureBox1, pictureBox2, pictureBox3,
                pictureBox4, pictureBox5, pictureBox6};
            label = new Label[] { label1, label2, label3, label4, label5, label6 };
            radioButton = new RadioButton[] { radioButton1, radioButton2,
                radioButton3, radioButton4, radioButton5};
            itemNumber = label.Length;
            fault = new btCHSTRAS_091_Fault(shfUserLogin,
                shfUnitPractice, courseType, itemNumber);
            totalNumber = fault.getSize();
            next();
        }
 public uiEGLPABC_CourseShow1(Form callme, SHF_BT.btSHFUserLogin shfUserLogin)
     : base(callme, shfUserLogin)
 {
     InitializeComponent();
 }
 public uiEGLPABC_ScoreShow1( Form callme, SHF_BT.btSHFUserLogin shfUserLogin)
     : base(callme, shfUserLogin)
 {
     InitializeComponent();
     StudentID = shfUserLogin.UserID;
 }
示例#9
0
 public uiCHSTRAS_091_Link(Form form, SHF_BT.btSHFUserLogin shfUserLogin, SHF_BT.btSHFUnitPractice shfUnitPratice)
     : base(form, shfUserLogin, shfUnitPratice)
 {
     InitializeComponent();
 }