Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
IonicContaminationTest
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit d69b7023
由
刘韬
编写于
2021-12-07 10:56:21 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
排除旧代码
1 个父辈
eb8e4d23
显示空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
41 行增加
和
116 行删除
App/App.csproj
App/FrmBase.cs
App/FrmTestResult.cs
App/MetroDynamicTesting.cs
App/MetroTestResult.cs
App/NewCode/FrmTestManage2.cs
App/FrmTestManage.cs → App/OldCode/FrmTestManage.cs
App/FrmTestManage.designer.cs → App/OldCode/FrmTestManage.designer.cs
App/FrmTestManage.resx → App/OldCode/FrmTestManage.resx
App/Program.cs
App/Properties/Resources.Designer.cs
App/app.config
App/packages.config
Comm/Comm.csproj
ZedGraph 5.1 (.net 2)/source/ZedGraph.csproj
App/App.csproj
查看文件 @
d69b702
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<UpgradeBackupLocation>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</UpgradeBackupLocation>
<IsWebBootstrapper>true</IsWebBootstrapper>
<IsWebBootstrapper>true</IsWebBootstrapper>
<TargetFrameworkVersion>v4.
0
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.
6.1
</TargetFrameworkVersion>
<TargetFrameworkProfile>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
</TargetFrameworkProfile>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
...
@@ -295,12 +295,6 @@
...
@@ -295,12 +295,6 @@
<Compile Include="FrmSplash.designer.cs">
<Compile Include="FrmSplash.designer.cs">
<DependentUpon>FrmSplash.cs</DependentUpon>
<DependentUpon>FrmSplash.cs</DependentUpon>
</Compile>
</Compile>
<Compile Include="FrmTestManage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmTestManage.designer.cs">
<DependentUpon>FrmTestManage.cs</DependentUpon>
</Compile>
<Compile Include="FrmTestResult.cs">
<Compile Include="FrmTestResult.cs">
<SubType>Form</SubType>
<SubType>Form</SubType>
</Compile>
</Compile>
...
@@ -349,10 +343,6 @@
...
@@ -349,10 +343,6 @@
<EmbeddedResource Include="FrmStandard.resx">
<EmbeddedResource Include="FrmStandard.resx">
<DependentUpon>FrmStandard.cs</DependentUpon>
<DependentUpon>FrmStandard.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
<EmbeddedResource Include="FrmTestManage.resx">
<DependentUpon>FrmTestManage.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FrmTestResult.resx">
<EmbeddedResource Include="FrmTestResult.resx">
<SubType>Designer</SubType>
<SubType>Designer</SubType>
<DependentUpon>FrmTestResult.cs</DependentUpon>
<DependentUpon>FrmTestResult.cs</DependentUpon>
...
@@ -420,9 +410,6 @@
...
@@ -420,9 +410,6 @@
<SubType>Designer</SubType>
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</EmbeddedResource>
<EmbeddedResource Include="testZedGraph.resx">
<DependentUpon>testZedGraph.cs</DependentUpon>
</EmbeddedResource>
<None Include="msyh.ttc">
<None Include="msyh.ttc">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</None>
...
@@ -454,12 +441,6 @@
...
@@ -454,12 +441,6 @@
<Compile Include="TabPanel.cs">
<Compile Include="TabPanel.cs">
<SubType>Component</SubType>
<SubType>Component</SubType>
</Compile>
</Compile>
<Compile Include="testZedGraph.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="testZedGraph.Designer.cs">
<DependentUpon>testZedGraph.cs</DependentUpon>
</Compile>
<Compile Include="WebConfig.cs" />
<Compile Include="WebConfig.cs" />
<Compile Include="XMLEncrypt.cs" />
<Compile Include="XMLEncrypt.cs" />
</ItemGroup>
</ItemGroup>
...
@@ -491,10 +472,6 @@
...
@@ -491,10 +472,6 @@
<Project>{7DC9A638-7BE8-4CF7-AC2E-57C77F1BF9BC}</Project>
<Project>{7DC9A638-7BE8-4CF7-AC2E-57C77F1BF9BC}</Project>
<Name>OutlookStyleNavigateBar</Name>
<Name>OutlookStyleNavigateBar</Name>
</ProjectReference>
</ProjectReference>
<ProjectReference Include="..\Shixin.MyCMMI.BizFacade\BizFacade.csproj">
<Project>{88402163-A455-4C86-8F1E-DAA8C3EEF56E}</Project>
<Name>BizFacade</Name>
</ProjectReference>
<ProjectReference Include="..\TabStripControlLibrary\TabStripControlLibrary.csproj">
<ProjectReference Include="..\TabStripControlLibrary\TabStripControlLibrary.csproj">
<Project>{F63A0939-5ADD-4931-8066-6901B5FBEF67}</Project>
<Project>{F63A0939-5ADD-4931-8066-6901B5FBEF67}</Project>
<Name>TabStripControlLibrary</Name>
<Name>TabStripControlLibrary</Name>
...
...
App/FrmBase.cs
查看文件 @
d69b702
...
@@ -161,8 +161,10 @@ namespace App
...
@@ -161,8 +161,10 @@ namespace App
{
{
//遍历所有控件 国际化并修改字体
//遍历所有控件 国际化并修改字体
string
AppPath
=
Application
.
StartupPath
;
string
AppPath
=
Application
.
StartupPath
;
PrivateFontCollection
font
=
new
PrivateFontCollection
();
//PrivateFontCollection font = new PrivateFontCollection();
font
.
AddFontFile
(
AppPath
+
@"\msyh.ttc"
);
//字体的路径及名字
//font.AddFontFile(AppPath + @"\msyh.ttc");//字体的路径及名字
//Font font = new Font("微软雅黑", 10);
var
fontname
=
"微软雅黑"
;
if
(
control
.
GetType
().
BaseType
.
Name
==
"Form"
||
control
.
GetType
().
BaseType
.
Name
==
"FrmBase"
)
//判断控件是否为Form类型
if
(
control
.
GetType
().
BaseType
.
Name
==
"Form"
||
control
.
GetType
().
BaseType
.
Name
==
"FrmBase"
)
//判断控件是否为Form类型
{
{
formName
=
control
.
Name
;
formName
=
control
.
Name
;
...
@@ -173,7 +175,7 @@ namespace App
...
@@ -173,7 +175,7 @@ namespace App
else
else
{
{
control
.
Text
=
getMsg
(
control
.
Name
);
//根据传入控件名字返回该控件TEXT
control
.
Text
=
getMsg
(
control
.
Name
);
//根据传入控件名字返回该控件TEXT
control
.
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Font
.
Size
);
control
.
Font
=
new
Font
(
font
n
ame
,
control
.
Font
.
Size
);
}
}
}
}
#
region
对所有控件做循环,并判断,符合条件的控件能够将名字返回为该控件特定区域的
TEXT
#
region
对所有控件做循环,并判断,符合条件的控件能够将名字返回为该控件特定区域的
TEXT
...
@@ -191,12 +193,12 @@ namespace App
...
@@ -191,12 +193,12 @@ namespace App
case
"TextBox"
:
case
"TextBox"
:
//根据传入的控件名字返回该控件在制定语言区域的TEXT属性
//根据传入的控件名字返回该控件在制定语言区域的TEXT属性
control
.
Controls
[
i
].
Text
=
getMsg
(
formName
+
control
.
Controls
[
i
].
Name
);
control
.
Controls
[
i
].
Text
=
getMsg
(
formName
+
control
.
Controls
[
i
].
Name
);
control
.
Controls
[
i
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
control
.
Controls
[
i
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
break
;
break
;
case
"RibbonButton"
:
case
"RibbonButton"
:
//根据传入的控件名字返回该控件在制定语言区域的TEXT属性
//根据传入的控件名字返回该控件在制定语言区域的TEXT属性
control
.
Controls
[
i
].
Text
=
getMsg
(
formName
+
control
.
Controls
[
i
].
Name
);
control
.
Controls
[
i
].
Text
=
getMsg
(
formName
+
control
.
Controls
[
i
].
Name
);
control
.
Controls
[
i
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
control
.
Controls
[
i
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
break
;
break
;
case
"Panel"
:
case
"Panel"
:
SetFormLanguage
(
control
.
Controls
[
i
]);
SetFormLanguage
(
control
.
Controls
[
i
]);
...
@@ -206,7 +208,7 @@ namespace App
...
@@ -206,7 +208,7 @@ namespace App
break
;
break
;
case
"TabPanel"
:
case
"TabPanel"
:
((
RibbonStyle
.
TabPanel
)
control
.
Controls
[
i
]).
Caption
=
getMsg
(
formName
+
control
.
Controls
[
i
].
Name
);
((
RibbonStyle
.
TabPanel
)
control
.
Controls
[
i
]).
Caption
=
getMsg
(
formName
+
control
.
Controls
[
i
].
Name
);
((
RibbonStyle
.
TabPanel
)
control
.
Controls
[
i
]).
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
((
RibbonStyle
.
TabPanel
)
control
.
Controls
[
i
]).
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
SetFormLanguage
(
control
.
Controls
[
i
]);
SetFormLanguage
(
control
.
Controls
[
i
]);
break
;
break
;
case
"TabStrip"
:
case
"TabStrip"
:
...
@@ -214,7 +216,7 @@ namespace App
...
@@ -214,7 +216,7 @@ namespace App
for
(
int
j
=
0
;
j
<
ts
.
Items
.
Count
;
j
++)
for
(
int
j
=
0
;
j
<
ts
.
Items
.
Count
;
j
++)
{
{
ts
.
Items
[
j
].
Text
=
getMsg
(
formName
+
((
RibbonStyle
.
Tab
)
ts
.
Items
[
j
]).
Name
);
ts
.
Items
[
j
].
Text
=
getMsg
(
formName
+
((
RibbonStyle
.
Tab
)
ts
.
Items
[
j
]).
Name
);
ts
.
Items
[
j
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
ts
.
Items
[
j
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
SetFormLanguage
(
control
.
Controls
[
i
]);
//返回该页所拥有控件,并设置其语言
SetFormLanguage
(
control
.
Controls
[
i
]);
//返回该页所拥有控件,并设置其语言
}
}
break
;
break
;
...
@@ -226,7 +228,7 @@ namespace App
...
@@ -226,7 +228,7 @@ namespace App
break
;
break
;
case
"GroupBox"
:
case
"GroupBox"
:
control
.
Controls
[
i
].
Text
=
getMsg
(
formName
+
control
.
Controls
[
i
].
Name
);
control
.
Controls
[
i
].
Text
=
getMsg
(
formName
+
control
.
Controls
[
i
].
Name
);
control
.
Controls
[
i
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
control
.
Controls
[
i
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
SetFormLanguage
(
control
.
Controls
[
i
]);
SetFormLanguage
(
control
.
Controls
[
i
]);
break
;
break
;
case
"TabControl"
:
case
"TabControl"
:
...
@@ -234,14 +236,14 @@ namespace App
...
@@ -234,14 +236,14 @@ namespace App
for
(
int
j
=
0
;
j
<
tbc
.
TabCount
;
j
++)
for
(
int
j
=
0
;
j
<
tbc
.
TabCount
;
j
++)
{
{
tbc
.
TabPages
[
j
].
Text
=
getMsg
(
formName
+
tbc
.
TabPages
[
j
].
Name
);
tbc
.
TabPages
[
j
].
Text
=
getMsg
(
formName
+
tbc
.
TabPages
[
j
].
Name
);
tbc
.
TabPages
[
j
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
tbc
.
TabPages
[
j
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
SetFormLanguage
(
tbc
.
TabPages
[
j
]);
//返回该页所拥有控件,并设置其语言
SetFormLanguage
(
tbc
.
TabPages
[
j
]);
//返回该页所拥有控件,并设置其语言
}
}
break
;
break
;
case
"DataGridView"
:
case
"DataGridView"
:
DataGridView
dgv
=
(
DataGridView
)
control
.
Controls
[
i
];
DataGridView
dgv
=
(
DataGridView
)
control
.
Controls
[
i
];
dgv
.
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
dgv
.
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
for
(
int
j
=
0
;
j
<
dgv
.
ColumnCount
;
j
++)
for
(
int
j
=
0
;
j
<
dgv
.
ColumnCount
;
j
++)
{
{
dgv
.
Columns
[
j
].
HeaderText
=
getMsg
(
formName
+
dgv
.
Columns
[
j
].
Name
);
dgv
.
Columns
[
j
].
HeaderText
=
getMsg
(
formName
+
dgv
.
Columns
[
j
].
Name
);
...
@@ -253,19 +255,19 @@ namespace App
...
@@ -253,19 +255,19 @@ namespace App
for
(
int
k
=
0
;
k
<
ms
.
Items
.
Count
;
k
++)
for
(
int
k
=
0
;
k
<
ms
.
Items
.
Count
;
k
++)
{
{
ms
.
Items
[
k
].
Text
=
getMsg
(
formName
+
ms
.
Items
[
k
].
Name
);
ms
.
Items
[
k
].
Text
=
getMsg
(
formName
+
ms
.
Items
[
k
].
Name
);
ms
.
Items
[
k
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
ms
.
Items
[
k
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
menu
=
(
ToolStripMenuItem
)
ms
.
Items
[
k
];
menu
=
(
ToolStripMenuItem
)
ms
.
Items
[
k
];
for
(
int
l
=
0
;
l
<
menu
.
DropDownItems
.
Count
;
l
++)
for
(
int
l
=
0
;
l
<
menu
.
DropDownItems
.
Count
;
l
++)
{
{
menu
.
DropDownItems
[
l
].
Text
=
getMsg
(
formName
+
menu
.
DropDownItems
[
l
].
Name
);
menu
.
DropDownItems
[
l
].
Text
=
getMsg
(
formName
+
menu
.
DropDownItems
[
l
].
Name
);
menu
.
DropDownItems
[
l
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
menu
.
DropDownItems
[
l
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
}
}
}
}
break
;
break
;
case
"ComboBox"
:
case
"ComboBox"
:
ComboBox
cb
=
(
ComboBox
)
control
.
Controls
[
i
];
ComboBox
cb
=
(
ComboBox
)
control
.
Controls
[
i
];
cb
.
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
cb
.
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
//for (int o = 0; o < cb.Items.Count; o++)
//for (int o = 0; o < cb.Items.Count; o++)
//{
//{
if
(
cb
.
Items
.
Count
>
0
||
cb
.
DataSource
!=
null
)
if
(
cb
.
Items
.
Count
>
0
||
cb
.
DataSource
!=
null
)
...
@@ -290,7 +292,7 @@ namespace App
...
@@ -290,7 +292,7 @@ namespace App
for
(
int
x
=
0
;
x
<
ss
.
Items
.
Count
;
x
++)
for
(
int
x
=
0
;
x
<
ss
.
Items
.
Count
;
x
++)
{
{
ss
.
Items
[
x
].
Text
=
getMsg
(
formName
+
ss
.
Items
[
x
].
Name
);
ss
.
Items
[
x
].
Text
=
getMsg
(
formName
+
ss
.
Items
[
x
].
Name
);
ss
.
Items
[
x
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
ss
.
Items
[
x
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
}
}
break
;
break
;
case
"ToolStrip"
:
case
"ToolStrip"
:
...
@@ -299,7 +301,7 @@ namespace App
...
@@ -299,7 +301,7 @@ namespace App
{
{
ts1
.
Items
[
w
].
Text
=
getMsg
(
formName
+
ts1
.
Items
[
w
].
Name
);
ts1
.
Items
[
w
].
Text
=
getMsg
(
formName
+
ts1
.
Items
[
w
].
Name
);
ts1
.
Items
[
w
].
ToolTipText
=
getMsg
(
formName
+
ts1
.
Items
[
w
].
Name
+
"Tip"
);
ts1
.
Items
[
w
].
ToolTipText
=
getMsg
(
formName
+
ts1
.
Items
[
w
].
Name
+
"Tip"
);
ts1
.
Items
[
w
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
ts1
.
Items
[
w
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
}
}
break
;
break
;
...
@@ -312,7 +314,7 @@ namespace App
...
@@ -312,7 +314,7 @@ namespace App
// break;
// break;
case
"ListView"
:
case
"ListView"
:
ListView
lv
=
(
ListView
)
control
.
Controls
[
i
];
ListView
lv
=
(
ListView
)
control
.
Controls
[
i
];
lv
.
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
lv
.
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
for
(
int
v
=
0
;
v
<
lv
.
Columns
.
Count
;
v
++)
for
(
int
v
=
0
;
v
<
lv
.
Columns
.
Count
;
v
++)
{
{
lv
.
Columns
[
v
].
Text
=
getMsg
(
formName
+
lv
.
Columns
[
v
].
Name
);
lv
.
Columns
[
v
].
Text
=
getMsg
(
formName
+
lv
.
Columns
[
v
].
Name
);
...
@@ -324,7 +326,7 @@ namespace App
...
@@ -324,7 +326,7 @@ namespace App
for
(
int
v
=
0
;
v
<
cms
.
Items
.
Count
;
v
++)
for
(
int
v
=
0
;
v
<
cms
.
Items
.
Count
;
v
++)
{
{
cms
.
Items
[
v
].
Text
=
getMsg
(
formName
+
cms
.
Items
[
v
].
Name
);
cms
.
Items
[
v
].
Text
=
getMsg
(
formName
+
cms
.
Items
[
v
].
Name
);
cms
.
Items
[
v
].
Font
=
new
Font
(
font
.
Families
[
0
].
N
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
cms
.
Items
[
v
].
Font
=
new
Font
(
font
n
ame
,
control
.
Controls
[
i
].
Font
.
Size
);
}
}
break
;
break
;
default
:
default
:
...
...
App/FrmTestResult.cs
查看文件 @
d69b702
此文件类型无法预览
App/MetroDynamicTesting.cs
查看文件 @
d69b702
...
@@ -148,7 +148,7 @@ namespace App
...
@@ -148,7 +148,7 @@ namespace App
private
void
PauseTest
()
private
void
PauseTest
()
{
{
if
(
newForm
is
FrmTestManage
)
if
(
newForm
is
FrmTestManage
2
)
{
{
//if (((FrmTestManage)newForm).IsRealStart)
//if (((FrmTestManage)newForm).IsRealStart)
//{
//{
...
...
App/MetroTestResult.cs
查看文件 @
d69b702
...
@@ -16,7 +16,6 @@ namespace App
...
@@ -16,7 +16,6 @@ namespace App
public
partial
class
MetroTestResult
:
FrmBase
public
partial
class
MetroTestResult
:
FrmBase
{
{
FrmTestResult
newForm
;
FrmTestResult
newForm
;
FrmTestManage
newForm2
;
private
LoginManager
_loginManager
;
private
LoginManager
_loginManager
;
private
string
FileName
;
private
string
FileName
;
public
bool
isOpen
=
true
;
//判断该窗口是否打开状态
public
bool
isOpen
=
true
;
//判断该窗口是否打开状态
...
...
App/NewCode/FrmTestManage2.cs
查看文件 @
d69b702
此文件类型无法预览
App/FrmTestManage.cs
→
App/
OldCode/
FrmTestManage.cs
查看文件 @
d69b702
此文件类型无法预览
App/FrmTestManage.designer.cs
→
App/
OldCode/
FrmTestManage.designer.cs
查看文件 @
d69b702
文件被删除
App/FrmTestManage.resx
→
App/
OldCode/
FrmTestManage.resx
查看文件 @
d69b702
文件被删除
App/Program.cs
查看文件 @
d69b702
...
@@ -4,7 +4,6 @@ using System.Windows.Forms;
...
@@ -4,7 +4,6 @@ using System.Windows.Forms;
using
System.Diagnostics
;
using
System.Diagnostics
;
using
System.IO
;
using
System.IO
;
using
Comm
;
using
Comm
;
using
BizFacade
;
using
System.Runtime.InteropServices
;
using
System.Runtime.InteropServices
;
using
log4net
;
using
log4net
;
using
System.Reflection
;
using
System.Reflection
;
...
...
App/Properties/Resources.Designer.cs
查看文件 @
d69b702
...
@@ -727,7 +727,7 @@ namespace App.Properties {
...
@@ -727,7 +727,7 @@ namespace App.Properties {
///
///
/// ... ado.net/XML headers & schema ...
/// ... ado.net/XML headers & schema ...
/// <resheader name="resmimetype">text/microsoft-resx</resheader>
/// <resheader name="resmimetype">text/microsoft-resx</resheader>
/// <resheader n
ame="version">2.
[字符串的其余部分被截断]"; 的本地化字符串。
/// <resheader n [字符串的其余部分被截断]"; 的本地化字符串。
/// </summary>
/// </summary>
internal
static
string
LResource_zh_CN
{
internal
static
string
LResource_zh_CN
{
get
{
get
{
...
...
App/app.config
查看文件 @
d69b702
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
configuration
>
<
configSections
>
<
configSections
>
<
sectionGroup
name
=
"applicationSettings"
type
=
"System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<
sectionGroup
name
=
"applicationSettings"
type
=
"System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<
section
name
=
"BizFacade.Properties.Settings"
type
=
"System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission
=
"false"
/>
<
section
name
=
"BizFacade.Properties.Settings"
type
=
"System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission
=
"false"
/>
<
section
name
=
"MyCMMIConfiguration"
type
=
"Comm.Configuration, Comm"
/>
<
section
name
=
"MyCMMIConfiguration"
type
=
"Comm.Configuration, Comm"
/>
<
section
name
=
"log4net"
type
=
"log4net.Config.Log4NetConfigurationSectionHandler, log4net"
/>
<
section
name
=
"log4net"
type
=
"log4net.Config.Log4NetConfigurationSectionHandler, log4net"
/>
</
sectionGroup
>
</
sectionGroup
>
</
configSections
>
</
configSections
>
<
applicationSettings
>
<
applicationSettings
>
...
@@ -17,41 +17,41 @@
...
@@ -17,41 +17,41 @@
</
setting
>
</
setting
>
</
BizFacade
.
Properties
.
Settings
>
</
BizFacade
.
Properties
.
Settings
>
<
MyCMMIConfiguration
>
<
MyCMMIConfiguration
>
<
add
key
=
"MyCMMI.MyCMMI.LicencePath"
value
=
"D:\Contamination Explorer.lic"
/>
<
add
key
=
"MyCMMI.MyCMMI.LicencePath"
value
=
"D:\Contamination Explorer.lic"
/>
</
MyCMMIConfiguration
>
</
MyCMMIConfiguration
>
<
log4net
>
<
log4net
>
<
appender
name
=
"RollingLogFileAppender"
type
=
"log4net.Appender.RollingFileAppender"
>
<
appender
name
=
"RollingLogFileAppender"
type
=
"log4net.Appender.RollingFileAppender"
>
<
file
value
=
"logs\\logFile.log"
/>
<
file
value
=
"logs\\logFile.log"
/>
<!--
file
可以指定具体的路径
eg
:
d
:\\
test
.
log
。不指定的话
log
被生成在项目的
bin
/
Debug
或者
bin
/
Release
目录下 (
web
的项目 默认生成在根目录下)-->
<!--
file
可以指定具体的路径
eg
:
d
:\\
test
.
log
。不指定的话
log
被生成在项目的
bin
/
Debug
或者
bin
/
Release
目录下 (
web
的项目 默认生成在根目录下)-->
<
appendToFile
value
=
"true"
/>
<
appendToFile
value
=
"true"
/>
<
rollingStyle
value
=
"Date"
/>
<
rollingStyle
value
=
"Date"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
bufferSize
value
=
"0"
/>
<
bufferSize
value
=
"0"
/>
<
layout
type
=
"log4net.Layout.PatternLayout"
>
<
layout
type
=
"log4net.Layout.PatternLayout"
>
<!--指定
log
的格式-->
<!--指定
log
的格式-->
<
conversionPattern
value
=
"[%date] [%t] %-5p %C(%L) - %m%n"
/>
<
conversionPattern
value
=
"[%date] [%t] %-5p %C(%L) - %m%n"
/>
<!-- <
conversionPattern
value
=
"【%d{yyyy/MM/dd HH:mm:ss.fff}】[%t] %-5p %C - %m%n"
/>-->
<!-- <
conversionPattern
value
=
"【%d{yyyy/MM/dd HH:mm:ss.fff}】[%t] %-5p %C - %m%n"
/>-->
</
layout
>
</
layout
>
</
appender
>
</
appender
>
<
root
>
<
root
>
<
level
value
=
"Debug"
/>
<
level
value
=
"Debug"
/>
<!--文件形式记录日志-->
<!--文件形式记录日志-->
<
appender
-
ref
ref
=
"RollingLogFileAppender"
/>
<
appender
-
ref
ref
=
"RollingLogFileAppender"
/>
</
root
>
</
root
>
</
log4net
>
</
log4net
>
</
applicationSettings
>
</
applicationSettings
>
<
startup
useLegacyV2RuntimeActivationPolicy
=
"true"
><
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.
0"
/></
startup
>
<
startup
useLegacyV2RuntimeActivationPolicy
=
"true"
><
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.
6.1"
/></
startup
>
<
runtime
>
<
runtime
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"office"
publicKeyToken
=
"71e9bce111e9429c"
culture
=
"neutral"
/>
<
assemblyIdentity
name
=
"office"
publicKeyToken
=
"71e9bce111e9429c"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-12.0.0.0"
newVersion
=
"12.0.0.0"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-12.0.0.0"
newVersion
=
"12.0.0.0"
/>
</
dependentAssembly
>
</
dependentAssembly
>
<
dependentAssembly
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"Microsoft.Vbe.Interop"
publicKeyToken
=
"71e9bce111e9429c"
culture
=
"neutral"
/>
<
assemblyIdentity
name
=
"Microsoft.Vbe.Interop"
publicKeyToken
=
"71e9bce111e9429c"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-12.0.0.0"
newVersion
=
"12.0.0.0"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-12.0.0.0"
newVersion
=
"12.0.0.0"
/>
</
dependentAssembly
>
</
dependentAssembly
>
</
assemblyBinding
>
</
assemblyBinding
>
</
runtime
>
</
runtime
>
...
...
App/packages.config
查看文件 @
d69b702
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
packages
>
<
package
id
=
"MetroFramework-1.3.0.0"
version
=
"1.3.0.0"
targetFramework
=
"net40"
/>
<
package
id
=
"MetroFramework-1.3.0.0"
version
=
"1.3.0.0"
targetFramework
=
"net40"
/>
<
package
id
=
"System.ValueTuple"
version
=
"4.5.0"
targetFramework
=
"net40"
/>
<
package
id
=
"System.ValueTuple"
version
=
"4.5.0"
targetFramework
=
"net40"
requireReinstallation
=
"true"
/>
<
package
id
=
"ZedGraph"
version
=
"5.1.7"
targetFramework
=
"net40"
/>
<
package
id
=
"ZedGraph"
version
=
"5.1.7"
targetFramework
=
"net40"
/>
</
packages
>
</
packages
>
\ No newline at end of file
\ No newline at end of file
Comm/Comm.csproj
查看文件 @
d69b702
...
@@ -45,17 +45,10 @@
...
@@ -45,17 +45,10 @@
<ItemGroup>
<ItemGroup>
<Compile Include="Enums.cs" />
<Compile Include="Enums.cs" />
<Compile Include="Licence.cs" />
<Compile Include="Licence.cs" />
<Compile Include="MyCMMIConfiguration.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utility.cs" />
<Compile Include="Utility.cs" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Shixin.SysFramework\SysFramework.csproj">
<Project>{70F73B3C-62BB-4338-A0C6-370528D8FABE}</Project>
<Name>SysFramework</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="DiskSerialNo.dll" />
<Content Include="DiskSerialNo.dll" />
</ItemGroup>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
...
...
ZedGraph 5.1 (.net 2)/source/ZedGraph.csproj
查看文件 @
d69b702
...
@@ -198,51 +198,6 @@
...
@@ -198,51 +198,6 @@
<SubType>Designer</SubType>
<SubType>Designer</SubType>
<DependentUpon>ZedGraphControl.ContextMenu.cs</DependentUpon>
<DependentUpon>ZedGraphControl.ContextMenu.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.en-US.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.de.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.es.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.fr.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.hu.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.it.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.ja-JP.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.pt.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.ru.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.sk.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.sv.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.tr.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.tw.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ZedGraph\ZedGraphLocale.zh-tw.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<None Include="zedgraphkey.snk" />
<None Include="zedgraphkey.snk" />
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论