Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AD-Control-Golang
Overview
Overview
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
陶腾飞
AD-Control-Golang
Commits
45389ac1
Commit
45389ac1
authored
May 12, 2020
by
陶腾飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
83984473
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
14 deletions
+4
-14
adct/adct.exe
+0
-0
daemon/daemon.exe
+0
-0
public/msg_deal.go
+0
-1
users/menu.go
+4
-13
users/users.exe
+0
-0
No files found.
adct/adct.exe
View file @
45389ac1
No preview for this file type
daemon/daemon.exe
View file @
45389ac1
No preview for this file type
public/msg_deal.go
View file @
45389ac1
...
...
@@ -46,7 +46,6 @@ func DealMsgEnter(ip string,msgtype string,unmsg []byte) []byte {
// 关于 report 报告 的 消息处理
func
(
rep
*
MJreport
)
Msg_Deal
()
interface
{}
{
PrintLog
(
rep
)
switch
rep
.
Report
{
case
Msg_Report_Offwork
:
...
...
users/menu.go
View file @
45389ac1
...
...
@@ -135,7 +135,7 @@ func siEnter_admin(softname string){
//
//---------------------------------------------------------------
func
menuInitWxDriveSync
(
ni
*
walk
.
NotifyIcon
){
fa
:=
"
用户工具
"
fa
:=
"
微盘同步
"
sub
:=
[
...
]
string
{
"初始化"
,
"开启服务器同步到微盘"
,
"开启微盘同步到服务器"
,
"说明"
}
// 建立空菜单
nm
,
err
:=
walk
.
NewMenu
()
...
...
@@ -200,7 +200,7 @@ func wxdsExplain(){
//---------------------------------------------------------------
func
menuInitUserTools
(
ni
*
walk
.
NotifyIcon
){
fa
:=
"用户工具"
sub
:=
[
...
]
string
{
"
部门共享连接微盘"
,
"桌面文件连接微盘"
,
"
隐藏桌面图标"
,
"恢复桌面图标"
}
sub
:=
[
...
]
string
{
"隐藏桌面图标"
,
"恢复桌面图标"
}
// 建立空菜单
nm
,
err
:=
walk
.
NewMenu
()
if
err
!=
nil
{
...
...
@@ -217,12 +217,8 @@ func menuInitUserTools(ni * walk.NotifyIcon){
// 为子按钮 添加事件
switch
i
{
case
0
:
na
.
Triggered
()
.
Attach
(
func
(){
utDeptLinkWxPan
();
return
})
case
1
:
na
.
Triggered
()
.
Attach
(
utDesktopLinkWxPan
)
case
2
:
na
.
Triggered
()
.
Attach
(
utHideIcon
)
case
3
:
case
1
:
na
.
Triggered
()
.
Attach
(
utShowIcon
)
}
...
...
@@ -242,12 +238,7 @@ func menuInitUserTools(ni * walk.NotifyIcon){
sysmenu
.
SetVisible
(
true
)
sysmenu
.
SetEnabled
(
true
)
}
func
utDeptLinkWxPan
(){
public
.
Msg
(
"等等嘛,还没好呢!"
)
}
func
utDesktopLinkWxPan
(){
public
.
Msg
(
"别别别别急,缓一缓!"
)
}
func
utHideIcon
(){
public
.
Msg
(
"emmmmmmm,大概下周吧,这周无望哈"
)
}
...
...
users/users.exe
View file @
45389ac1
No preview for this file type
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