Html Editor

This is an HTML editor control. It has similar functionality to the RichTextBox but persists it's text as HTML.

C# (153.7 KB)
 
 
 
 
 
(0)
4,361 times
Add to favorites
2/2/2011
E-mail Twitter del.icio.us Digg Facebook
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
  <PropertyGroup>
    <ProjectType>Local</ProjectType>
    <ProductVersion>8.0.30319</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{5873DE0F-6853-4C8E-91A4-7A6861069A9A}</ProjectGuid>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ApplicationIcon>images\HtmlEditor.ico</ApplicationIcon>
    <AssemblyKeyContainerName />
    <AssemblyName>HTMLEditorControl</AssemblyName>
    <AssemblyOriginatorKeyFile />
    <DefaultClientScript>JScript</DefaultClientScript>
    <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
    <DefaultTargetSchema>IE50</DefaultTargetSchema>
    <DelaySign>false</DelaySign>
    <OutputType>Library</OutputType>
    <RootNamespace>Microsoft.ConsultingServices</RootNamespace>
    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
    <StartupObject />
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
    <OldToolsVersion>0.0</OldToolsVersion>
    <UpgradeBackupLocation />
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <OutputPath>bin\Debug\</OutputPath>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile />
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <DocumentationFile />
    <DebugSymbols>true</DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn />
    <Optimize>false</Optimize>
    <RegisterForComInterop>false</RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel>4</WarningLevel>
    <DebugType>full</DebugType>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <OutputPath>bin\Release\</OutputPath>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile />
    <DefineConstants>TRACE</DefineConstants>
    <DocumentationFile />
    <DebugSymbols>false</DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn />
    <Optimize>true</Optimize>
    <RegisterForComInterop>false</RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel>4</WarningLevel>
    <DebugType>none</DebugType>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>
  <ItemGroup>
    <COMReference Include="AxSHDocVw">
      <Guid>{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}</Guid>
      <VersionMajor>1</VersionMajor>
      <VersionMinor>1</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>aximp</WrapperTool>
    </COMReference>
    <COMReference Include="SHDocVw">
      <Guid>{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}</Guid>
      <VersionMajor>1</VersionMajor>
      <VersionMinor>1</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>tlbimp</WrapperTool>
    </COMReference>
    <Reference Include="Microsoft.mshtml">
      <Name>Microsoft.mshtml</Name>
      <HintPath>..\..\..\..\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll</HintPath>
    </Reference>
    <Reference Include="System">
      <Name>System</Name>
    </Reference>
    <Reference Include="System.Data">
      <Name>System.Data</Name>
    </Reference>
    <Reference Include="System.Drawing">
      <Name>System.Drawing</Name>
    </Reference>
    <Reference Include="System.Web">
      <Name>System.Web</Name>
    </Reference>
    <Reference Include="System.Windows.Forms">
      <Name>System.Windows.Forms</Name>
    </Reference>
    <Reference Include="System.Xml">
      <Name>System.XML</Name>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="EditHtmlForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="EnterHrefForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="EnterImageForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FindReplaceForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FontAttributeForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="HtmlEditorControl.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="HtmlEditorEvents.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="HtmlEnumerations.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="HtmlFontProperty.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="HtmlTableProperty.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="IOleCommandTarget.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="TablePropertyForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Content Include="images\HtmlEditor.ico" />
    <Content Include="images\ToolbarBold.bmp" />
    <Content Include="images\ToolbarCopy.bmp" />
    <Content Include="images\ToolBarCut.bmp" />
    <Content Include="images\ToolbarDelete.bmp" />
    <Content Include="images\ToolbarFind.bmp" />
    <Content Include="images\ToolbarFontColor.bmp" />
    <Content Include="images\ToolbarFontDown.bmp" />
    <Content Include="images\ToolbarFontNormal.bmp" />
    <Content Include="images\ToolbarFontStyle.bmp" />
    <Content Include="images\ToolbarFontUp.bmp" />
    <Content Include="images\ToolbarImage.bmp" />
    <Content Include="images\ToolbarItalic.bmp" />
    <Content Include="images\ToolbarJustifyCenter.bmp" />
    <Content Include="images\ToolbarJustifyLeft.bmp" />
    <Content Include="images\ToolbarJustifyRight.bmp" />
    <Content Include="images\ToolbarLine.bmp" />
    <Content Include="images\ToolbarListOrdered.bmp" />
    <Content Include="images\ToolbarListUnordered.bmp" />
    <Content Include="images\ToolbarPaste.bmp" />
    <Content Include="images\ToolbarProperties.bmp" />
    <Content Include="images\ToolbarRedo.bmp" />
    <Content Include="images\ToolbarTabInsert.bmp" />
    <Content Include="images\ToolbarTable.bmp" />
    <Content Include="images\ToolbarTabRemove.bmp" />
    <Content Include="images\ToolbarUnderline.bmp" />
    <Content Include="images\ToolbarUndo.bmp" />
    <Content Include="images\ToolbarWebLink.bmp" />
    <EmbeddedResource Include="EditHtmlForm.resx">
      <DependentUpon>EditHtmlForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="EnterHrefForm.resx">
      <DependentUpon>EnterHrefForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="EnterImageForm.resx">
      <DependentUpon>EnterImageForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="FindReplaceForm.resx">
      <DependentUpon>FindReplaceForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="FontAttributeForm.resx">
      <DependentUpon>FontAttributeForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="HtmlEditorControl.resx">
      <DependentUpon>HtmlEditorControl.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="TablePropertyForm.resx">
      <DependentUpon>TablePropertyForm.cs</DependentUpon>
    </EmbeddedResource>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <PropertyGroup>
    <PreBuildEvent />
    <PostBuildEvent />
  </PropertyGroup>
</Project>