winform客户端主界面右侧信息支持缩进并显示迷你栏目,v1.7.2

This commit is contained in:
dathlin
2017-10-26 09:58:44 +08:00
parent d086dfbe17
commit 7c4999e293
9 changed files with 330 additions and 195 deletions

View File

@@ -37,7 +37,7 @@ namespace ClientsLibrary
/// <summary>
/// 本软件的当前版本,用来验证更新的关键依据
/// </summary>
public static SystemVersion CurrentVersion { get; } = new SystemVersion("1.0.0.171018");
public static SystemVersion CurrentVersion { get; } = new SystemVersion("1.0.0.171026");
/// <summary>

View File

@@ -44,7 +44,7 @@ namespace CommonLibrary
**************************************************************************/
SoftBasic.FrameworkVersion = new SystemVersion("1.7.1");
SoftBasic.FrameworkVersion = new SystemVersion("1.7.2");
}

View File

@@ -37,28 +37,10 @@
this.toolStripStatusLabel4 = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStripStatusLabel_time = new System.Windows.Forms.ToolStripStatusLabel();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.panel_right = new System.Windows.Forms.Panel();
this.netClientOnline1 = new ClientsLibrary.BasicSupport.NetClientOnline();
this.label_file_count = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.linkLabel_logout = new System.Windows.Forms.LinkLabel();
this.label_factory = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label_address = new System.Windows.Forms.Label();
@@ -77,14 +59,40 @@
this.panel_left = new System.Windows.Forms.Panel();
this.label10 = new System.Windows.Forms.Label();
this.panel_main = new System.Windows.Forms.Panel();
this.panel_right_mini = new System.Windows.Forms.Panel();
this.linkLabel_logout = new System.Windows.Forms.LinkLabel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.pictureBox_right_profile = new System.Windows.Forms.PictureBox();
this.pictureBox_right_restore = new System.Windows.Forms.PictureBox();
this.pictureBox_right_shrink = new System.Windows.Forms.PictureBox();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.netClientOnline1 = new ClientsLibrary.BasicSupport.NetClientOnline();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.panel_right.SuspendLayout();
this.panel_left.SuspendLayout();
this.panel_right_mini.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_right_profile)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_right_restore)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_right_shrink)).BeginInit();
this.SuspendLayout();
//
// statusStrip1
@@ -162,158 +170,14 @@
this.menuStrip1.TabIndex = 1;
this.menuStrip1.Text = "menuStrip1";
//
// 管理员ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.toolStripSeparator1,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Image = global::.Properties.Resources.Team_32xLG;
this.ToolStripMenuItem.Name = "管理员ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(100, 31);
this.ToolStripMenuItem.Text = "管理员";
//
// 更改公告ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "更改公告ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "更改公告";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 日志查看ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "日志查看ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "日志查看";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 账户管理ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "账户管理ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "账户管理";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 远程更新ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "远程更新ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "远程更新";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 注册账号ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "注册账号ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "注册账号";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 消息发送ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "消息发送ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "消息发送";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 开发中心ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "开发中心ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "开发中心";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 系统配置ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "系统配置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "系统配置";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 设置ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Image = global::.Properties.Resources.PickAxe_32xLG;
this.ToolStripMenuItem.Name = "设置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(80, 31);
this.ToolStripMenuItem.Text = "设置";
//
// 修改密码ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "修改密码ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "修改密码";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 留言板ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "留言板ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "留言板";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 我的信息ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "我的信息ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "我的信息";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 关于ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Image = global::.Properties.Resources.ASCube_32xLG;
this.ToolStripMenuItem.Name = "关于ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(80, 31);
this.ToolStripMenuItem.Text = "关于";
//
// 关于本软件ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "关于本软件ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Text = "关于本软件";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 更新日志ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "更新日志ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Text = "更新日志";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 版本号说明ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "版本号说明ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Text = "版本号说明";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 意见反馈ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "意见反馈ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Text = "意见反馈";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// panel_right
//
this.panel_right.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_right.Controls.Add(this.panel_right_mini);
this.panel_right.Controls.Add(this.pictureBox_right_shrink);
this.panel_right.Controls.Add(this.netClientOnline1);
this.panel_right.Controls.Add(this.label_file_count);
this.panel_right.Controls.Add(this.label8);
this.panel_right.Controls.Add(this.linkLabel_logout);
this.panel_right.Controls.Add(this.label_factory);
this.panel_right.Controls.Add(this.label9);
this.panel_right.Controls.Add(this.label_address);
@@ -335,6 +199,18 @@
this.panel_right.Size = new System.Drawing.Size(224, 419);
this.panel_right.TabIndex = 2;
//
// netClientOnline1
//
this.netClientOnline1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.netClientOnline1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.netClientOnline1.Location = new System.Drawing.Point(5, 164);
this.netClientOnline1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.netClientOnline1.Name = "netClientOnline1";
this.netClientOnline1.Size = new System.Drawing.Size(214, 250);
this.netClientOnline1.TabIndex = 19;
//
// label_file_count
//
this.label_file_count.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
@@ -356,17 +232,6 @@
this.label8.TabIndex = 17;
this.label8.Text = "文件数量:";
//
// linkLabel_logout
//
this.linkLabel_logout.AutoSize = true;
this.linkLabel_logout.Location = new System.Drawing.Point(188, 1);
this.linkLabel_logout.Name = "linkLabel_logout";
this.linkLabel_logout.Size = new System.Drawing.Size(32, 17);
this.linkLabel_logout.TabIndex = 16;
this.linkLabel_logout.TabStop = true;
this.linkLabel_logout.Text = "注销";
this.linkLabel_logout.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_logout_LinkClicked);
//
// label_factory
//
this.label_factory.AutoSize = true;
@@ -501,7 +366,7 @@
this.label_Announcement.ForeColor = System.Drawing.Color.Red;
this.label_Announcement.Location = new System.Drawing.Point(283, 0);
this.label_Announcement.Name = "label_Announcement";
this.label_Announcement.Size = new System.Drawing.Size(593, 33);
this.label_Announcement.Size = new System.Drawing.Size(571, 33);
this.label_Announcement.TabIndex = 3;
this.label_Announcement.Text = "[公告]";
this.label_Announcement.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -532,6 +397,28 @@
this.panel_main.Size = new System.Drawing.Size(557, 419);
this.panel_main.TabIndex = 5;
//
// panel_right_mini
//
this.panel_right_mini.Controls.Add(this.pictureBox_right_profile);
this.panel_right_mini.Controls.Add(this.pictureBox_right_restore);
this.panel_right_mini.Location = new System.Drawing.Point(0, 0);
this.panel_right_mini.Name = "panel_right_mini";
this.panel_right_mini.Size = new System.Drawing.Size(25, 418);
this.panel_right_mini.TabIndex = 21;
this.panel_right_mini.Visible = false;
//
// linkLabel_logout
//
this.linkLabel_logout.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.linkLabel_logout.AutoSize = true;
this.linkLabel_logout.Location = new System.Drawing.Point(854, 3);
this.linkLabel_logout.Name = "linkLabel_logout";
this.linkLabel_logout.Size = new System.Drawing.Size(29, 12);
this.linkLabel_logout.TabIndex = 16;
this.linkLabel_logout.TabStop = true;
this.linkLabel_logout.Text = "注销";
this.linkLabel_logout.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_logout_LinkClicked);
//
// pictureBox1
//
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -543,22 +430,188 @@
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// pictureBox_right_profile
//
this.pictureBox_right_profile.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox_right_profile.Image = global::.Properties.Resources.UserProfilenode_8706;
this.pictureBox_right_profile.Location = new System.Drawing.Point(3, 24);
this.pictureBox_right_profile.Name = "pictureBox_right_profile";
this.pictureBox_right_profile.Size = new System.Drawing.Size(17, 17);
this.pictureBox_right_profile.TabIndex = 22;
this.pictureBox_right_profile.TabStop = false;
this.pictureBox_right_profile.Click += new System.EventHandler(this.pictureBox_right_profile_Click);
//
// pictureBox_right_restore
//
this.pictureBox_right_restore.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox_right_restore.Image = global::.Properties.Resources.Constant_495;
this.pictureBox_right_restore.Location = new System.Drawing.Point(3, 4);
this.pictureBox_right_restore.Name = "pictureBox_right_restore";
this.pictureBox_right_restore.Size = new System.Drawing.Size(17, 17);
this.pictureBox_right_restore.TabIndex = 21;
this.pictureBox_right_restore.TabStop = false;
this.pictureBox_right_restore.Click += new System.EventHandler(this.pictureBox_right_restore_Click);
//
// pictureBox_right_shrink
//
this.pictureBox_right_shrink.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox_right_shrink.Image = global::.Properties.Resources.Constant_495;
this.pictureBox_right_shrink.Location = new System.Drawing.Point(200, 2);
this.pictureBox_right_shrink.Name = "pictureBox_right_shrink";
this.pictureBox_right_shrink.Size = new System.Drawing.Size(17, 17);
this.pictureBox_right_shrink.TabIndex = 20;
this.pictureBox_right_shrink.TabStop = false;
this.pictureBox_right_shrink.Click += new System.EventHandler(this.pictureBox_right_shrink_Click);
//
// 管理员ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.toolStripSeparator1,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Image = global::.Properties.Resources.Team_32xLG;
this.ToolStripMenuItem.Name = "管理员ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(100, 31);
this.ToolStripMenuItem.Text = "管理员";
//
// 更改公告ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "更改公告ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "更改公告";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 账户管理ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "账户管理ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "账户管理";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 注册账号ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "注册账号ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "注册账号";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 消息发送ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "消息发送ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "消息发送";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(161, 6);
//
// netClientOnline1
// 远程更新ToolStripMenuItem
//
this.netClientOnline1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.netClientOnline1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.netClientOnline1.Location = new System.Drawing.Point(5, 164);
this.netClientOnline1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.netClientOnline1.Name = "netClientOnline1";
this.netClientOnline1.Size = new System.Drawing.Size(214, 250);
this.netClientOnline1.TabIndex = 19;
this.ToolStripMenuItem.Name = "远程更新ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "远程更新";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 日志查看ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "日志查看ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "日志查看";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 开发中心ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "开发中心ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "开发中心";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 系统配置ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "系统配置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "系统配置";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 设置ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Image = global::.Properties.Resources.PickAxe_32xLG;
this.ToolStripMenuItem.Name = "设置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(80, 31);
this.ToolStripMenuItem.Text = "设置";
//
// 修改密码ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "修改密码ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "修改密码";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 留言板ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "留言板ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "留言板";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 我的信息ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "我的信息ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Text = "我的信息";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 关于ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Image = global::.Properties.Resources.ASCube_32xLG;
this.ToolStripMenuItem.Name = "关于ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(80, 31);
this.ToolStripMenuItem.Text = "关于";
//
// 关于本软件ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "关于本软件ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Text = "关于本软件";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 更新日志ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "更新日志ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Text = "更新日志";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 版本号说明ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "版本号说明ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Text = "版本号说明";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 意见反馈ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "意见反馈ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Text = "意见反馈";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// FormMainWindow
//
@@ -570,6 +623,7 @@
this.Controls.Add(this.panel_left);
this.Controls.Add(this.label_Announcement);
this.Controls.Add(this.panel_right);
this.Controls.Add(this.linkLabel_logout);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.menuStrip1);
this.MainMenuStrip = this.menuStrip1;
@@ -587,7 +641,11 @@
this.panel_right.ResumeLayout(false);
this.panel_right.PerformLayout();
this.panel_left.ResumeLayout(false);
this.panel_right_mini.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_right_profile)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_right_restore)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_right_shrink)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -632,7 +690,6 @@
private System.Windows.Forms.Label label9;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel_time;
private System.Windows.Forms.LinkLabel linkLabel_logout;
private System.Windows.Forms.Label label_file_count;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Panel panel_left;
@@ -647,6 +704,11 @@
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private ClientsLibrary.BasicSupport.NetClientOnline netClientOnline1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.PictureBox pictureBox_right_shrink;
private System.Windows.Forms.Panel panel_right_mini;
private System.Windows.Forms.PictureBox pictureBox_right_restore;
private System.Windows.Forms.LinkLabel linkLabel_logout;
private System.Windows.Forms.PictureBox pictureBox_right_profile;
}
}

