Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
szjay
WinFramework
提交
d0892c96
W
WinFramework
项目概览
szjay
/
WinFramework
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
WinFramework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d0892c96
编写于
7月 07, 2020
作者:
S
szjay
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
主窗体装载指定的图片BackgroundImage.jpg当做背景图
上级
bfdf3a55
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
343 addition
and
344 deletion
+343
-344
Components/Grid/GridStyleController.cs
Components/Grid/GridStyleController.cs
+0
-5
MainUI/MainForm.cs
MainUI/MainForm.cs
+6
-0
MainUI/MainForm.resx
MainUI/MainForm.resx
+336
-338
ServerConsole/App.config
ServerConsole/App.config
+1
-1
未找到文件。
Components/Grid/GridStyleController.cs
浏览文件 @
d0892c96
...
@@ -61,11 +61,6 @@ namespace Infrastructure.Components
...
@@ -61,11 +61,6 @@ namespace Infrastructure.Components
gridView
.
CustomDrawRowIndicator
+=
new
RowIndicatorCustomDrawEventHandler
(
gridView_CustomDrawRowIndicator
);
//行号列自绘。
gridView
.
CustomDrawRowIndicator
+=
new
RowIndicatorCustomDrawEventHandler
(
gridView_CustomDrawRowIndicator
);
//行号列自绘。
gridView
.
CustomColumnDisplayText
+=
new
CustomColumnDisplayTextEventHandler
(
gridView_CustomColumnDisplayText
);
//每一列自绘显示的文本。
gridView
.
CustomColumnDisplayText
+=
new
CustomColumnDisplayTextEventHandler
(
gridView_CustomColumnDisplayText
);
//每一列自绘显示的文本。
if
(!
gridView
.
OptionsView
.
ShowDetailButtons
)
{
//gridView.MasterRowExpanding += (a, b) => b.Allow = false;
}
gridView
.
EndSorting
+=
(
a
,
b
)
=>
gridView
.
MoveFirst
();
gridView
.
EndSorting
+=
(
a
,
b
)
=>
gridView
.
MoveFirst
();
}
}
}
}
...
...
MainUI/MainForm.cs
浏览文件 @
d0892c96
...
@@ -154,6 +154,12 @@ namespace Framework.MainUI
...
@@ -154,6 +154,12 @@ namespace Framework.MainUI
AutoRunModule
();
AutoRunModule
();
ApplicationLoader
.
RaiseMainFormShown
();
ApplicationLoader
.
RaiseMainFormShown
();
if
(
File
.
Exists
(
"BackgroundImage.jpg"
))
{
this
.
BackgroundImage
=
Image
.
FromFile
(
"BackgroundImage.jpg"
);
this
.
BackgroundImageLayout
=
ImageLayout
.
Stretch
;
}
UpgradeLogForm
.
Open
();
UpgradeLogForm
.
Open
();
//ClientContext.TimedTask += () => ClientContext.SystemMessageHint.Open(ClientContext.Now + "\r\ntest test test !!!");
//ClientContext.TimedTask += () => ClientContext.SystemMessageHint.Open(ClientContext.Now + "\r\ntest test test !!!");
...
...
MainUI/MainForm.resx
浏览文件 @
d0892c96
此差异已折叠。
点击以展开。
ServerConsole/App.config
浏览文件 @
d0892c96
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</
entityFramework
>
</
entityFramework
>
<
connectionStrings
>
<
connectionStrings
>
<
add
name
=
"DB"
connectionString
=
"data source=.;initial catalog=
Platform
;persist security info=True;user id=sa;password=123;MultipleActiveResultSets=True;App=EntityFramework"
providerName
=
"System.Data.SqlClient"
/>
<
add
name
=
"DB"
connectionString
=
"data source=.;initial catalog=
JM-FMIS
;persist security info=True;user id=sa;password=123;MultipleActiveResultSets=True;App=EntityFramework"
providerName
=
"System.Data.SqlClient"
/>
</
connectionStrings
>
</
connectionStrings
>
<!--注意,以下配置修改后,必须重启服务才能生效-->
<!--注意,以下配置修改后,必须重启服务才能生效-->
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录