Click here to Skip to main content
12,697,783 members (26,321 online)
Click here to Skip to main content
Articles » Languages » C# » Applications » Downloads

Stats

200.9K views
2.4K downloads
272 bookmarked
Posted

Context Help Made Easy

, 2 Feb 2007 CPOL
This article introduces a new way of instrumenting your code that enables help authors associate help topics with the application’s visual contexts at any time - even post-compilation – and to do so using the application’s user interface without the involvement of the developer.
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{0C49BDE9-6ADB-448F-A6E3-C677009EB625}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>ContextHelpMadeEasy</RootNamespace>
    <AssemblyName>ContextHelpMadeEasy</AssemblyName>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Deployment" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="FormEx.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FormEx.Designer.cs">
      <DependentUpon>FormEx.cs</DependentUpon>
    </Compile>
    <Compile Include="HelpControls.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="FHelpMappingDialog.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FHelpMappingDialog.Designer.cs">
      <DependentUpon>FHelpMappingDialog.cs</DependentUpon>
    </Compile>
    <Compile Include="HelpUtility.cs" />
    <Compile Include="SettingsConfiguration.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="SettingsConfiguration.Designer.cs">
      <DependentUpon>SettingsConfiguration.cs</DependentUpon>
    </Compile>
    <Compile Include="SettingsGeneral.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="SettingsGeneral.Designer.cs">
      <DependentUpon>SettingsGeneral.cs</DependentUpon>
    </Compile>
    <Compile Include="FTestApplication.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FTestApplication.Designer.cs">
      <DependentUpon>FTestApplication.cs</DependentUpon>
    </Compile>
    <Compile Include="FSettings.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FSettings.Designer.cs">
      <DependentUpon>FSettings.cs</DependentUpon>
    </Compile>
    <Compile Include="UI1LeftSide.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI1LeftSide.Designer.cs">
      <DependentUpon>UI1LeftSide.cs</DependentUpon>
    </Compile>
    <Compile Include="UI1RightSide.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI1RightSide.Designer.cs">
      <DependentUpon>UI1RightSide.cs</DependentUpon>
    </Compile>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <EmbeddedResource Include="FHelpMappingDialog.resx">
      <DependentUpon>FHelpMappingDialog.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="FormEx.resx">
      <SubType>Designer</SubType>
      <DependentUpon>FormEx.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI1LeftSide.resx">
      <SubType>Designer</SubType>
      <DependentUpon>UI1LeftSide.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI1RightSide.resx">
      <SubType>Designer</SubType>
      <DependentUpon>UI1RightSide.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="SettingsConfiguration.resx">
      <SubType>Designer</SubType>
      <DependentUpon>SettingsConfiguration.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="SettingsGeneral.resx">
      <SubType>Designer</SubType>
      <DependentUpon>SettingsGeneral.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="FTestApplication.resx">
      <SubType>Designer</SubType>
      <DependentUpon>FTestApplication.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="FSettings.resx">
      <SubType>Designer</SubType>
      <DependentUpon>FSettings.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Resources.resx</DependentUpon>
      <DesignTime>True</DesignTime>
    </Compile>
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
    <Compile Include="UserControlEx.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UserControlEx.Designer.cs">
      <DependentUpon>UserControlEx.cs</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\Sphere.png" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Tom Clement
Product Manager
United States United States
I've been programming in C, C++, Visual Basic and C# for over 30 years. I've worked at Sierra Systems, ViewStar, Mosaix, Lucent, Avaya, Avinon, Apptero, Serena and now Guidewire Software in various roles over my career.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 2 Feb 2007
Article Copyright 2007 by Tom Clement
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid