git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1058 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
bob
2007-06-21 10:57:41 +00:00
parent 3b1a1e3938
commit 1cce1cbac0
14 changed files with 579 additions and 63 deletions

32
ShpViewer/Program.cs Normal file
View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;
namespace ShpViewer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault( false );
try
{
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "SHP Files|*.shp";
if( ofd.ShowDialog() == DialogResult.OK )
Application.Run( new ShpViewForm( ofd.FileName ) );
}
catch( Exception e )
{
MessageBox.Show( e.ToString() );
}
}
}
}