初步实现一个共享文件中心的功能,等待继续完善

This commit is contained in:
HSL
2017-04-06 16:18:46 +08:00
parent 66ef18f9a4
commit c399a7a8d6
12 changed files with 1177 additions and 48 deletions

View File

@@ -50,6 +50,7 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.panel1 = new System.Windows.Forms.Panel();
this.linkLabel_logout = new System.Windows.Forms.LinkLabel();
this.label_factory = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
@@ -67,7 +68,8 @@
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label_Announcement = new System.Windows.Forms.Label();
this.linkLabel_logout = new System.Windows.Forms.LinkLabel();
this.label8 = new System.Windows.Forms.Label();
this.label_file_count = new System.Windows.Forms.Label();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.panel1.SuspendLayout();
@@ -144,7 +146,7 @@
this.ToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(921, 35);
this.menuStrip1.Size = new System.Drawing.Size(921, 33);
this.menuStrip1.TabIndex = 1;
this.menuStrip1.Text = "menuStrip1";
//
@@ -157,41 +159,41 @@
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "管理员ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(84, 31);
this.ToolStripMenuItem.Size = new System.Drawing.Size(84, 29);
this.ToolStripMenuItem.Text = "管理员";
//
// 更改公告ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "更改公告ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 30);
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.Size = new System.Drawing.Size(164, 30);
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.Size = new System.Drawing.Size(164, 30);
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.Size = new System.Drawing.Size(164, 30);
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.Size = new System.Drawing.Size(164, 30);
this.ToolStripMenuItem.Text = "注册账号";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -200,13 +202,13 @@
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "设置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(64, 31);
this.ToolStripMenuItem.Size = new System.Drawing.Size(64, 29);
this.ToolStripMenuItem.Text = "设置";
//
// 修改密码ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "修改密码ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 32);
this.ToolStripMenuItem.Size = new System.Drawing.Size(164, 30);
this.ToolStripMenuItem.Text = "修改密码";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -217,33 +219,35 @@
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "关于ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(64, 31);
this.ToolStripMenuItem.Size = new System.Drawing.Size(64, 29);
this.ToolStripMenuItem.Text = "关于";
//
// 关于本软件ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "关于本软件ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 32);
this.ToolStripMenuItem.Size = new System.Drawing.Size(184, 30);
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.Size = new System.Drawing.Size(184, 30);
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.Size = new System.Drawing.Size(184, 30);
this.ToolStripMenuItem.Text = "版本号说明";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.label_file_count);
this.panel1.Controls.Add(this.label8);
this.panel1.Controls.Add(this.linkLabel_logout);
this.panel1.Controls.Add(this.label_factory);
this.panel1.Controls.Add(this.label9);
@@ -263,11 +267,22 @@
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
this.panel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel1.Location = new System.Drawing.Point(697, 35);
this.panel1.Location = new System.Drawing.Point(697, 33);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(224, 419);
this.panel1.Size = new System.Drawing.Size(224, 421);
this.panel1.TabIndex = 2;
//
// 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;
@@ -290,7 +305,7 @@
//
this.label7.AutoSize = true;
this.label7.ForeColor = System.Drawing.Color.DimGray;
this.label7.Location = new System.Drawing.Point(8, 146);
this.label7.Location = new System.Drawing.Point(8, 163);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(104, 17);
this.label7.TabIndex = 13;
@@ -303,10 +318,10 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 17;
this.listBox1.Location = new System.Drawing.Point(11, 166);
this.listBox1.Location = new System.Drawing.Point(11, 183);
this.listBox1.Name = "listBox1";
this.listBox1.SelectionMode = System.Windows.Forms.SelectionMode.None;
this.listBox1.Size = new System.Drawing.Size(200, 225);
this.listBox1.Size = new System.Drawing.Size(200, 208);
this.listBox1.TabIndex = 12;
//
// label_address
@@ -430,16 +445,24 @@
this.label_Announcement.Text = "[公告]";
this.label_Announcement.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// linkLabel_logout
// label8
//
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);
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(8, 143);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(68, 17);
this.label8.TabIndex = 17;
this.label8.Text = "文件数量:";
//
// label_file_count
//
this.label_file_count.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label_file_count.Location = new System.Drawing.Point(82, 143);
this.label_file_count.Name = "label_file_count";
this.label_file_count.Size = new System.Drawing.Size(129, 17);
this.label_file_count.TabIndex = 18;
this.label_file_count.Text = "0";
this.label_file_count.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// FormMainWindow
//
@@ -511,6 +534,8 @@
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;
}
}