Barely made any progress lol
This commit is contained in:
parent
bee8d38bda
commit
abfdb97453
3 changed files with 191 additions and 29 deletions
162
Form1.Designer.cs
generated
162
Form1.Designer.cs
generated
|
@ -28,12 +28,166 @@
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Text = "Form1";
|
||||
groupBox1 = new GroupBox();
|
||||
radioButton2 = new RadioButton();
|
||||
radioButton1 = new RadioButton();
|
||||
panel1 = new Panel();
|
||||
groupBox2 = new GroupBox();
|
||||
button1 = new Button();
|
||||
textBox1 = new TextBox();
|
||||
menuStrip1 = new MenuStrip();
|
||||
fileToolStripMenuItem = new ToolStripMenuItem();
|
||||
helpToolStripMenuItem = new ToolStripMenuItem();
|
||||
aboutToolStripMenuItem = new ToolStripMenuItem();
|
||||
groupBox1.SuspendLayout();
|
||||
panel1.SuspendLayout();
|
||||
groupBox2.SuspendLayout();
|
||||
menuStrip1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
groupBox1.Controls.Add(radioButton2);
|
||||
groupBox1.Controls.Add(radioButton1);
|
||||
groupBox1.Dock = DockStyle.Left;
|
||||
groupBox1.Location = new Point(0, 0);
|
||||
groupBox1.Name = "groupBox1";
|
||||
groupBox1.Size = new Size(126, 67);
|
||||
groupBox1.TabIndex = 0;
|
||||
groupBox1.TabStop = false;
|
||||
groupBox1.Text = "File mode";
|
||||
//
|
||||
// radioButton2
|
||||
//
|
||||
radioButton2.AutoSize = true;
|
||||
radioButton2.Dock = DockStyle.Top;
|
||||
radioButton2.FlatStyle = FlatStyle.System;
|
||||
radioButton2.Location = new Point(3, 39);
|
||||
radioButton2.Name = "radioButton2";
|
||||
radioButton2.Size = new Size(120, 20);
|
||||
radioButton2.TabIndex = 1;
|
||||
radioButton2.TabStop = true;
|
||||
radioButton2.Text = "Render mode";
|
||||
radioButton2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radioButton1
|
||||
//
|
||||
radioButton1.AutoSize = true;
|
||||
radioButton1.Dock = DockStyle.Top;
|
||||
radioButton1.FlatStyle = FlatStyle.System;
|
||||
radioButton1.Location = new Point(3, 19);
|
||||
radioButton1.Name = "radioButton1";
|
||||
radioButton1.Size = new Size(120, 20);
|
||||
radioButton1.TabIndex = 0;
|
||||
radioButton1.TabStop = true;
|
||||
radioButton1.Text = "Converter mode";
|
||||
radioButton1.UseVisualStyleBackColor = true;
|
||||
radioButton1.CheckedChanged += radioButton1_CheckedChanged;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
panel1.Controls.Add(groupBox2);
|
||||
panel1.Controls.Add(groupBox1);
|
||||
panel1.Dock = DockStyle.Top;
|
||||
panel1.Location = new Point(0, 24);
|
||||
panel1.Name = "panel1";
|
||||
panel1.Size = new Size(800, 67);
|
||||
panel1.TabIndex = 1;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
groupBox2.Controls.Add(button1);
|
||||
groupBox2.Controls.Add(textBox1);
|
||||
groupBox2.Dock = DockStyle.Left;
|
||||
groupBox2.Location = new Point(126, 0);
|
||||
groupBox2.Name = "groupBox2";
|
||||
groupBox2.Size = new Size(313, 67);
|
||||
groupBox2.TabIndex = 1;
|
||||
groupBox2.TabStop = false;
|
||||
groupBox2.Text = "Output file";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.Dock = DockStyle.Fill;
|
||||
button1.FlatStyle = FlatStyle.System;
|
||||
button1.Location = new Point(3, 42);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(307, 22);
|
||||
button1.TabIndex = 1;
|
||||
button1.Text = "Select folder";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
textBox1.Dock = DockStyle.Top;
|
||||
textBox1.Location = new Point(3, 19);
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.PlaceholderText = "Type path or select folder below. ";
|
||||
textBox1.Size = new Size(307, 23);
|
||||
textBox1.TabIndex = 0;
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
menuStrip1.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem, helpToolStripMenuItem });
|
||||
menuStrip1.Location = new Point(0, 0);
|
||||
menuStrip1.Name = "menuStrip1";
|
||||
menuStrip1.Size = new Size(800, 24);
|
||||
menuStrip1.TabIndex = 2;
|
||||
menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
fileToolStripMenuItem.Size = new Size(37, 20);
|
||||
fileToolStripMenuItem.Text = "File";
|
||||
//
|
||||
// helpToolStripMenuItem
|
||||
//
|
||||
helpToolStripMenuItem.Alignment = ToolStripItemAlignment.Right;
|
||||
helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { aboutToolStripMenuItem });
|
||||
helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||
helpToolStripMenuItem.Size = new Size(44, 20);
|
||||
helpToolStripMenuItem.Text = "Help";
|
||||
//
|
||||
// aboutToolStripMenuItem
|
||||
//
|
||||
aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
aboutToolStripMenuItem.Size = new Size(107, 22);
|
||||
aboutToolStripMenuItem.Text = "About";
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(800, 492);
|
||||
Controls.Add(panel1);
|
||||
Controls.Add(menuStrip1);
|
||||
MainMenuStrip = menuStrip1;
|
||||
Name = "Form1";
|
||||
Text = "MintHTML";
|
||||
groupBox1.ResumeLayout(false);
|
||||
groupBox1.PerformLayout();
|
||||
panel1.ResumeLayout(false);
|
||||
groupBox2.ResumeLayout(false);
|
||||
groupBox2.PerformLayout();
|
||||
menuStrip1.ResumeLayout(false);
|
||||
menuStrip1.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private GroupBox groupBox1;
|
||||
private RadioButton radioButton2;
|
||||
private RadioButton radioButton1;
|
||||
private Panel panel1;
|
||||
private MenuStrip menuStrip1;
|
||||
private ToolStripMenuItem fileToolStripMenuItem;
|
||||
private ToolStripMenuItem helpToolStripMenuItem;
|
||||
private ToolStripMenuItem aboutToolStripMenuItem;
|
||||
private GroupBox groupBox2;
|
||||
private TextBox textBox1;
|
||||
private Button button1;
|
||||
}
|
||||
}
|
||||
|
|
5
Form1.cs
5
Form1.cs
|
@ -6,5 +6,10 @@ namespace MintHTML
|
|||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void radioButton1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
groupBox2.Enabled = radioButton1.Checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,4 +117,7 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
Loading…
Reference in a new issue