Exemple #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);
        }
Exemple #2
0
 private void buttonRenderOneFrame_Click(object sender, EventArgs e)
 {
     LibPlayer.RenderOneFrame(render, player);
 }