public static void Main() { PuzzleForm f = new PuzzleForm(); // create Form Application.Run(f); // special method to launch application // and provide event thread }
public Tile(Image img, int index, PuzzleForm form) { this.img = img; this.value = index; this.form = form; }