Fixing string measurement issues. Font dialog now properly initialized with
loaded font.
     1 <?xml version="1.0" encoding="utf-8"?>
 
     2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 
     3   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
 
     5     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
 
     6     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
 
     7     <ProjectGuid>{1DA8C1B3-18C5-4E74-BE4E-0B0E15FBAF49}</ProjectGuid>
 
     8     <OutputType>WinExe</OutputType>
 
     9     <AppDesignerFolder>Properties</AppDesignerFolder>
 
    10     <RootNamespace>SharpDisplayManager</RootNamespace>
 
    11     <AssemblyName>SharpDisplayManager</AssemblyName>
 
    12     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
 
    13     <FileAlignment>512</FileAlignment>
 
    15   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 
    16     <PlatformTarget>AnyCPU</PlatformTarget>
 
    17     <DebugSymbols>true</DebugSymbols>
 
    18     <DebugType>full</DebugType>
 
    19     <Optimize>false</Optimize>
 
    20     <OutputPath>bin\Debug\</OutputPath>
 
    21     <DefineConstants>DEBUG;TRACE</DefineConstants>
 
    22     <ErrorReport>prompt</ErrorReport>
 
    23     <WarningLevel>4</WarningLevel>
 
    25   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 
    26     <PlatformTarget>AnyCPU</PlatformTarget>
 
    27     <DebugType>pdbonly</DebugType>
 
    28     <Optimize>true</Optimize>
 
    29     <OutputPath>bin\Release\</OutputPath>
 
    30     <DefineConstants>TRACE</DefineConstants>
 
    31     <ErrorReport>prompt</ErrorReport>
 
    32     <WarningLevel>4</WarningLevel>
 
    35     <Reference Include="Microsoft.VisualBasic" />
 
    36     <Reference Include="Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
 
    37     <Reference Include="System" />
 
    38     <Reference Include="System.Core" />
 
    39     <Reference Include="System.Xml.Linq" />
 
    40     <Reference Include="System.Data.DataSetExtensions" />
 
    41     <Reference Include="Microsoft.CSharp" />
 
    42     <Reference Include="System.Data" />
 
    43     <Reference Include="System.Deployment" />
 
    44     <Reference Include="System.Drawing" />
 
    45     <Reference Include="System.Windows.Forms" />
 
    46     <Reference Include="System.Xml" />
 
    49     <Compile Include="CbtHook.cs" />
 
    50     <Compile Include="DialogBox.cs" />
 
    51     <Compile Include="Display.cs" />
 
    52     <Compile Include="MainForm.cs">
 
    53       <SubType>Form</SubType>
 
    55     <Compile Include="MainForm.Designer.cs">
 
    56       <DependentUpon>MainForm.cs</DependentUpon>
 
    58     <Compile Include="MarqueeLabel.cs">
 
    59       <SubType>Component</SubType>
 
    61     <Compile Include="Program.cs" />
 
    62     <Compile Include="Properties\AssemblyInfo.cs" />
 
    63     <Compile Include="Win32API.cs" />
 
    64     <Compile Include="WindowsHook.cs" />
 
    65     <Compile Include="WndProcRetHook.cs" />
 
    66     <EmbeddedResource Include="MainForm.resx">
 
    67       <DependentUpon>MainForm.cs</DependentUpon>
 
    69     <EmbeddedResource Include="Properties\Resources.resx">
 
    70       <Generator>ResXFileCodeGenerator</Generator>
 
    71       <LastGenOutput>Resources.Designer.cs</LastGenOutput>
 
    72       <SubType>Designer</SubType>
 
    74     <Compile Include="Properties\Resources.Designer.cs">
 
    75       <AutoGen>True</AutoGen>
 
    76       <DependentUpon>Resources.resx</DependentUpon>
 
    78     <None Include="Properties\Settings.settings">
 
    79       <Generator>SettingsSingleFileGenerator</Generator>
 
    80       <LastGenOutput>Settings.Designer.cs</LastGenOutput>
 
    82     <Compile Include="Properties\Settings.Designer.cs">
 
    83       <AutoGen>True</AutoGen>
 
    84       <DependentUpon>Settings.settings</DependentUpon>
 
    85       <DesignTimeSharedInput>True</DesignTimeSharedInput>
 
    89     <None Include="App.config" />
 
    91   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 
    92   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
 
    93        Other similar extension points exist, see Microsoft.Common.targets.
 
    94   <Target Name="BeforeBuild">
 
    96   <Target Name="AfterBuild">