Click here to Skip to main content
15,895,423 members
Articles / Web Development / ASP.NET

Image Gallery 1.0

Rate me:
Please Sign up or sign in to vote.
3.47/5 (36 votes)
29 Feb 2008CPOL3 min read 97.4K   1.7K   69  
An article on how to create an advanced web custom control for image display.
<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>{7E9D399B-E023-4AC9-9883-ADD51A49C713}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>ImageGallery</RootNamespace>
    <AssemblyName>ImageGallery</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.Design" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Management" />
    <Reference Include="System.Web" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Design\EditorServiceContext.cs" />
    <Compile Include="Design\frmFormat.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Design\frmFormat.Designer.cs">
      <DependentUpon>frmFormat.cs</DependentUpon>
    </Compile>
    <Compile Include="Design\GalleryActionList.cs" />
    <Compile Include="Design\GalleryDesigner.cs" />
    <Compile Include="Design\ImageFolderEditor.cs" />
    <Compile Include="Image.cs" />
    <Compile Include="ImageChangeStyle.cs" />
    <Compile Include="ImageCollection.cs" />
    <Compile Include="Gallery.cs" />
    <Compile Include="JavaScript.cs" />
    <Compile Include="NavigationBarButtonType.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Resource1.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resource1.resx</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="res\ImageRotator.js" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Design\frmFormat.resx">
      <SubType>Designer</SubType>
      <DependentUpon>frmFormat.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Resource1.resx">
      <SubType>Designer</SubType>
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resource1.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <EmbeddedResource Include="res\logo.jpg" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\gray.jpg" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\blue.jpg" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\remove.jpg" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\JavaScript.txt" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\black.jpg" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Gallery.bmp" />
  </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)


Written By
Chief Technology Officer
Pakistan Pakistan
Passion and positive dedication is essential part of success. I believe on hardworking and sharing knowledge with others. I always try to be a better than I am and think positive for positive result.

My Blogs

My Linked-In Profile

Comments and Discussions