Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Dealing with Progressive Operations

, 10 May 2010
Through a clean OOP solution to deal with progressive operations, I will implicitly show you how OOP principles can work together to make a full, clean solution.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.30729</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{6E65C311-7003-41F7-8DAE-F4BC6AFCD6A4}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Erik.Utilities</RootNamespace>
    <AssemblyName>Erik.Utilities</AssemblyName>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
  </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.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml.Linq">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data.DataSetExtensions">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Bases\BackgroundCompositePO.cs" />
    <Compile Include="Bases\BaseProgressiveOperation.cs" />
    <Compile Include="Bases\BackgroundCompositePO_ThreadPool.cs" />
    <Compile Include="Bases\CompositePO.cs" />
    <Compile Include="Interfaces\IAbortable.cs" />
    <Compile Include="Interfaces\ICompositeProgressiveOperation.cs" />
    <Compile Include="Interfaces\IProgressiveOperation.cs" />
    <Compile Include="Lib.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Threading\AbortableThreadPool.cs" />
    <Compile Include="WinFormsUI\frmModalCompositeProgressForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="WinFormsUI\frmModalCompositeProgressForm.Designer.cs">
      <DependentUpon>frmModalCompositeProgressForm.cs</DependentUpon>
    </Compile>
    <Compile Include="WinFormsUI\frmModalProgressForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="WinFormsUI\frmModalProgressForm.Designer.cs">
      <DependentUpon>frmModalProgressForm.cs</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="WinFormsUI\frmModalCompositeProgressForm.resx">
      <DependentUpon>frmModalCompositeProgressForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="WinFormsUI\frmModalProgressForm.resx">
      <DependentUpon>frmModalProgressForm.cs</DependentUpon>
    </EmbeddedResource>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\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)

About the Author

_Erik_
Technical Lead
Spain Spain
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 10 May 2010
Article Copyright 2010 by _Erik_
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid