Skip to content

Commit eca487d

Browse files
1 parent 9e1719f commit eca487d

22 files changed

Lines changed: 1446 additions & 41 deletions

AssemblyInfoEditor.csproj

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<Compile Include="Commons\Entity\FolderProperty.cs" />
5757
<Compile Include="Commons\Entity\HistoryObject.cs" />
5858
<Compile Include="Commons\Entity\Version.cs" />
59+
<Compile Include="Commons\JobProgress.cs" />
5960
<Compile Include="Commons\MessageBoxCaptions.cs" />
6061
<Compile Include="Commons\Platform.cs" />
6162
<Compile Include="Commons\XNamespaces.cs" />
@@ -70,6 +71,21 @@
7071
</Compile>
7172
<Compile Include="ComponentModel\Design\FolderCollectionEditor.cs" />
7273
<Compile Include="ComponentModel\Design\FolderSelectionEditor.cs" />
74+
<Compile Include="ComponentModel\Trace\TraceManager.cs" />
75+
<Compile Include="ComponentModel\Trace\TraceViewerInvoker.cs" />
76+
<Compile Include="ComponentModel\Trace\TraceViewerInvokerArgs.cs" />
77+
<Compile Include="Forms\BuildForm.cs">
78+
<SubType>Form</SubType>
79+
</Compile>
80+
<Compile Include="Forms\BuildForm.Designer.cs">
81+
<DependentUpon>BuildForm.cs</DependentUpon>
82+
</Compile>
83+
<Compile Include="Forms\BuildForm.Methods.cs">
84+
<SubType>Form</SubType>
85+
</Compile>
86+
<Compile Include="Forms\BuildForm.Variables.cs">
87+
<SubType>Form</SubType>
88+
</Compile>
7389
<Compile Include="Forms\MainForm.cs">
7490
<SubType>Form</SubType>
7591
</Compile>
@@ -87,6 +103,9 @@
87103
<EmbeddedResource Include="ComponentModel\BaseForm.resx">
88104
<DependentUpon>BaseForm.cs</DependentUpon>
89105
</EmbeddedResource>
106+
<EmbeddedResource Include="Forms\BuildForm.resx">
107+
<DependentUpon>BuildForm.cs</DependentUpon>
108+
</EmbeddedResource>
90109
<EmbeddedResource Include="Forms\MainForm.resx">
91110
<DependentUpon>MainForm.cs</DependentUpon>
92111
</EmbeddedResource>
@@ -114,6 +133,11 @@
114133
<ItemGroup>
115134
<EmbeddedResource Include="Icon.ico" />
116135
</ItemGroup>
136+
<ItemGroup>
137+
<Content Include="aieditor.regex.xml">
138+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
139+
</Content>
140+
</ItemGroup>
117141
<ItemGroup />
118142
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
119143
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

AssemblyInfoEditor.csproj.user

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<ProjectView>ProjectFiles</ProjectView>
5+
</PropertyGroup>
6+
</Project>

Commons/Entity/AssemblyInformation.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
#endregion
2121

2222
using System;
23-
using System.Xml.Serialization;
24-
using System.ComponentModel;
2523
using System.Collections.Generic;
26-
using SourcePro.Csharp.Lab.ComponentModel.Design;
24+
using System.ComponentModel;
2725
using System.ComponentModel.Design;
2826
using System.IO;
27+
using System.Xml.Serialization;
28+
using SourcePro.Csharp.Lab.ComponentModel.Design;
2929

3030
namespace SourcePro.Csharp.Lab.Commons.Entity
3131
{

Commons/Entity/FolderProperty.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#endregion
2121

2222
using System;
23-
using System.Xml.Serialization;
2423
using System.ComponentModel;
25-
using SourcePro.Csharp.Lab.ComponentModel.Design;
2624
using System.Drawing.Design;
25+
using System.Xml.Serialization;
26+
using SourcePro.Csharp.Lab.ComponentModel.Design;
2727

2828
namespace SourcePro.Csharp.Lab.Commons.Entity
2929
{

Commons/Entity/HistoryObject.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
#endregion
2121

2222
using System;
23-
using System.Xml.Serialization;
2423
using System.Collections.Generic;
2524
using System.IO;
25+
using System.Xml.Serialization;
2626

2727
namespace SourcePro.Csharp.Lab.Commons.Entity
2828
{
@@ -95,7 +95,7 @@ static public HistoryObject Get()
9595
public void Save()
9696
{
9797
FileInfo file = new FileInfo(HistoryObject.OutputPath);
98-
using (Stream outputStream = file.OpenWrite())
98+
using (Stream outputStream = new FileStream(file.FullName, FileMode.Create, FileAccess.Write))
9999
{
100100
try { base.Serialize(outputStream); }
101101
finally { outputStream.Close(); }

Commons/JobProgress.cs

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#region README
2+
3+
/*
4+
* README
5+
*
6+
* Current Thread User : GUOCOLAND\wangyucai
7+
* Machine Name : GLCHQWYCWINW7
8+
* Visual Studio : Microsoft Visual Studio 2010 Ultimate Edition
9+
* Create Time : 2014-12-30 13:42:43
10+
* Common Language Runtime : 4.0.30319.18444
11+
* Minimum .Net Framework Version : 3.5
12+
*
13+
* SourcePro Studio 2014
14+
* Project Url : https://github.com/SourceproStudio/CodeTemplates
15+
* Home Page Url : https://github.com/SourceproStudio
16+
* E-mail Address : MasterDuner@yeah.net or Yucai.Wang-Public@outlook.com
17+
* QQ : 180261899
18+
*/
19+
20+
#endregion
21+
22+
using System;
23+
24+
namespace SourcePro.Csharp.Lab.Commons
25+
{
26+
/// <summary>
27+
/// <para>
28+
/// 定义了作业的进度。
29+
/// </para>
30+
/// <para>
31+
/// Namespace : <see cref="SourcePro.Csharp.Lab.Commons"/>
32+
/// </para>
33+
/// <para>
34+
/// Type : <see cref="JobProgress"/>
35+
/// </para>
36+
/// <para>
37+
/// The minimum .Net Framework version requirements : 3.5
38+
/// </para>
39+
/// </summary>
40+
/// <seealso cref="SourcePro.Csharp.Lab.Commons"/>
41+
[Serializable, Flags]
42+
public enum JobProgress
43+
{
44+
Start = 0,
45+
Doing = 1,
46+
Failed = 2,
47+
Successful = 4,
48+
Completed = 8,
49+
Searching = 16,
50+
End = 32,
51+
Reading = 64,
52+
Writing = 128,
53+
Abort = 256,
54+
Cancel = 512,
55+
Skip = 1024
56+
}
57+
}
58+
59+
/*
60+
* Copyright © 2014 Wang Yucai. All rights reserved.
61+
*/

Commons/MessageBoxCaptions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#endregion
2121

22-
using System;
2322

2423
namespace SourcePro.Csharp.Lab.Commons
2524
{

Commons/XNamespaces.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#endregion
2121

22-
using System;
2322

2423
namespace SourcePro.Csharp.Lab.Commons
2524
{

ComponentModel/BaseForm.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.ComponentModel;
4-
using System.Data;
5-
using System.Drawing;
6-
using System.Linq;
7-
using System.Text;
8-
using System.Windows.Forms;
1+
using System.Windows.Forms;
92

103
namespace SourcePro.Csharp.Lab.ComponentModel
114
{

ComponentModel/Design/FolderCollectionEditor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#endregion
2121

22-
using System;
2322
using System.ComponentModel.Design;
2423
using SourcePro.Csharp.Lab.Commons.Entity;
2524

0 commit comments

Comments
 (0)