|
@@ -0,0 +1,249 @@
|
|
|
+
|
|
|
+namespace FileExpander
|
|
|
+{
|
|
|
+ partial class FileExpanderForm
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 必需的设计器变量。
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 清理所有正在使用的资源。
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows 窗体设计器生成的代码
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 设计器支持所需的方法 - 不要修改
|
|
|
+ /// 使用代码编辑器修改此方法的内容。
|
|
|
+ /// </summary>
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.FileTextLabel = new System.Windows.Forms.Label();
|
|
|
+ this.FileValueLabel = new System.Windows.Forms.Label();
|
|
|
+ this.SelectButton = new System.Windows.Forms.Button();
|
|
|
+ this.DragDropLabel = new System.Windows.Forms.Label();
|
|
|
+ this.SizeTextLabel = new System.Windows.Forms.Label();
|
|
|
+ this.SizeValueLabel = new System.Windows.Forms.Label();
|
|
|
+ this.ExpandNumericUpDown = new System.Windows.Forms.NumericUpDown();
|
|
|
+ this.KbRadioButton = new System.Windows.Forms.RadioButton();
|
|
|
+ this.MbRadioButton = new System.Windows.Forms.RadioButton();
|
|
|
+ this.GbRadioButton = new System.Windows.Forms.RadioButton();
|
|
|
+ this.AfterExpandTextLabel = new System.Windows.Forms.Label();
|
|
|
+ this.AfterExpandValueLabel = new System.Windows.Forms.Label();
|
|
|
+ this.ExpandLabel = new System.Windows.Forms.Label();
|
|
|
+ this.GoButton = new System.Windows.Forms.Button();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ExpandNumericUpDown)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // FileTextLabel
|
|
|
+ //
|
|
|
+ this.FileTextLabel.AutoSize = true;
|
|
|
+ this.FileTextLabel.Location = new System.Drawing.Point(12, 9);
|
|
|
+ this.FileTextLabel.Name = "FileTextLabel";
|
|
|
+ this.FileTextLabel.Size = new System.Drawing.Size(35, 12);
|
|
|
+ this.FileTextLabel.TabIndex = 0;
|
|
|
+ this.FileTextLabel.Text = "File:";
|
|
|
+ //
|
|
|
+ // FileValueLabel
|
|
|
+ //
|
|
|
+ this.FileValueLabel.AllowDrop = true;
|
|
|
+ this.FileValueLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.FileValueLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
+ this.FileValueLabel.Location = new System.Drawing.Point(53, 8);
|
|
|
+ this.FileValueLabel.Name = "FileValueLabel";
|
|
|
+ this.FileValueLabel.Size = new System.Drawing.Size(230, 44);
|
|
|
+ this.FileValueLabel.TabIndex = 1;
|
|
|
+ this.FileValueLabel.Text = "- No Selected -";
|
|
|
+ this.FileValueLabel.DragDrop += new System.Windows.Forms.DragEventHandler(this.FileValueLabel_DragDrop);
|
|
|
+ this.FileValueLabel.DragEnter += new System.Windows.Forms.DragEventHandler(this.FileValueLabel_DragEnter);
|
|
|
+ //
|
|
|
+ // SelectButton
|
|
|
+ //
|
|
|
+ this.SelectButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.SelectButton.Location = new System.Drawing.Point(289, 8);
|
|
|
+ this.SelectButton.Name = "SelectButton";
|
|
|
+ this.SelectButton.Size = new System.Drawing.Size(89, 23);
|
|
|
+ this.SelectButton.TabIndex = 2;
|
|
|
+ this.SelectButton.Text = "Select";
|
|
|
+ this.SelectButton.UseVisualStyleBackColor = true;
|
|
|
+ this.SelectButton.Click += new System.EventHandler(this.SelectButton_Click);
|
|
|
+ //
|
|
|
+ // DragDropLabel
|
|
|
+ //
|
|
|
+ this.DragDropLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.DragDropLabel.AutoSize = true;
|
|
|
+ this.DragDropLabel.Location = new System.Drawing.Point(289, 40);
|
|
|
+ this.DragDropLabel.Name = "DragDropLabel";
|
|
|
+ this.DragDropLabel.Size = new System.Drawing.Size(89, 12);
|
|
|
+ this.DragDropLabel.TabIndex = 0;
|
|
|
+ this.DragDropLabel.Text = "← Or DragDrop";
|
|
|
+ //
|
|
|
+ // SizeTextLabel
|
|
|
+ //
|
|
|
+ this.SizeTextLabel.AutoSize = true;
|
|
|
+ this.SizeTextLabel.Location = new System.Drawing.Point(14, 66);
|
|
|
+ this.SizeTextLabel.Name = "SizeTextLabel";
|
|
|
+ this.SizeTextLabel.Size = new System.Drawing.Size(35, 12);
|
|
|
+ this.SizeTextLabel.TabIndex = 3;
|
|
|
+ this.SizeTextLabel.Text = "Size:";
|
|
|
+ //
|
|
|
+ // SizeValueLabel
|
|
|
+ //
|
|
|
+ this.SizeValueLabel.AutoSize = true;
|
|
|
+ this.SizeValueLabel.Location = new System.Drawing.Point(55, 66);
|
|
|
+ this.SizeValueLabel.Name = "SizeValueLabel";
|
|
|
+ this.SizeValueLabel.Size = new System.Drawing.Size(125, 12);
|
|
|
+ this.SizeValueLabel.TabIndex = 3;
|
|
|
+ this.SizeValueLabel.Text = "- No File Selected -";
|
|
|
+ //
|
|
|
+ // ExpandNumericUpDown
|
|
|
+ //
|
|
|
+ this.ExpandNumericUpDown.Location = new System.Drawing.Point(66, 92);
|
|
|
+ this.ExpandNumericUpDown.Maximum = new decimal(new int[] {
|
|
|
+ 1024,
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ 0});
|
|
|
+ this.ExpandNumericUpDown.Minimum = new decimal(new int[] {
|
|
|
+ 1,
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ 0});
|
|
|
+ this.ExpandNumericUpDown.Name = "ExpandNumericUpDown";
|
|
|
+ this.ExpandNumericUpDown.Size = new System.Drawing.Size(44, 21);
|
|
|
+ this.ExpandNumericUpDown.TabIndex = 4;
|
|
|
+ this.ExpandNumericUpDown.Value = new decimal(new int[] {
|
|
|
+ 1,
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ 0});
|
|
|
+ //
|
|
|
+ // KbRadioButton
|
|
|
+ //
|
|
|
+ this.KbRadioButton.Location = new System.Drawing.Point(121, 92);
|
|
|
+ this.KbRadioButton.Name = "KbRadioButton";
|
|
|
+ this.KbRadioButton.Size = new System.Drawing.Size(40, 21);
|
|
|
+ this.KbRadioButton.TabIndex = 5;
|
|
|
+ this.KbRadioButton.TabStop = true;
|
|
|
+ this.KbRadioButton.Text = "KB";
|
|
|
+ this.KbRadioButton.UseVisualStyleBackColor = true;
|
|
|
+ this.KbRadioButton.CheckedChanged += new System.EventHandler(this.UnitRadioButton_CheckedChanged);
|
|
|
+ //
|
|
|
+ // MbRadioButton
|
|
|
+ //
|
|
|
+ this.MbRadioButton.Location = new System.Drawing.Point(167, 92);
|
|
|
+ this.MbRadioButton.Name = "MbRadioButton";
|
|
|
+ this.MbRadioButton.Size = new System.Drawing.Size(38, 21);
|
|
|
+ this.MbRadioButton.TabIndex = 5;
|
|
|
+ this.MbRadioButton.TabStop = true;
|
|
|
+ this.MbRadioButton.Text = "MB";
|
|
|
+ this.MbRadioButton.UseVisualStyleBackColor = true;
|
|
|
+ this.MbRadioButton.CheckedChanged += new System.EventHandler(this.UnitRadioButton_CheckedChanged);
|
|
|
+ //
|
|
|
+ // GbRadioButton
|
|
|
+ //
|
|
|
+ this.GbRadioButton.Location = new System.Drawing.Point(211, 92);
|
|
|
+ this.GbRadioButton.Name = "GbRadioButton";
|
|
|
+ this.GbRadioButton.Size = new System.Drawing.Size(42, 21);
|
|
|
+ this.GbRadioButton.TabIndex = 5;
|
|
|
+ this.GbRadioButton.TabStop = true;
|
|
|
+ this.GbRadioButton.Text = "GB";
|
|
|
+ this.GbRadioButton.UseVisualStyleBackColor = true;
|
|
|
+ this.GbRadioButton.CheckedChanged += new System.EventHandler(this.UnitRadioButton_CheckedChanged);
|
|
|
+ //
|
|
|
+ // AfterExpandTextLabel
|
|
|
+ //
|
|
|
+ this.AfterExpandTextLabel.AutoSize = true;
|
|
|
+ this.AfterExpandTextLabel.Location = new System.Drawing.Point(14, 126);
|
|
|
+ this.AfterExpandTextLabel.Name = "AfterExpandTextLabel";
|
|
|
+ this.AfterExpandTextLabel.Size = new System.Drawing.Size(41, 12);
|
|
|
+ this.AfterExpandTextLabel.TabIndex = 3;
|
|
|
+ this.AfterExpandTextLabel.Text = "After:";
|
|
|
+ //
|
|
|
+ // AfterExpandValueLabel
|
|
|
+ //
|
|
|
+ this.AfterExpandValueLabel.AutoSize = true;
|
|
|
+ this.AfterExpandValueLabel.Location = new System.Drawing.Point(61, 126);
|
|
|
+ this.AfterExpandValueLabel.Name = "AfterExpandValueLabel";
|
|
|
+ this.AfterExpandValueLabel.Size = new System.Drawing.Size(125, 12);
|
|
|
+ this.AfterExpandValueLabel.TabIndex = 3;
|
|
|
+ this.AfterExpandValueLabel.Text = "- No Unit Selected -";
|
|
|
+ //
|
|
|
+ // ExpandLabel
|
|
|
+ //
|
|
|
+ this.ExpandLabel.AutoSize = true;
|
|
|
+ this.ExpandLabel.Location = new System.Drawing.Point(12, 96);
|
|
|
+ this.ExpandLabel.Name = "ExpandLabel";
|
|
|
+ this.ExpandLabel.Size = new System.Drawing.Size(47, 12);
|
|
|
+ this.ExpandLabel.TabIndex = 3;
|
|
|
+ this.ExpandLabel.Text = "Expand:";
|
|
|
+ //
|
|
|
+ // GoButton
|
|
|
+ //
|
|
|
+ this.GoButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
|
|
+ this.GoButton.Location = new System.Drawing.Point(155, 149);
|
|
|
+ this.GoButton.Name = "GoButton";
|
|
|
+ this.GoButton.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.GoButton.TabIndex = 6;
|
|
|
+ this.GoButton.Text = "Go";
|
|
|
+ this.GoButton.UseVisualStyleBackColor = true;
|
|
|
+ this.GoButton.Click += new System.EventHandler(this.GoButton_Click);
|
|
|
+ //
|
|
|
+ // FileExpanderForm
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(385, 184);
|
|
|
+ this.Controls.Add(this.GoButton);
|
|
|
+ this.Controls.Add(this.GbRadioButton);
|
|
|
+ this.Controls.Add(this.MbRadioButton);
|
|
|
+ this.Controls.Add(this.KbRadioButton);
|
|
|
+ this.Controls.Add(this.ExpandNumericUpDown);
|
|
|
+ this.Controls.Add(this.AfterExpandValueLabel);
|
|
|
+ this.Controls.Add(this.SizeValueLabel);
|
|
|
+ this.Controls.Add(this.ExpandLabel);
|
|
|
+ this.Controls.Add(this.AfterExpandTextLabel);
|
|
|
+ this.Controls.Add(this.SizeTextLabel);
|
|
|
+ this.Controls.Add(this.SelectButton);
|
|
|
+ this.Controls.Add(this.FileValueLabel);
|
|
|
+ this.Controls.Add(this.DragDropLabel);
|
|
|
+ this.Controls.Add(this.FileTextLabel);
|
|
|
+ this.Name = "FileExpanderForm";
|
|
|
+ this.Text = "File Expander";
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ExpandNumericUpDown)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.Label FileTextLabel;
|
|
|
+ private System.Windows.Forms.Label FileValueLabel;
|
|
|
+ private System.Windows.Forms.Button SelectButton;
|
|
|
+ private System.Windows.Forms.Label DragDropLabel;
|
|
|
+ private System.Windows.Forms.Label SizeTextLabel;
|
|
|
+ private System.Windows.Forms.Label SizeValueLabel;
|
|
|
+ private System.Windows.Forms.NumericUpDown ExpandNumericUpDown;
|
|
|
+ private System.Windows.Forms.RadioButton KbRadioButton;
|
|
|
+ private System.Windows.Forms.RadioButton MbRadioButton;
|
|
|
+ private System.Windows.Forms.RadioButton GbRadioButton;
|
|
|
+ private System.Windows.Forms.Label AfterExpandTextLabel;
|
|
|
+ private System.Windows.Forms.Label AfterExpandValueLabel;
|
|
|
+ private System.Windows.Forms.Label ExpandLabel;
|
|
|
+ private System.Windows.Forms.Button GoButton;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|