Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
9b0227fa
Commit
9b0227fa
authored
May 11, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安装包 添加 异常信息
parent
1352f2db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
App.xaml.cs
Install2/Install/App.xaml.cs
+10
-0
AssemblyInfo.cs
Install2/Install/Properties/AssemblyInfo.cs
+3
-3
No files found.
Install2/Install/App.xaml.cs
View file @
9b0227fa
...
...
@@ -13,6 +13,16 @@ namespace Install
/// </summary>
public
partial
class
App
:
Application
{
public
App
()
{
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
e
.
ExceptionObject
.
ToString
(),
"异常,联系厂家"
,
MessageBoxButton
.
OK
,
MessageBoxImage
.
Error
);
};
}
public
static
T
Resolve
<
T
>()
{
return
(
T
)
App
.
Current
.
Properties
[
typeof
(
T
).
FullName
];
...
...
Install2/Install/Properties/AssemblyInfo.cs
View file @
9b0227fa
...
...
@@ -12,7 +12,7 @@ using System.Windows;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("佛山市枫莱尔自动化有限公司")]
[assembly: AssemblyProduct("FLY系列软件安装向导")]
[assembly: AssemblyCopyright("Copyright © 202
1
flyautomation")]
[assembly: AssemblyCopyright("Copyright © 202
2
flyautomation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
...
...
@@ -51,6 +51,6 @@ using System.Windows;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.0.
1
")]
[assembly: AssemblyFileVersion("4.0.
1
")]
[assembly: AssemblyVersion("4.0.
2
")]
[assembly: AssemblyFileVersion("4.0.
2
")]
[assembly: Guid("AB127AC6-16C6-411F-8892-D90413A863C8")]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment