Click here to Skip to main content
15,885,278 members
Articles / Programming Languages / C#

Displaying a Dialog Box in SCSF

Rate me:
Please Sign up or sign in to vote.
4.00/5 (6 votes)
28 Aug 2008CPOL2 min read 37.6K   444   16  
This article explains how to display a dialog box in SCSF.
<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>{3FB0D9C3-4444-48B7-9FD2-05CA9B2F7960}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>DialogBox.Infrastructure.Interface</RootNamespace>
    <AssemblyName>Infrastructure.Interface</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="Microsoft.Practices.CompositeUI, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\Lib\Microsoft.Practices.CompositeUI.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.Practices.CompositeUI.WinForms, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\Lib\Microsoft.Practices.CompositeUI.WinForms.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\Lib\Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.Practices.ObjectBuilder, Version=1.0.51206.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\Lib\Microsoft.Practices.ObjectBuilder.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Windows.Forms" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Constants\CommandNames.cs" />
    <Compile Include="Constants\EventTopicNames.cs" />
    <Compile Include="Constants\UIExtensionSiteNames.cs" />
    <Compile Include="Constants\WorkspaceNames.cs" />
    <Compile Include="Services\EntityTranslatorException.cs" />
    <Compile Include="Services\IActionCatalogService.cs" />
    <Compile Include="Services\IActionCondition.cs" />
    <Compile Include="Services\IEntityTranslator.cs" />
    <Compile Include="Services\IEntityTranslatorService.cs" />
    <Compile Include="Services\IImpersonationContext.cs" />
    <Compile Include="Services\IImpersonationService.cs" />
    <Compile Include="Services\IWorkspaceLocatorService.cs" />
    <Compile Include="ActionAttribute.cs" />
    <Compile Include="ControlledWorkItem.cs" />
    <Compile Include="EventArgs.cs" />
    <Compile Include="IWorkItemController.cs" />
    <Compile Include="Presenter.cs" />
    <Compile Include="WorkItemController.cs" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="BusinessEntities\" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</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
Software Developer (Senior) CreatorsNepal IT Solutions Pvt. Ltd.
Nepal Nepal
If you have any questions, you can also write me at:
anil_157@hotmail.com

Comments and Discussions