Custom media player
<p>how can i create progress bar and a playlist for a media player??
im making my own media player in C#
can anyone help plz??!!</p>

<blockquote>
  <p>Blockquote</p>
</blockquote>

<pre><code>public IMediaControl  mc =null;
    public IMediaPosition m=null;
    // Hold a form-level reference to the video window in case it
    // needs to be resized.
    public IVideoWindow videoWindow = null;

OpenFileDialog openFileDialog = new OpenFileDialog();
        openFileDialog.Filter =
        "Media Files|*.mpg;*.avi;*.wma;*.mov;*.wav;*.mp2;*.mp3|" +
        "All Files|*.*";
        if (DialogResult.OK == openFileDialog.ShowDialog())
        {
            // Stop the playback for the current movie, if it exists.
            if (mc != null) mc.Stop();
            // Load the movie file.
            FilgraphManager graphManager = new FilgraphManager();
            graphManager.RenderFile(openFileDialog.FileName);

 mc = (IMediaControl)graphManager;
            mc.Run();
</code></pre>

<blockquote>
  <p>Blockquote</p>
</blockquote>

<p>this is code i wrote...i want this to work</p>

<blockquote>
  <p>Blockquote</p>
</blockquote>

<pre><code>mc.CurrentPosition = this.progressBar1.Value;
</code></pre>

<blockquote>
  <p>Blockquote
   but it doesnt...??? HELP!!</p>
</blockquote>
