用C#实现文件下载(2)

2019-03-09 16:29

/// private system.ComponentModel.Container components = null; public Form1() { // // windows 窗体设计器支持所必需的 InitializeComponent(); // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 // } /// /// 清理所有正在使用的资源。 /// protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region windows Form Designer generated code[Page] /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// private void InitializeComponent() { this.label1 = new system.Windows.Forms.Label(); this.label2 = new system.Windows.Forms.Label(); this.srcAddress = new system.Windows.Forms.TextBox(); this.tarAddress = new system.Windows.Forms.TextBox(); this.statusBar = new system.Windows.Forms.StatusBar(); this.Start = new system.Windows.Forms.Button(); this.SuspendLayout(); // // label1 // this.label1.Location = new system.Drawing.Point(8, 32); this.label1.Name = \ this.label1.Size = new system.Drawing.Size(72, 23); this.label1.TabIndex = 0; this.label1.Text = \文件地址:\ this.label1.TextAlign = system.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.Location = new system.Drawing.Point(8, 72); this.label2.Name = \ this.label2.Size = new system.Drawing.Size(72, 23); this.label2.TabIndex = 1; this.label2.Text = \另存到:\ this.label2.TextAlign = system.Drawing.ContentAlignment.MiddleRight; // // srcAddress // this.srcAddress.Location = new system.Drawing.Point(80, 32); this.srcAddress.Name = \ this.srcAddress.Size = new system.Drawing.Size(216, 21); this.srcAddress.TabIndex = 2; this.srcAddress.Text = \ // // tarAddress // this.tarAddress.Location = new system.Drawing.Point(80, 72); this.tarAddress.Name = \ this.tarAddress.Size = new system.Drawing.Size(216, 21); this.tarAddress.TabIndex = 3; this.tarAddress.Text = \ // // statusBar // this.statusBar.Location = new system.Drawing.Point(0, 151); this.statusBar.Name = \ this.statusBar.Size = new system.Drawing.Size(312, 22); this.statusBar.TabIndex = 4; // // Start // this.Start.FlatStyle = system.Windows.Forms.FlatStyle.Flat; this.Start.Location = new system.Drawing.Point(216, 112); this.Start.Name = \ this.Start.Size = new system.Drawing.Size(75, 24); this.Start.TabIndex = 5; this.Start.Text = \开始下载\ this.Start.Click += new system.EventHandler(this.Start_Click); // // Form1 // this.AutoScaleBaseSize = new system.Drawing.Size(6, 14); this.ClientSize = new system.Drawing.Size(312, 173); this.Controls.AddRange(new system.Windows.Forms.Control[] { this.Start, this.statusBar, this.tarAddress, this.srcAddress, this.label2, this.label1}); this.MaximizeBox = false;[Page] this.Name = \ this.Text = \文件下载器\ this.ResumeLayout(false); }


用C#实现文件下载(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:中国厢式运输车行业发展研究报告 - 图文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: