整理代码,更改头像部分移动到我的信息中,服务器适配
This commit is contained in:
32
软件系统客户端模版/FormMainWindow.Designer.cs
generated
32
软件系统客户端模版/FormMainWindow.Designer.cs
generated
@@ -45,10 +45,10 @@
|
||||
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();
|
||||
@@ -79,7 +79,7 @@
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.panel_main = new System.Windows.Forms.Panel();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.分厂配置ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.我的信息ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.panel_right.SuspendLayout();
|
||||
@@ -227,12 +227,19 @@
|
||||
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.PickAxe_32xLG;
|
||||
this.设置ToolStripMenuItem.Name = "设置ToolStripMenuItem";
|
||||
this.设置ToolStripMenuItem.Size = new System.Drawing.Size(80, 31);
|
||||
@@ -252,13 +259,6 @@
|
||||
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[] {
|
||||
@@ -559,12 +559,12 @@
|
||||
this.pictureBox1.TabStop = false;
|
||||
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
|
||||
//
|
||||
// 分厂配置ToolStripMenuItem
|
||||
// 我的信息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);
|
||||
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);
|
||||
//
|
||||
// FormMainWindow
|
||||
//
|
||||
@@ -650,9 +650,9 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 意见反馈ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 消息发送ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 开发中心ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 更换头像ToolStripMenuItem;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 分厂配置ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 我的信息ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ namespace 软件系统客户端模版
|
||||
//启动定时器
|
||||
TimeTickInitilization();
|
||||
//显示头像
|
||||
SoftUserPortrait.DownloadUserPortraint();
|
||||
SoftUserPortrait.LoadUserSmallPortraint();
|
||||
}
|
||||
private void FormMainWindow_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
@@ -310,6 +310,14 @@ namespace 软件系统客户端模版
|
||||
SoftUserPortrait.ChangePortrait();
|
||||
}
|
||||
|
||||
private void 我的信息ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (FormAccountDetails form = new FormAccountDetails(SoftUserPortrait))
|
||||
{
|
||||
form.ShowDialog();
|
||||
}
|
||||
}
|
||||
|
||||
private void 分厂配置ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (FormInputAndAction fiaa = new FormInputAndAction(
|
||||
@@ -665,6 +673,7 @@ namespace 软件系统客户端模版
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user