From 1a55e51994e8c147ea27ead66cfc25c8cc8fb512 Mon Sep 17 00:00:00 2001 From: wuestholz Date: Sun, 14 Jul 2013 18:45:12 -0700 Subject: Split up the model viewer into a library and an application and added some functionality. --- Source/BVD/App.config | 6 +++ Source/BVD/BVD.csproj | 99 +++++++++++++++++++++++++++++++++++ Source/BVD/Program.cs | 28 ++++++++++ Source/BVD/Properties/AssemblyInfo.cs | 36 +++++++++++++ 4 files changed, 169 insertions(+) create mode 100644 Source/BVD/App.config create mode 100644 Source/BVD/BVD.csproj create mode 100644 Source/BVD/Program.cs create mode 100644 Source/BVD/Properties/AssemblyInfo.cs (limited to 'Source/BVD') diff --git a/Source/BVD/App.config b/Source/BVD/App.config new file mode 100644 index 00000000..fad249e4 --- /dev/null +++ b/Source/BVD/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Source/BVD/BVD.csproj b/Source/BVD/BVD.csproj new file mode 100644 index 00000000..0b32dd22 --- /dev/null +++ b/Source/BVD/BVD.csproj @@ -0,0 +1,99 @@ + + + + + Debug + AnyCPU + {8A05D14E-F2BF-4890-BBE0-D76B18A50797} + WinExe + Properties + Microsoft.Boogie.ModelViewer + BVD + v4.5 + 512 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + AnyCPU + true + full + false + ..\..\Binaries\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + {a678c6eb-b329-46a9-bbfc-7585f01acd7c} + ModelViewer + + + + + False + Microsoft .NET Framework 4.5 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + + + \ No newline at end of file diff --git a/Source/BVD/Program.cs b/Source/BVD/Program.cs new file mode 100644 index 00000000..669ea995 --- /dev/null +++ b/Source/BVD/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; + +namespace Microsoft.Boogie.ModelViewer +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + Application.Run(new Main(System.Environment.GetCommandLineArgs())); + } + catch (Exception exc) + { + MessageBox.Show(exc.Message, "Model Viewer Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); + } + } + } +} diff --git a/Source/BVD/Properties/AssemblyInfo.cs b/Source/BVD/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..3512374e --- /dev/null +++ b/Source/BVD/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("BVD")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("BVD")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("00610a12-cf4c-4c29-af30-31a99d22b9d8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] -- cgit v1.2.3