Esempio n. 1
0
 public Player()
 {
     InitializeComponent();
     this.mPlayerHelper = new MediaPlayerHelper.MediaPlayer(this.wmPlayer);
 }
Esempio n. 2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     this.Player = new MediaPlayerHelper.MediaPlayer();
     this.trackBarVolume.Value = this.Player.MediaControl.Volume;
     this.lbVolume.Text        = this.trackBarVolume.Value.ToString();
 }