コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmDownloader));
     this.statusLabel          = new System.Windows.Forms.Label();
     this.currentProgressLabel = new System.Windows.Forms.Label();
     this.fileNameLabel        = new System.Windows.Forms.Label();
     this.currentProgressBar   = new Batte.Utilities.Controls.SmoothProgressBar();
     this.label1         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.btnCancel      = new System.Windows.Forms.Button();
     this.lbldestination = new System.Windows.Forms.Label();
     this.chkDwndCompl   = new System.Windows.Forms.CheckBox();
     this.lblfilesize    = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // statusLabel
     //
     this.statusLabel.Location  = new System.Drawing.Point(16, 80);
     this.statusLabel.Name      = "statusLabel";
     this.statusLabel.Size      = new System.Drawing.Size(104, 16);
     this.statusLabel.TabIndex  = 10;
     this.statusLabel.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     //
     // currentProgressLabel
     //
     this.currentProgressLabel.Location  = new System.Drawing.Point(280, 80);
     this.currentProgressLabel.Name      = "currentProgressLabel";
     this.currentProgressLabel.Size      = new System.Drawing.Size(64, 16);
     this.currentProgressLabel.TabIndex  = 9;
     this.currentProgressLabel.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // fileNameLabel
     //
     this.fileNameLabel.Location  = new System.Drawing.Point(112, 16);
     this.fileNameLabel.Name      = "fileNameLabel";
     this.fileNameLabel.Size      = new System.Drawing.Size(256, 16);
     this.fileNameLabel.TabIndex  = 8;
     this.fileNameLabel.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // currentProgressBar
     //
     this.currentProgressBar.BackColor = System.Drawing.SystemColors.Control;
     this.currentProgressBar.BarColor  = System.Drawing.Color.RoyalBlue;
     this.currentProgressBar.Border    = System.Windows.Forms.BorderStyle.FixedSingle;
     this.currentProgressBar.Location  = new System.Drawing.Point(16, 96);
     this.currentProgressBar.Maximum   = 100;
     this.currentProgressBar.Minimum   = 0;
     this.currentProgressBar.Name      = "currentProgressBar";
     this.currentProgressBar.Size      = new System.Drawing.Size(328, 16);
     this.currentProgressBar.Step      = 1;
     this.currentProgressBar.TabIndex  = 7;
     this.currentProgressBar.Value     = 0;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 16);
     this.label1.TabIndex = 11;
     this.label1.Text     = "File Name :";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 40);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(88, 16);
     this.label2.TabIndex = 12;
     this.label2.Text     = "Downloaded to :";
     //
     // btnCancel
     //
     this.btnCancel.Location = new System.Drawing.Point(152, 144);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(72, 24);
     this.btnCancel.TabIndex = 14;
     this.btnCancel.Text     = "Cancel";
     this.btnCancel.Click   += new System.EventHandler(this.btnCancel_Click);
     //
     // lbldestination
     //
     this.lbldestination.AccessibleRole = System.Windows.Forms.AccessibleRole.Caret;
     this.lbldestination.AllowDrop      = true;
     this.lbldestination.Location       = new System.Drawing.Point(112, 40);
     this.lbldestination.Name           = "lbldestination";
     this.lbldestination.Size           = new System.Drawing.Size(256, 32);
     this.lbldestination.TabIndex       = 16;
     //
     // chkDwndCompl
     //
     this.chkDwndCompl.Location        = new System.Drawing.Point(16, 120);
     this.chkDwndCompl.Name            = "chkDwndCompl";
     this.chkDwndCompl.Size            = new System.Drawing.Size(328, 16);
     this.chkDwndCompl.TabIndex        = 17;
     this.chkDwndCompl.Text            = "Close this dialog box when download completes";
     this.chkDwndCompl.CheckedChanged += new System.EventHandler(this.chkDwndCompl_CheckedChanged);
     //
     // lblfilesize
     //
     this.lblfilesize.Location = new System.Drawing.Point(136, 80);
     this.lblfilesize.Name     = "lblfilesize";
     this.lblfilesize.Size     = new System.Drawing.Size(120, 16);
     this.lblfilesize.TabIndex = 18;
     //
     // frmDownloader
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(174)), ((System.Byte)(239)));
     this.ClientSize        = new System.Drawing.Size(376, 191);
     this.Controls.Add(this.lblfilesize);
     this.Controls.Add(this.chkDwndCompl);
     this.Controls.Add(this.lbldestination);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.statusLabel);
     this.Controls.Add(this.currentProgressLabel);
     this.Controls.Add(this.fileNameLabel);
     this.Controls.Add(this.currentProgressBar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "frmDownloader";
     this.Opacity         = 0.85;
     this.Text            = "Compassnav Downloader";
     this.Load           += new System.EventHandler(this.frmDownloader_Load);
     this.ResumeLayout(false);
 }
