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

Persian Calendar with Tray Icon

Rate me:
Please Sign up or sign in to vote.
3.71/5 (16 votes)
12 Mar 2012CPOL2 min read 71.2K   2.4K   27  
A Persian calendar that shows a tray icon
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.21022</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{41C99961-5642-4F81-A222-0C5E74DA8A2A}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>mytray</RootNamespace>
    <AssemblyName>mytray</AssemblyName>
    <ApplicationIcon>Resources\icon1.ico</ApplicationIcon>
    <SccProjectName>
    </SccProjectName>
    <SccLocalPath>
    </SccLocalPath>
    <SccAuxPath>
    </SccAuxPath>
    <SccProvider>
    </SccProvider>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
    <OldToolsVersion>2.0</OldToolsVersion>
    <IsWebBootstrapper>false</IsWebBootstrapper>
    <ManifestCertificateThumbprint>64BBED2722DB6B95EAFEE1576614FAE3DA577100</ManifestCertificateThumbprint>
    <ManifestKeyFile>mytray_TemporaryKey.pfx</ManifestKeyFile>
    <GenerateManifests>true</GenerateManifests>
    <SignManifests>true</SignManifests>
    <PublishUrl>C:\Documents and Settings\Mohamad\Desktop\testpublic\</PublishUrl>
    <Install>true</Install>
    <InstallFrom>Disk</InstallFrom>
    <UpdateEnabled>false</UpdateEnabled>
    <UpdateMode>Foreground</UpdateMode>
    <UpdateInterval>7</UpdateInterval>
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    <UpdatePeriodically>false</UpdatePeriodically>
    <UpdateRequired>false</UpdateRequired>
    <MapFileExtensions>true</MapFileExtensions>
    <ApplicationRevision>2</ApplicationRevision>
    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    <UseApplicationTrust>false</UseApplicationTrust>
    <BootstrapperEnabled>true</BootstrapperEnabled>
  </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="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
    <Reference Include="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <Reference Include="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <Reference Include="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
    <Reference Include="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
    <Reference Include="CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Deployment" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Web" />
    <Reference Include="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll</HintPath>
    </Reference>
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Calender.cs" />
    <Compile Include="Form_TaskPrint.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form_TaskPrint.Designer.cs">
      <DependentUpon>Form_TaskPrint.cs</DependentUpon>
    </Compile>
    <Compile Include="CrystalReport_task.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>CrystalReport_task.rpt</DependentUpon>
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="CrystalReport_taskall.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>CrystalReport_taskall.rpt</DependentUpon>
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="DataBase.cs" />
    <Compile Include="Form_About.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form_About.Designer.cs">
      <DependentUpon>Form_About.cs</DependentUpon>
    </Compile>
    <Compile Include="Form_Main.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form_Main.Designer.cs">
      <DependentUpon>Form_Main.cs</DependentUpon>
    </Compile>
    <Compile Include="Form_Calendar.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form_Calendar.Designer.cs">
      <DependentUpon>Form_Calendar.cs</DependentUpon>
    </Compile>
    <Compile Include="Form_print.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form_print.Designer.cs">
      <DependentUpon>Form_print.cs</DependentUpon>
    </Compile>
    <Compile Include="Form_Settings.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form_Settings.Designer.cs">
      <DependentUpon>Form_Settings.cs</DependentUpon>
    </Compile>
    <Compile Include="Form_Task.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form_Task.Designer.cs">
      <DependentUpon>Form_Task.cs</DependentUpon>
    </Compile>
    <Compile Include="Form_tip.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form_tip.Designer.cs">
      <DependentUpon>Form_tip.cs</DependentUpon>
    </Compile>
    <Compile Include="In_DataSet.cs">
      <DependentUpon>In_DataSet.xsd</DependentUpon>
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <EmbeddedResource Include="Form_TaskPrint.resx">
      <DependentUpon>Form_TaskPrint.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="CrystalReport_task.rpt">
      <Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
      <LastGenOutput>CrystalReport_task.cs</LastGenOutput>
    </EmbeddedResource>
    <EmbeddedResource Include="CrystalReport_taskall.rpt">
      <Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
      <LastGenOutput>CrystalReport_taskall.cs</LastGenOutput>
    </EmbeddedResource>
    <EmbeddedResource Include="Form_About.resx">
      <SubType>Designer</SubType>
      <DependentUpon>Form_About.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Form_Calendar.resx">
      <SubType>Designer</SubType>
      <DependentUpon>Form_Calendar.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Form_Main.resx">
      <SubType>Designer</SubType>
      <DependentUpon>Form_Main.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Form_print.resx">
      <SubType>Designer</SubType>
      <DependentUpon>Form_print.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Form_Settings.resx">
      <SubType>Designer</SubType>
      <DependentUpon>Form_Settings.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Form_Task.resx">
      <SubType>Designer</SubType>
      <DependentUpon>Form_Task.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Form_tip.resx">
      <SubType>Designer</SubType>
      <DependentUpon>Form_tip.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <SubType>Designer</SubType>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
    <Compile Include="Settings.cs" />
    <Compile Include="In_DataSet.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>In_DataSet.xsd</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon31.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon1.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon2.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon3.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon4.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon5.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon6.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon7.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon8.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon9.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon10.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon11.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon12.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon13.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon14.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon15.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon16.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon17.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon18.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon19.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon20.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon21.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon22.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon23.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon24.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon25.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon26.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon27.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon28.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\icon29.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="app.config" />
    <None Include="Resources\icon30.ico" />
  </ItemGroup>
  <ItemGroup>
    <None Include="ClassDiagram2.cd" />
    <None Include="mytray_TemporaryKey.pfx" />
    <None Include="Resources\tumb.jpg" />
    <None Include="In_DataSet.xsc">
      <DependentUpon>In_DataSet.xsd</DependentUpon>
    </None>
    <None Include="In_DataSet.xsd">
      <SubType>Designer</SubType>
      <Generator>MSDataSetGenerator</Generator>
      <LastGenOutput>In_DataSet.Designer.cs</LastGenOutput>
    </None>
    <None Include="In_DataSet.xss">
      <DependentUpon>In_DataSet.xsd</DependentUpon>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Content Include="hijri.mdb">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <Service Include="{967B4E0D-AD0C-4609-AB67-0FA40C0206D8}" />
  </ItemGroup>
  <ItemGroup>
    <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
      <Visible>False</Visible>
      <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
  </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
Engineer neyshabur azad univeristy
Iran (Islamic Republic of) Iran (Islamic Republic of)
I had worked as programmer,project manager,web developer for more than 3 years, and have worked on programming personaly for more than 10 years.
I have worked in university as a teacher for 8 years.
my favorite langueges are : VC++,C#,ASP.NET,PHP

Comments and Discussions