寝室值日安排(c++)
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace 寝室值日安排 { class Tray { Form1 form = null; NotifyIcon TrayIcon = null; Label label = null; public Tray(Form1 form,NotifyIcon TrayIcon,Label label) { this.form = form; this.TrayIcon = TrayIcon; this.label = label; } public void click(object sender, System.EventArgs e) { if (this.form.Visible == true) { this.form.Hide(); } else { this.form.Visible = true; } } public void showForm(object sender, System.EventArgs e) { this.form.Visible = true; } public void hideForm(object sender, System.EventArgs e) { this.form.Hide(); } public void showTrayIcoText(object sender, System.Windows.Forms.MouseEventArgs e) { this.TrayIcon.Text = this.label.Text; } public void ExitSelect(object sender, System.EventArgs e) { this.form.Close(); } } }
文件列表
.rar
(预估有个27文件)
寝室值日安排
寝室值日安排.sln
944B
寝室值日安排.suo
18KB
寝室值日安排
Form1.cs
8KB
bin
Debug
寝室值日安排.rar
12KB
寝室值日安排.exe
23KB
寝室值日安排.vshost.exe
14KB
暂无评论