ImageBoxSample/Program.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/Program.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace ImageBoxSample
{
  static class Program
  {
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main()
    {
      Application.EnableVisualStyles();
      Application.SetCompatibleTextRenderingDefault(false);
      Application.Run(new MainForm());
    }
  }
}

Files