Skip to content

Commit 0fedfb3

Browse files
committed
Initial Version
Signed-off-by: Yang, Dennis <[email protected]>
0 parents  commit 0fedfb3

File tree

70 files changed

+11864
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+11864
-0
lines changed

API/Help/LastBuild.log

+383
Large diffs are not rendered by default.

API/Help/MyHelper4Web API.chm

574 KB
Binary file not shown.

API/MyHelper API.shfbproj

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3+
<PropertyGroup>
4+
<!-- The configuration and platform will be used to determine which
5+
assemblies to include from solution and project documentation
6+
sources -->
7+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
8+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
9+
<SchemaVersion>2.0</SchemaVersion>
10+
<ProjectGuid>{40a12431-21f8-409c-89f9-08e0aff5cc44}</ProjectGuid>
11+
<SHFBSchemaVersion>1.9.5.0</SHFBSchemaVersion>
12+
<!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual
13+
Studio adds them anyway -->
14+
<AssemblyName>Documentation</AssemblyName>
15+
<RootNamespace>Documentation</RootNamespace>
16+
<Name>Documentation</Name>
17+
<!-- SHFB properties -->
18+
<OutputPath>.\Help\</OutputPath>
19+
<HtmlHelpName>MyHelper4Web API</HtmlHelpName>
20+
<Language>en-US</Language>
21+
<DocumentationSources>
22+
<DocumentationSource sourceFile="..\MyHelper\bin\Release\MyHelper4Web.dll" />
23+
<DocumentationSource sourceFile="..\MyHelper\bin\Release\MyHelper4Web.xml" /></DocumentationSources>
24+
<BuildAssemblerVerbosity>OnlyErrors</BuildAssemblerVerbosity>
25+
<HelpFileFormat>HtmlHelp1</HelpFileFormat>
26+
<IndentHtml>False</IndentHtml>
27+
<FrameworkVersion>.NET Framework 3.5</FrameworkVersion>
28+
<KeepLogFile>False</KeepLogFile>
29+
<DisableCodeBlockComponent>False</DisableCodeBlockComponent>
30+
<CppCommentsFixup>False</CppCommentsFixup>
31+
<CleanIntermediates>True</CleanIntermediates>
32+
<SyntaxFilters>CSharp, VisualBasic, CPlusPlus, FSharp</SyntaxFilters>
33+
<SdkLinkTarget>Blank</SdkLinkTarget>
34+
<RootNamespaceContainer>False</RootNamespaceContainer>
35+
<PresentationStyle>VS2010</PresentationStyle>
36+
<Preliminary>False</Preliminary>
37+
<NamingMethod>Guid</NamingMethod>
38+
<HelpTitle>The Document of MyHelper4Web API</HelpTitle>
39+
<ContentPlacement>AboveNamespaces</ContentPlacement>
40+
<VisibleItems>None</VisibleItems>
41+
<ProjectSummary>常用 C# 帮助类集合 for WebForm 版</ProjectSummary>
42+
<NamespaceSummaries>
43+
<NamespaceSummaryItem name="MyHelper4Web" isDocumented="True">常用 C# 帮助类集合 for WebForm 版</NamespaceSummaryItem>
44+
</NamespaceSummaries>
45+
<HeaderText>通用 C# 操作类 (WebForm 版)</HeaderText>
46+
<FeedbackEMailLinkText>提交反馈</FeedbackEMailLinkText>
47+
<FeedbackEMailAddress>duluohua%40hotmail.com</FeedbackEMailAddress>
48+
<CopyrightText>2012 Copyright Yang, Dennis</CopyrightText>
49+
<CopyrightHref>http://www.cnblogs.com/flashbar/</CopyrightHref>
50+
</PropertyGroup>
51+
<!-- There are no properties for these groups. AnyCPU needs to appear in
52+
order for Visual Studio to perform the build. The others are optional
53+
common platform types that may appear. -->
54+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
55+
</PropertyGroup>
56+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
57+
</PropertyGroup>
58+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
59+
</PropertyGroup>
60+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
61+
</PropertyGroup>
62+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
63+
</PropertyGroup>
64+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
65+
</PropertyGroup>
66+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
67+
</PropertyGroup>
68+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
69+
</PropertyGroup>
70+
<!-- Import the SHFB build targets -->
71+
<Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" />
72+
</Project>

API/MyHelper API.shfbproj_hyang13

4.87 KB
Binary file not shown.

Demo/Demo.csproj

