title: Image Viewer C# next Button
body: <p>Hi i'm doing a simple image viewer in C#. It has 3 button first button contain "Open" and the last two button is "Back and Next" and the picturebox. I'm done with the open button using OpenFileDialog Here's my code in OpenFiledialog:</p>
  
  <pre><code> private void openButton_Click(object sender, EventArgs e)
      {
          OpenFileDialog openFileDialog = new OpenFileDialog();
          openFileDialog.Filter = "JPEG|*.jpg|Bitmaps|*.bmp";
  
          if(openFileDialog.ShowDialog()== DialogResult.OK)
          {
              pictureBox1.Image = Bitmap.FromFile(openFileDialog.FileName);
          }
      }
  </code></pre>
  
  <p>Now this is the problem i don't have idea what code can i use the in "next and back" button. i know it's looping. Need you're help guys thank you..</p>