Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();
            player = new Player();

            timer1 = new Timer();
            timer1.Interval = 50;
            timer1.Tick += new EventHandler(timer1_Tick);

            timer2 = new Timer();
            timer2.Interval = 1000;
            timer2.Tick += new EventHandler(timer2_Tick);
        }
Esempio n. 2
0
 public CoreAPI()
 {
     player = new Player();
 }