+117
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>
7+
</ProductVersion>
8+
<SchemaVersion>2.0</SchemaVersion>
9+
<ProjectGuid>{71ACFFF4-3C32-40D0-8FE7-FF5B62E23E0A}</ProjectGuid>
10+
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
11+
<OutputType>Library</OutputType>
12+
<AppDesignerFolder>Properties</AppDesignerFolder>
13+
<RootNamespace>Demo</RootNamespace>
14+
<AssemblyName>Demo</AssemblyName>
15+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
16+
<UseIISExpress>false</UseIISExpress>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<DebugSymbols>true</DebugSymbols>
20+
<DebugType>full</DebugType>
21+
<Optimize>false</Optimize>
22+
<OutputPath>bin\</OutputPath>
23+
<DefineConstants>DEBUG;TRACE</DefineConstants>
24+
<ErrorReport>prompt</ErrorReport>
25+
<WarningLevel>4</WarningLevel>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\</OutputPath>
31+
<DefineConstants>TRACE</DefineConstants>
32+
<ErrorReport>prompt</ErrorReport>
33+
<WarningLevel>4</WarningLevel>
34+
</PropertyGroup>
35+
<ItemGroup>
36+
<Reference Include="Microsoft.CSharp" />
37+
<Reference Include="System.Web.DynamicData" />
38+
<Reference Include="System.Web.Entity" />
39+
<Reference Include="System.Web.ApplicationServices" />
40+
<Reference Include="System" />
41+
<Reference Include="System.Data" />
42+
<Reference Include="System.Core" />
43+
<Reference Include="System.Data.DataSetExtensions" />
44+
<Reference Include="System.Web.Extensions" />
45+
<Reference Include="System.Xml.Linq" />
46+
<Reference Include="System.Drawing" />
47+
<Reference Include="System.Web" />
48+
<Reference Include="System.Xml" />
49+
<Reference Include="System.Configuration" />
50+
<Reference Include="System.Web.Services" />
51+
<Reference Include="System.EnterpriseServices" />
52+
</ItemGroup>
53+
<ItemGroup>
54+
<Content Include="DemoMyAppConfig.aspx" />
55+
<Content Include="DemoMyExcel.aspx" />
56+
<Content Include="Web.config">
57+
<SubType>Designer</SubType>
58+
</Content>
59+
<Content Include="Web.Debug.config">
60+
<DependentUpon>Web.config</DependentUpon>
61+
</Content>
62+
<Content Include="Web.Release.config">
63+
<DependentUpon>Web.config</DependentUpon>
64+
</Content>
65+
</ItemGroup>
66+
<ItemGroup>
67+
<Compile Include="DemoMyAppConfig.aspx.cs">
68+
<DependentUpon>DemoMyAppConfig.aspx</DependentUpon>
69+
<SubType>ASPXCodeBehind</SubType>
70+
</Compile>
71+
<Compile Include="DemoMyAppConfig.aspx.designer.cs">
72+
<DependentUpon>DemoMyAppConfig.aspx</DependentUpon>
73+
</Compile>
74+
<Compile Include="DemoMyExcel.aspx.cs">
75+
<DependentUpon>DemoMyExcel.aspx</DependentUpon>
76+
<SubType>ASPXCodeBehind</SubType>
77+
</Compile>
78+
<Compile Include="DemoMyExcel.aspx.designer.cs">
79+
<DependentUpon>DemoMyExcel.aspx</DependentUpon>
80+
</Compile>
81+
<Compile Include="Properties\AssemblyInfo.cs" />
82+
</ItemGroup>
83+
<ItemGroup>
84+
<ProjectReference Include="..\MyHelper\MyHelper4Web.csproj">
85+
<Project>{3C841BC9-73E7-488F-A879-ECBD943F4193}</Project>
86+
<Name>MyHelper4Web</Name>
87+
</ProjectReference>
88+
</ItemGroup>
89+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
90+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
91+
<ProjectExtensions>
92+
<VisualStudio>
93+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
94+
<WebProjectProperties>
95+
<UseIIS>False</UseIIS>
96+
<AutoAssignPort>True</AutoAssignPort>
97+
<DevelopmentServerPort>2133</DevelopmentServerPort>
98+
<DevelopmentServerVPath>/</DevelopmentServerVPath>
99+
<IISUrl>
100+
</IISUrl>
101+
<NTLMAuthentication>False</NTLMAuthentication>
102+
<UseCustomServer>False</UseCustomServer>
103+
<CustomServerUrl>
104+
</CustomServerUrl>
105+
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
106+
</WebProjectProperties>
107+
</FlavorProperties>
108+
</VisualStudio>
109+
</ProjectExtensions>
110+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
111+
Other similar extension points exist, see Microsoft.Common.targets.
112+
<Target Name="BeforeBuild">
113+
</Target>
114+
<Target Name="AfterBuild">
115+
</Target>
116+
-->
117+
</Project>

