예제 #1
0
        public WriteForm(WritePhaseForm writePhase, String levelStr)
        {
            InitializeComponent();
            vAssist = new VoiceAssistant();
            vAssist.SpeakMessage("Write the letter, " + levelStr);
            //axShockwaveFlash2.Movie = @"C:\Users\Abdush Shakoor\Desktop\CSCI321\Flash Files\a.swf";
            //axShockwaveFlash2.Play();
            backBtn.Style = MetroColorStyle.Purple;
            this.levelStr = levelStr;
            letterLabel.Text = levelStr;
            this.writePhase = writePhase;

            letterArr = generateAlphabets(letters);

            WriteCanvas write = new WriteCanvas(this, levelStr);
            elementHost1.Child = write;
            this.Controls.Add(elementHost1);

            playFlash(@"C:\Pres_Proto\V2\MetroFrameworkDLLExample\MetroFrameworkDLLExample\bin\Debug\" + "Class" + LoginForm.classSec + @"_kidFlash\" + levelStr + ".swf");
        }
예제 #2
0
        public WriteForm(WritePhaseForm writePhase, String levelStr)
        {
            InitializeComponent();
            vAssist = new VoiceAssistant();
            vAssist.SpeakMessage("Write the letter, " + levelStr);
            //axShockwaveFlash2.Movie = @"C:\Users\Abdush Shakoor\Desktop\CSCI321\Flash Files\a.swf";
            //axShockwaveFlash2.Play();
            backBtn.Style    = MetroColorStyle.Purple;
            this.levelStr    = levelStr;
            letterLabel.Text = levelStr;
            this.writePhase  = writePhase;

            letterArr = generateAlphabets(letters);

            WriteCanvas write = new WriteCanvas(this, levelStr);

            elementHost1.Child = write;
            this.Controls.Add(elementHost1);

            playFlash(@"C:\Pres_Proto\V2\MetroFrameworkDLLExample\MetroFrameworkDLLExample\bin\Debug\" + "Class" + LoginForm.classSec + @"_kidFlash\" + levelStr + ".swf");
        }