View File

@@ -103,8 +103,11 @@ namespace 软件系统客户端模版
// 显示版本
toolStripStatusLabel_Version.Text = UserClient.CurrentVersion.ToString();
//初始化窗口
// 初始化窗口
MainRenderInitialization();
// tooltip初始化
ToolTipInitialization();
}
@@ -161,6 +164,8 @@ namespace 软件系统客户端模版
{
fwm.ShowDialog();
}
toolTipSystem?.Dispose();
}
@@ -743,8 +748,48 @@ namespace 软件系统客户端模版
#endregion
#region ToolTip配置
private ToolTip toolTipSystem = null;
private void ToolTipInitialization()
{
toolTipSystem = new ToolTip();
toolTipSystem.UseFading = true;
toolTipSystem.SetToolTip(pictureBox_right_shrink, "隐藏右边的信息栏,显示精简界面。");
toolTipSystem.SetToolTip(pictureBox_right_restore, "显示右边的信息栏,隐藏精简界面。");
toolTipSystem.SetToolTip(pictureBox_right_profile, "我的账户信息");
}
#endregion
#region User Interface Logic
private void pictureBox_right_shrink_Click(object sender, EventArgs e)
{
// 收缩
panel_right.Width = 25;
panel_right_mini.Visible = true;
}
private void pictureBox_right_restore_Click(object sender, EventArgs e)
{
// 复原
panel_right.Width = 224;
panel_right_mini.Visible = false;
}
private void pictureBox_right_profile_Click(object sender, EventArgs e)
{
// 点击我的信息
ToolStripMenuItem_Click(sender, e);
}
#endregion
}
}

View File

@@ -19,7 +19,7 @@ namespace 软件系统客户端模版.Properties {
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@@ -70,6 +70,16 @@ namespace 软件系统客户端模版.Properties {
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap Constant_495 {
get {
object obj = ResourceManager.GetObject("Constant_495", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
@@ -89,5 +99,15 @@ namespace 软件系统客户端模版.Properties {
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap UserProfilenode_8706 {
get {
object obj = ResourceManager.GetObject("UserProfilenode_8706", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@@ -118,14 +118,20 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Constant_495" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Constant_495.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Team_32xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Team_32xLG.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PickAxe_32xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\PickAxe_32xLG.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="ASCube_32xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ASCube_32xLG.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="UserProfilenode_8706" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\UserProfilenode_8706.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

View File

@@ -131,6 +131,8 @@
</ItemGroup>
<ItemGroup>
<Content Include="DatabaseSupport\Help.txt" />
<None Include="Resources\UserProfilenode_8706.png" />
<None Include="Resources\Constant_495.png" />
<None Include="Resources\ASCube_32xLG.png" />
<None Include="Resources\PickAxe_32xLG.png" />
<None Include="Resources\Team_32xLG.png" />