257 lines
11 KiB
C#
257 lines
11 KiB
C#
namespace FileSend
|
||
{
|
||
partial class PushFilePanel
|
||
{
|
||
/// <summary>
|
||
/// Required designer variable.
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// Clean up any resources being used.
|
||
/// </summary>
|
||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows Form Designer generated code
|
||
|
||
/// <summary>
|
||
/// Required method for Designer support - do not modify
|
||
/// the contents of this method with the code editor.
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.button_ChooseFile = new Button();
|
||
this.listView_Files = new ListView();
|
||
this.columnHeader1 = new ColumnHeader();
|
||
this.columnHeader2 = new ColumnHeader();
|
||
this.columnHeader3 = new ColumnHeader();
|
||
this.button_Setting = new Button();
|
||
this.label_ChooseCount = new Label();
|
||
this.button_ClearLog = new Button();
|
||
this.button_OpenLogFile = new Button();
|
||
this.progressBar_PushProgress = new ProgressBar();
|
||
this.label_PushProgress = new Label();
|
||
this.label4 = new Label();
|
||
this.label5 = new Label();
|
||
this.button_Push = new Button();
|
||
this.button_ClearFiles = new Button();
|
||
this.listView_Log = new ListView();
|
||
this.columnHeader4 = new ColumnHeader();
|
||
this.columnHeader5 = new ColumnHeader();
|
||
this.columnHeader6 = new ColumnHeader();
|
||
this.SuspendLayout();
|
||
//
|
||
// button_ChooseFile
|
||
//
|
||
this.button_ChooseFile.Location = new Point(85, 37);
|
||
this.button_ChooseFile.Name = "button_ChooseFile";
|
||
this.button_ChooseFile.Size = new Size(75, 23);
|
||
this.button_ChooseFile.TabIndex = 0;
|
||
this.button_ChooseFile.Text = "选择文件";
|
||
this.button_ChooseFile.UseVisualStyleBackColor = true;
|
||
this.button_ChooseFile.Click += this.button_ChooseFile_Click;
|
||
//
|
||
// listView_Files
|
||
//
|
||
this.listView_Files.Alignment = ListViewAlignment.SnapToGrid;
|
||
this.listView_Files.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||
this.listView_Files.Columns.AddRange(new ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3 });
|
||
this.listView_Files.Location = new Point(85, 66);
|
||
this.listView_Files.Name = "listView_Files";
|
||
this.listView_Files.Size = new Size(354, 342);
|
||
this.listView_Files.TabIndex = 1;
|
||
this.listView_Files.UseCompatibleStateImageBehavior = false;
|
||
this.listView_Files.View = View.List;
|
||
this.listView_Files.VirtualListSize = 20;
|
||
this.listView_Files.SelectedIndexChanged += this.listView_Files_SelectedIndexChanged;
|
||
//
|
||
// columnHeader1
|
||
//
|
||
this.columnHeader1.Width = 200;
|
||
//
|
||
// columnHeader2
|
||
//
|
||
this.columnHeader2.Width = 300;
|
||
//
|
||
// columnHeader3
|
||
//
|
||
this.columnHeader3.Width = 500;
|
||
//
|
||
// button_Setting
|
||
//
|
||
this.button_Setting.Location = new Point(12, 12);
|
||
this.button_Setting.Name = "button_Setting";
|
||
this.button_Setting.Size = new Size(50, 23);
|
||
this.button_Setting.TabIndex = 7;
|
||
this.button_Setting.Text = "设置";
|
||
this.button_Setting.UseVisualStyleBackColor = true;
|
||
this.button_Setting.Click += this.button_Setting_Click;
|
||
//
|
||
// label_ChooseCount
|
||
//
|
||
this.label_ChooseCount.AutoSize = true;
|
||
this.label_ChooseCount.Location = new Point(300, 40);
|
||
this.label_ChooseCount.Name = "label_ChooseCount";
|
||
this.label_ChooseCount.Size = new Size(113, 17);
|
||
this.label_ChooseCount.TabIndex = 8;
|
||
this.label_ChooseCount.Text = "共选择了100个文件";
|
||
//
|
||
// button_ClearLog
|
||
//
|
||
this.button_ClearLog.Location = new Point(467, 37);
|
||
this.button_ClearLog.Name = "button_ClearLog";
|
||
this.button_ClearLog.Size = new Size(50, 23);
|
||
this.button_ClearLog.TabIndex = 11;
|
||
this.button_ClearLog.Text = "清空";
|
||
this.button_ClearLog.UseVisualStyleBackColor = true;
|
||
this.button_ClearLog.Click += this.button_ClearLog_Click;
|
||
//
|
||
// button_OpenLogFile
|
||
//
|
||
this.button_OpenLogFile.Location = new Point(523, 37);
|
||
this.button_OpenLogFile.Name = "button_OpenLogFile";
|
||
this.button_OpenLogFile.Size = new Size(95, 23);
|
||
this.button_OpenLogFile.TabIndex = 12;
|
||
this.button_OpenLogFile.Text = "打开日志文件";
|
||
this.button_OpenLogFile.UseVisualStyleBackColor = true;
|
||
this.button_OpenLogFile.Click += this.button_OpenLogFile_Click;
|
||
//
|
||
// progressBar_PushProgress
|
||
//
|
||
this.progressBar_PushProgress.Location = new Point(85, 430);
|
||
this.progressBar_PushProgress.Name = "progressBar_PushProgress";
|
||
this.progressBar_PushProgress.Size = new Size(354, 10);
|
||
this.progressBar_PushProgress.TabIndex = 14;
|
||
this.progressBar_PushProgress.Click += this.progressBar_PushProgress_Click;
|
||
//
|
||
// label_PushProgress
|
||
//
|
||
this.label_PushProgress.AutoSize = true;
|
||
this.label_PushProgress.Location = new Point(175, 411);
|
||
this.label_PushProgress.Name = "label_PushProgress";
|
||
this.label_PushProgress.Size = new Size(176, 17);
|
||
this.label_PushProgress.TabIndex = 15;
|
||
this.label_PushProgress.Text = "进度:10%;速度:1024MB/s";
|
||
this.label_PushProgress.TextAlign = ContentAlignment.MiddleCenter;
|
||
//
|
||
// label4
|
||
//
|
||
this.label4.AutoSize = true;
|
||
this.label4.Location = new Point(467, 9);
|
||
this.label4.Name = "label4";
|
||
this.label4.Size = new Size(56, 17);
|
||
this.label4.TabIndex = 16;
|
||
this.label4.Text = "日志输出";
|
||
//
|
||
// label5
|
||
//
|
||
this.label5.AutoSize = true;
|
||
this.label5.Location = new Point(85, 9);
|
||
this.label5.Name = "label5";
|
||
this.label5.Size = new Size(56, 17);
|
||
this.label5.TabIndex = 17;
|
||
this.label5.Text = "文件列表";
|
||
//
|
||
// button_Push
|
||
//
|
||
this.button_Push.Location = new Point(233, 37);
|
||
this.button_Push.Name = "button_Push";
|
||
this.button_Push.Size = new Size(61, 23);
|
||
this.button_Push.TabIndex = 18;
|
||
this.button_Push.Text = "发送";
|
||
this.button_Push.UseVisualStyleBackColor = true;
|
||
this.button_Push.Click += this.button_Push_Click;
|
||
//
|
||
// button_ClearFiles
|
||
//
|
||
this.button_ClearFiles.Location = new Point(166, 37);
|
||
this.button_ClearFiles.Name = "button_ClearFiles";
|
||
this.button_ClearFiles.Size = new Size(61, 23);
|
||
this.button_ClearFiles.TabIndex = 19;
|
||
this.button_ClearFiles.Text = "清空";
|
||
this.button_ClearFiles.UseVisualStyleBackColor = true;
|
||
this.button_ClearFiles.Click += this.button_ClearFiles_Click;
|
||
//
|
||
// listView_Log
|
||
//
|
||
this.listView_Log.Alignment = ListViewAlignment.SnapToGrid;
|
||
this.listView_Log.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||
this.listView_Log.Columns.AddRange(new ColumnHeader[] { this.columnHeader4, this.columnHeader5, this.columnHeader6 });
|
||
this.listView_Log.Location = new Point(467, 66);
|
||
this.listView_Log.Name = "listView_Log";
|
||
this.listView_Log.Size = new Size(321, 374);
|
||
this.listView_Log.TabIndex = 20;
|
||
this.listView_Log.UseCompatibleStateImageBehavior = false;
|
||
this.listView_Log.View = View.List;
|
||
this.listView_Log.VirtualListSize = 20;
|
||
//
|
||
// columnHeader4
|
||
//
|
||
this.columnHeader4.Width = 200;
|
||
//
|
||
// columnHeader5
|
||
//
|
||
this.columnHeader5.Width = 300;
|
||
//
|
||
// columnHeader6
|
||
//
|
||
this.columnHeader6.Width = 500;
|
||
//
|
||
// PushFilePanel
|
||
//
|
||
this.AutoScaleDimensions = new SizeF(7F, 17F);
|
||
this.AutoScaleMode = AutoScaleMode.Font;
|
||
this.ClientSize = new Size(800, 450);
|
||
this.Controls.Add(this.listView_Log);
|
||
this.Controls.Add(this.button_ClearFiles);
|
||
this.Controls.Add(this.button_Push);
|
||
this.Controls.Add(this.label5);
|
||
this.Controls.Add(this.label4);
|
||
this.Controls.Add(this.label_PushProgress);
|
||
this.Controls.Add(this.progressBar_PushProgress);
|
||
this.Controls.Add(this.button_OpenLogFile);
|
||
this.Controls.Add(this.button_ClearLog);
|
||
this.Controls.Add(this.label_ChooseCount);
|
||
this.Controls.Add(this.button_Setting);
|
||
this.Controls.Add(this.listView_Files);
|
||
this.Controls.Add(this.button_ChooseFile);
|
||
this.Name = "PushFilePanel";
|
||
this.Text = "发送文件";
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private Button button_ChooseFile;
|
||
private ListView listView_Files;
|
||
private Button button_Setting;
|
||
private Label label_ChooseCount;
|
||
private Button button_ClearLog;
|
||
private Button button_OpenLogFile;
|
||
private ProgressBar progressBar_PushProgress;
|
||
private Label label_PushProgress;
|
||
private Label label4;
|
||
private Label label5;
|
||
private Button button_Push;
|
||
|
||
// add
|
||
List<PushFileInfo> pushFileInfos = new List<PushFileInfo>();
|
||
private Button button_ClearFiles;
|
||
private ColumnHeader columnHeader1;
|
||
private ColumnHeader columnHeader2;
|
||
private ColumnHeader columnHeader3;
|
||
private ListView listView_Log;
|
||
private ColumnHeader columnHeader4;
|
||
private ColumnHeader columnHeader5;
|
||
private ColumnHeader columnHeader6;
|
||
}
|
||
} |