public PlayerFrm(CPlayer.FFmpeg ffmpeg) { //this.KeyPreview = true; this.FFmpeg = ffmpeg; this.stoped = false; this.volume0 = false; this.seeking = false; this.volume = 128; this.timer = new Timer(); this.FormBorderStyle = FormBorderStyle.None; this.MinimumSize = new Size(313, 76); InitializeComponent(); this.duration = ffmpeg.Duration; this.TotalTime.Text = this.FormatTime(duration, true); this.SeekTrackBar.MaxValue = (int)(duration / 1000000); }
public VideoForm(CPlayer.FFmpeg ffmpeg) : base(ffmpeg) { this.vp = new CPlayer.VideoPlayer(ffmpeg); }
public AudioForm(CPlayer.FFmpeg ffmpeg) : base(ffmpeg) { this.ap = new CPlayer.AudioPlayer(ffmpeg); this.Height = 301; }