📄 downloadfile.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace GzglClient.Froms
{
/// <summary>
/// DownLoadFile 的摘要说明。
/// </summary>
public class DownLoadFile : System.Windows.Forms.Form
{
private PinkieControls.ButtonXP btnDownLoad;
private PinkieControls.ButtonXP btnCancel1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.ListView AppUpdate;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public DownLoadFile()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.btnDownLoad = new PinkieControls.ButtonXP();
this.btnCancel1 = new PinkieControls.ButtonXP();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.AppUpdate = new System.Windows.Forms.ListView();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// btnDownLoad
//
this.btnDownLoad.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
this.btnDownLoad.DefaultScheme = true;
this.btnDownLoad.DialogResult = System.Windows.Forms.DialogResult.None;
this.btnDownLoad.Hint = "";
this.btnDownLoad.Location = new System.Drawing.Point(296, 200);
this.btnDownLoad.Name = "btnDownLoad";
this.btnDownLoad.Scheme = PinkieControls.ButtonXP.Schemes.Blue;
this.btnDownLoad.Size = new System.Drawing.Size(72, 26);
this.btnDownLoad.TabIndex = 17;
this.btnDownLoad.Text = "下载";
this.btnDownLoad.Click += new System.EventHandler(this.btnDownLoad_Click);
//
// btnCancel1
//
this.btnCancel1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
this.btnCancel1.DefaultScheme = true;
this.btnCancel1.DialogResult = System.Windows.Forms.DialogResult.None;
this.btnCancel1.Hint = "";
this.btnCancel1.Location = new System.Drawing.Point(384, 200);
this.btnCancel1.Name = "btnCancel1";
this.btnCancel1.Scheme = PinkieControls.ButtonXP.Schemes.Blue;
this.btnCancel1.Size = new System.Drawing.Size(75, 26);
this.btnCancel1.TabIndex = 16;
this.btnCancel1.Text = "取消";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.AppUpdate);
this.groupBox1.Location = new System.Drawing.Point(8, 8);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(472, 184);
this.groupBox1.TabIndex = 13;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "需要下载的项目";
//
// AppUpdate
//
this.AppUpdate.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2});
this.AppUpdate.Dock = System.Windows.Forms.DockStyle.Fill;
this.AppUpdate.FullRowSelect = true;
this.AppUpdate.GridLines = true;
this.AppUpdate.Location = new System.Drawing.Point(3, 17);
this.AppUpdate.Name = "AppUpdate";
this.AppUpdate.Size = new System.Drawing.Size(466, 164);
this.AppUpdate.TabIndex = 1;
this.AppUpdate.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "文件名";
this.columnHeader1.Width = 340;
//
// columnHeader2
//
this.columnHeader2.Text = "完成";
//
// DownLoadFile
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(488, 229);
this.Controls.Add(this.btnDownLoad);
this.Controls.Add(this.btnCancel1);
this.Controls.Add(this.groupBox1);
this.Name = "DownLoadFile";
this.Text = "下载套改数据";
this.Load += new System.EventHandler(this.DownLoadFile_Load);
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private void DownLoadFile_Load(object sender, System.EventArgs e)
{
//AppUpdate.Items.Add(File[j].ToString();
}
private void btnDownLoad_Click(object sender, System.EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -