Esempio n. 1
0
 private void PlayButton_Click(object sender, EventArgs e)
 {
     if (isPlaying == false)
     {
         isPlaying = true;
         test      = new TestPlaybackEngine();
         test.Start();
     }
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            // Commandpattern setup

            // Temp
            string s = "6t0";
            int    i = Int32.Parse(s.Substring(0, Char.IsNumber(s[1]) == true ? 2 : 1)) - 1;

            Console.WriteLine(i);
            TestPlaybackEngine test = new TestPlaybackEngine();

            using (test)
            {
                test.Start();
                Console.ReadLine();
                test.Stop();
            }
        }