コード例 #2
0
ファイル: frmDownloader.cs プロジェクト: zaeem/FlexCollab
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmDownloader));
     this.statusLabel = new System.Windows.Forms.Label();
     this.currentProgressLabel = new System.Windows.Forms.Label();
     this.fileNameLabel = new System.Windows.Forms.Label();
     this.currentProgressBar = new Batte.Utilities.Controls.SmoothProgressBar();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.btnCancel = new System.Windows.Forms.Button();
     this.lbldestination = new System.Windows.Forms.Label();
     this.chkDwndCompl = new System.Windows.Forms.CheckBox();
     this.lblfilesize = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // statusLabel
     //
     this.statusLabel.Location = new System.Drawing.Point(16, 80);
     this.statusLabel.Name = "statusLabel";
     this.statusLabel.Size = new System.Drawing.Size(104, 16);
     this.statusLabel.TabIndex = 10;
     this.statusLabel.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     //
     // currentProgressLabel
     //
     this.currentProgressLabel.Location = new System.Drawing.Point(280, 80);
     this.currentProgressLabel.Name = "currentProgressLabel";
     this.currentProgressLabel.Size = new System.Drawing.Size(64, 16);
     this.currentProgressLabel.TabIndex = 9;
     this.currentProgressLabel.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // fileNameLabel
     //
     this.fileNameLabel.Location = new System.Drawing.Point(112, 16);
     this.fileNameLabel.Name = "fileNameLabel";
     this.fileNameLabel.Size = new System.Drawing.Size(256, 16);
     this.fileNameLabel.TabIndex = 8;
     this.fileNameLabel.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // currentProgressBar
     //
     this.currentProgressBar.BackColor = System.Drawing.SystemColors.Control;
     this.currentProgressBar.BarColor = System.Drawing.Color.RoyalBlue;
     this.currentProgressBar.Border = System.Windows.Forms.BorderStyle.FixedSingle;
     this.currentProgressBar.Location = new System.Drawing.Point(16, 96);
     this.currentProgressBar.Maximum = 100;
     this.currentProgressBar.Minimum = 0;
     this.currentProgressBar.Name = "currentProgressBar";
     this.currentProgressBar.Size = new System.Drawing.Size(328, 16);
     this.currentProgressBar.Step = 1;
     this.currentProgressBar.TabIndex = 7;
     this.currentProgressBar.Value = 0;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(80, 16);
     this.label1.TabIndex = 11;
     this.label1.Text = "File Name :";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(88, 16);
     this.label2.TabIndex = 12;
     this.label2.Text = "Downloaded to :";
     //
     // btnCancel
     //
     this.btnCancel.Location = new System.Drawing.Point(152, 144);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(72, 24);
     this.btnCancel.TabIndex = 14;
     this.btnCancel.Text = "Cancel";
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // lbldestination
     //
     this.lbldestination.AccessibleRole = System.Windows.Forms.AccessibleRole.Caret;
     this.lbldestination.AllowDrop = true;
     this.lbldestination.Location = new System.Drawing.Point(112, 40);
     this.lbldestination.Name = "lbldestination";
     this.lbldestination.Size = new System.Drawing.Size(256, 32);
     this.lbldestination.TabIndex = 16;
     //
     // chkDwndCompl
     //
     this.chkDwndCompl.Location = new System.Drawing.Point(16, 120);
     this.chkDwndCompl.Name = "chkDwndCompl";
     this.chkDwndCompl.Size = new System.Drawing.Size(328, 16);
     this.chkDwndCompl.TabIndex = 17;
     this.chkDwndCompl.Text = "Close this dialog box when download completes";
     this.chkDwndCompl.CheckedChanged += new System.EventHandler(this.chkDwndCompl_CheckedChanged);
     //
     // lblfilesize
     //
     this.lblfilesize.Location = new System.Drawing.Point(136, 80);
     this.lblfilesize.Name = "lblfilesize";
     this.lblfilesize.Size = new System.Drawing.Size(120, 16);
     this.lblfilesize.TabIndex = 18;
     //
     // frmDownloader
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(174)), ((System.Byte)(239)));
     this.ClientSize = new System.Drawing.Size(376, 191);
     this.Controls.Add(this.lblfilesize);
     this.Controls.Add(this.chkDwndCompl);
     this.Controls.Add(this.lbldestination);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.statusLabel);
     this.Controls.Add(this.currentProgressLabel);
     this.Controls.Add(this.fileNameLabel);
     this.Controls.Add(this.currentProgressBar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "frmDownloader";
     this.Opacity = 0.85;
     this.Text = "Compassnav Downloader";
     this.Load += new System.EventHandler(this.frmDownloader_Load);
     this.ResumeLayout(false);
 }