winform主界面图标更改,新增文件界面图标,v1.7.3

This commit is contained in:
dathlin
2017-10-26 11:15:33 +08:00
parent 7c4999e293
commit 568d7c5f75
8 changed files with 80 additions and 26 deletions

View File

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

View File

@@ -38,6 +38,7 @@
this.toolStripStatusLabel_time = new System.Windows.Forms.ToolStripStatusLabel();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.panel_right = new System.Windows.Forms.Panel();
this.panel_right_mini = 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();
@@ -59,7 +60,6 @@
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();
@@ -84,15 +84,17 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.pictureBox_right_file = new System.Windows.Forms.PictureBox();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.panel_right.SuspendLayout();
this.panel_left.SuspendLayout();
this.panel_right_mini.SuspendLayout();
this.panel_left.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();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_right_file)).BeginInit();
this.SuspendLayout();
//
// statusStrip1
@@ -199,6 +201,17 @@
this.panel_right.Size = new System.Drawing.Size(224, 419);
this.panel_right.TabIndex = 2;
//
// panel_right_mini
//
this.panel_right_mini.Controls.Add(this.pictureBox_right_file);
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;
//
// netClientOnline1
//
this.netClientOnline1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@@ -397,16 +410,6 @@
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)));
@@ -444,7 +447,7 @@
// 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.Image = global::.Properties.Resources.Association;
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);
@@ -455,8 +458,8 @@
// 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.Image = global::.Properties.Resources.Association;
this.pictureBox_right_shrink.Location = new System.Drawing.Point(201, 4);
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;
@@ -613,6 +616,17 @@
this.ToolStripMenuItem.Text = "意见反馈";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// pictureBox_right_file
//
this.pictureBox_right_file.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox_right_file.Image = global::.Properties.Resources.RolesNode_Valid_Closed;
this.pictureBox_right_file.Location = new System.Drawing.Point(3, 44);
this.pictureBox_right_file.Name = "pictureBox_right_file";
this.pictureBox_right_file.Size = new System.Drawing.Size(17, 17);
this.pictureBox_right_file.TabIndex = 23;
this.pictureBox_right_file.TabStop = false;
this.pictureBox_right_file.Click += new System.EventHandler(this.pictureBox_right_file_Click);
//
// FormMainWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -640,12 +654,13 @@
this.menuStrip1.PerformLayout();
this.panel_right.ResumeLayout(false);
this.panel_right.PerformLayout();
this.panel_left.ResumeLayout(false);
this.panel_right_mini.ResumeLayout(false);
this.panel_left.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();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_right_file)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -709,6 +724,7 @@
private System.Windows.Forms.PictureBox pictureBox_right_restore;
private System.Windows.Forms.LinkLabel linkLabel_logout;
private System.Windows.Forms.PictureBox pictureBox_right_profile;
private System.Windows.Forms.PictureBox pictureBox_right_file;
}
}

View File

@@ -647,12 +647,7 @@ namespace 软件系统客户端模版
if (control != null) SetShowRenderControl(control);
}
private void label_file_count_Click(object sender, EventArgs e)
{
//点击查看了共享文件
SetShowRenderControl(UIControls_Files);
UIControls_Files.UpdateFiles();
}
@@ -763,6 +758,7 @@ namespace 软件系统客户端模版
toolTipSystem.SetToolTip(pictureBox_right_shrink, "隐藏右边的信息栏,显示精简界面。");
toolTipSystem.SetToolTip(pictureBox_right_restore, "显示右边的信息栏,隐藏精简界面。");
toolTipSystem.SetToolTip(pictureBox_right_profile, "我的账户信息");
toolTipSystem.SetToolTip(pictureBox_right_file, "共享文件信息");
}
@@ -789,7 +785,21 @@ namespace 软件系统客户端模版
// 点击我的信息
ToolStripMenuItem_Click(sender, e);
}
private void pictureBox_right_file_Click(object sender, EventArgs e)
{
// 点击共享文件图标
label_file_count_Click(sender, e);
}
private void label_file_count_Click(object sender, EventArgs e)
{
// 点击查看了共享文件
SetShowRenderControl(UIControls_Files);
UIControls_Files.UpdateFiles();
}
#endregion
}
}

View File

@@ -70,6 +70,16 @@ namespace 软件系统客户端模版.Properties {
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap Association {
get {
object obj = ResourceManager.GetObject("Association", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
@@ -90,6 +100,16 @@ namespace 软件系统客户端模版.Properties {
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap RolesNode_Valid_Closed {
get {
object obj = ResourceManager.GetObject("RolesNode_Valid_Closed", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>

View File

@@ -121,6 +121,9 @@
<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="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>
<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>
@@ -131,7 +134,10 @@
<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 name="Association" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Association.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="RolesNode_Valid_Closed" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\RolesNode_Valid_Closed.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: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

View File

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