ImageBoxSample/MainForm.cs

Download

imageboxsample-part-1.zip

(37.58 KB | 12 August 2010 )

First in a multi part series on creating an image viewer that can be scrolled and zoomed in C#.

Donate

Contents of imageboxsample-part-1.zip/ImageBoxSample/MainForm.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ImageBoxSample
{
  public partial class MainForm : Form
  {

    // ImageBox sample project
    // http://cyotek.com/article/display/creating-a-scrollable-and-zoomable-image-viewer-in-csharp-part-1

    // Preview image based on bwpx.icns - http://paularmstrongdesigns.com/projects/bwpx-icns/

    public MainForm()
    {
      InitializeComponent();
    }
  }
}

Files