Beispiel #1
0
        private void Timer_Render(object sender, EventArgs e)
        {
            LibPlayer.RenderOneFrame(render, player);
            int duation = LibPlayer.Player_GetDuation(player);
            int curpos  = LibPlayer.Player_GetCurrentPosition(player);

            process.Minimum = 0;
            process.Maximum = duation;
            process.Value   = curpos;
            process.Update();
            //label1.Text = (++num).ToString();
            //Thread.Sleep(3000);
        }
Beispiel #2
0
        private void buttonGetCurpos_Click(object sender, EventArgs e)
        {
            int seconds = LibPlayer.Player_GetCurrentPosition(player);

            curpos.Text = "curpos: " + seconds.ToString() + " s";
        }