Demo/Demo.csproj.user

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ProjectExtensions>
4+
<VisualStudio>
5+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
6+
<WebProjectProperties>
7+
<StartPageUrl>DemoMyAppConfig.aspx</StartPageUrl>
8+
<StartAction>SpecificPage</StartAction>
9+
<AspNetDebugging>True</AspNetDebugging>
10+
<SilverlightDebugging>False</SilverlightDebugging>
11+
<NativeDebugging>False</NativeDebugging>
12+
<SQLDebugging>False</SQLDebugging>
13+
<ExternalProgram>
14+
</ExternalProgram>
15+
<StartExternalURL>
16+
</StartExternalURL>
17+
<StartCmdLineArguments>
18+
</StartCmdLineArguments>
19+
<StartWorkingDirectory>
20+
</StartWorkingDirectory>
21+
<EnableENC>False</EnableENC>
22+
<AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
23+
</WebProjectProperties>
24+
</FlavorProperties>
25+
</VisualStudio>
26+
</ProjectExtensions>
27+
</Project>

Demo/DemoMyAppConfig.aspx

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DemoMyAppConfig.aspx.cs" Inherits="Demo.DemoMyAppConfig" %>
2+
3+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4+
5+
<html xmlns="http://www.w3.org/1999/xhtml">
6+
<head runat="server">
7+
<title></title>
8+
</head>
9+
<body>
10+
<form id="form1" runat="server">
11+
<div>
12+
13+
</div>
14+
</form>
15+
</body>
16+
</html>

Demo/DemoMyAppConfig.aspx.cs

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using System;
2+
using MyHelper4Web;
3+
4+
namespace Demo
5+
{
6+
public partial class DemoMyAppConfig : System.Web.UI.Page
7+
{
8+
protected void Page_Load(object sender, EventArgs e)
9+
{
10+
Response.Write(Run());
11+
}
12+
13+
private string Run()
14+
{
15+
const string format = "Before: {0} After: {1}";
16+
17+
var config = new MyAppConfigHelper("Web.config");
18+
string s1= config.AppConfigGet("IsSmtp");
19+
config.AppConfigSet("IsSmtp", DateTime.Now.ToString("hh:mm:ss"));
20+
string s2 = config.AppConfigGet("IsSmtp");
21+
22+
return string.Format(format, s1, s2);
23+
}
24+
}
25+
}

Demo/DemoMyAppConfig.aspx.designer.cs

+24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Demo/DemoMyExcel.aspx

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DemoMyExcel.aspx.cs" Inherits="Demo.DemoMyExcel" %>
2+
3+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4+
5+
<html xmlns="http://www.w3.org/1999/xhtml">
6+
<head runat="server">
7+
<title></title>
8+
</head>
9+
<body>
10+
<form id="form1" runat="server">
11+
<div>
12+
13+
</div>
14+
</form>
15+
</body>
16+
</html>

Demo/DemoMyExcel.aspx.cs

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
using System.Web.UI;
6+
using System.Web.UI.WebControls;
7+
using MyHelper4Web;
8+
9+
namespace Demo
10+
{
11+
public partial class DemoMyExcel : System.Web.UI.Page
12+
{
13+
protected void Page_Load(object sender, EventArgs e)
14+
{
15+
16+
}
17+
}
18+
}

Demo/DemoMyExcel.aspx.designer.cs

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Demo/Properties/AssemblyInfo.cs

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// 有关程序集的常规信息通过以下特性集
6+
// 控制。更改这些特性值可修改
7+
// 与程序集关联的信息。
8+
[assembly: AssemblyTitle("Demo")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("Demo")]
13+
[assembly: AssemblyCopyright("Copyright © 2012")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// 将 ComVisible 设置为 false 会使此程序集中的类型
18+
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
19+
// 则将该类型上的 ComVisible 特性设置为 true。
20+
[assembly: ComVisible(false)]
21+
22+
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23+
[assembly: Guid("0b771861-3d35-493c-a003-cc160ca412be")]
24+
25+
// 程序集的版本信息由下列四个值组成:
26+
//
27+
// 主版本
28+
// 次版本
29+
// 内部版本号
30+
// 修订号
31+
//
32+
// 您可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
33+
// 方法是按如下所示使用“*”:
34+
[assembly: AssemblyVersion("1.0.0.0")]
35+
[assembly: AssemblyFileVersion("1.0.0.0")]

0 commit comments

Comments
 (0)