MintHTML/Form1.Designer.cs

303 lines
14 KiB
C#
Raw Permalink Normal View History

2024-05-11 16:00:45 -07:00
namespace MintHTML
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
2024-05-29 13:23:29 -07:00
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
2024-05-11 16:12:18 -07:00
menuStrip1 = new MenuStrip();
fileToolStripMenuItem = new ToolStripMenuItem();
2024-05-12 16:05:39 -07:00
openDevToolsToolStripMenuItem = new ToolStripMenuItem();
exitToolStripMenuItem = new ToolStripMenuItem();
2024-05-11 23:20:06 -07:00
renderToolStripMenuItem = new ToolStripMenuItem();
fontFamilyToolStripMenuItem = new ToolStripMenuItem();
serifToolStripMenuItem = new ToolStripMenuItem();
sansSerifToolStripMenuItem = new ToolStripMenuItem();
forceMonospaceToolStripMenuItem = new ToolStripMenuItem();
colorThemeToolStripMenuItem = new ToolStripMenuItem();
systemToolStripMenuItem = new ToolStripMenuItem();
lightToolStripMenuItem = new ToolStripMenuItem();
darkToolStripMenuItem = new ToolStripMenuItem();
fullUIToolStripMenuItem = new ToolStripMenuItem();
helpToolStripMenuItem = new ToolStripMenuItem();
aboutToolStripMenuItem = new ToolStripMenuItem();
2024-05-11 16:41:08 -07:00
Opener = new OpenFileDialog();
Saver = new SaveFileDialog();
2024-05-14 00:40:35 -07:00
chromiumWebBrowser1 = new CefSharp.WinForms.ChromiumWebBrowser();
2024-05-11 23:20:06 -07:00
button4 = new Button();
button3 = new Button();
2024-05-12 16:05:39 -07:00
button2 = new Button();
textBox2 = new TextBox();
2024-05-11 16:12:18 -07:00
menuStrip1.SuspendLayout();
SuspendLayout();
//
// menuStrip1
//
menuStrip1.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem, renderToolStripMenuItem, helpToolStripMenuItem });
2024-05-11 16:12:18 -07:00
menuStrip1.Location = new Point(0, 0);
menuStrip1.Name = "menuStrip1";
2024-05-11 16:41:08 -07:00
menuStrip1.RenderMode = ToolStripRenderMode.System;
2024-05-11 16:12:18 -07:00
menuStrip1.Size = new Size(800, 24);
menuStrip1.TabIndex = 2;
menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
2024-05-12 16:05:39 -07:00
fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { openDevToolsToolStripMenuItem, exitToolStripMenuItem });
2024-05-11 16:12:18 -07:00
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
fileToolStripMenuItem.Size = new Size(37, 20);
fileToolStripMenuItem.Text = "File";
//
2024-05-12 16:05:39 -07:00
// openDevToolsToolStripMenuItem
//
openDevToolsToolStripMenuItem.Name = "openDevToolsToolStripMenuItem";
2024-10-01 16:37:03 -07:00
openDevToolsToolStripMenuItem.Size = new Size(154, 22);
2024-05-12 16:05:39 -07:00
openDevToolsToolStripMenuItem.Text = "Open DevTools";
openDevToolsToolStripMenuItem.Click += openDevToolsToolStripMenuItem_Click_1;
//
// exitToolStripMenuItem
//
exitToolStripMenuItem.Name = "exitToolStripMenuItem";
2024-10-01 16:37:03 -07:00
exitToolStripMenuItem.Size = new Size(154, 22);
2024-05-12 16:05:39 -07:00
exitToolStripMenuItem.Text = "Exit";
2024-05-15 16:20:04 -07:00
exitToolStripMenuItem.Click += exitToolStripMenuItem_Click;
2024-05-12 16:05:39 -07:00
//
2024-05-11 23:20:06 -07:00
// renderToolStripMenuItem
//
2024-10-01 16:37:03 -07:00
renderToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { fontFamilyToolStripMenuItem, colorThemeToolStripMenuItem, fullUIToolStripMenuItem });
2024-05-11 23:20:06 -07:00
renderToolStripMenuItem.Name = "renderToolStripMenuItem";
renderToolStripMenuItem.Size = new Size(56, 20);
renderToolStripMenuItem.Text = "Render";
//
// fontFamilyToolStripMenuItem
//
fontFamilyToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { serifToolStripMenuItem, sansSerifToolStripMenuItem, forceMonospaceToolStripMenuItem });
fontFamilyToolStripMenuItem.Name = "fontFamilyToolStripMenuItem";
2024-10-01 16:37:03 -07:00
fontFamilyToolStripMenuItem.Size = new Size(140, 22);
2024-05-11 23:20:06 -07:00
fontFamilyToolStripMenuItem.Text = "Font Family";
//
// serifToolStripMenuItem
//
serifToolStripMenuItem.Name = "serifToolStripMenuItem";
2024-05-13 12:24:30 -07:00
serifToolStripMenuItem.Size = new Size(176, 22);
2024-05-11 23:20:06 -07:00
serifToolStripMenuItem.Text = "Serif";
2024-05-12 16:05:39 -07:00
serifToolStripMenuItem.Click += serifToolStripMenuItem_Click;
2024-05-11 23:20:06 -07:00
//
// sansSerifToolStripMenuItem
//
sansSerifToolStripMenuItem.Checked = true;
sansSerifToolStripMenuItem.CheckState = CheckState.Checked;
sansSerifToolStripMenuItem.Name = "sansSerifToolStripMenuItem";
2024-05-13 12:24:30 -07:00
sansSerifToolStripMenuItem.Size = new Size(176, 22);
2024-05-11 23:20:06 -07:00
sansSerifToolStripMenuItem.Text = "(Default) Sans serif";
2024-05-12 16:05:39 -07:00
sansSerifToolStripMenuItem.Click += sansSerifToolStripMenuItem_Click;
2024-05-11 23:20:06 -07:00
//
// forceMonospaceToolStripMenuItem
//
forceMonospaceToolStripMenuItem.Name = "forceMonospaceToolStripMenuItem";
2024-05-13 12:24:30 -07:00
forceMonospaceToolStripMenuItem.Size = new Size(176, 22);
2024-05-11 23:20:06 -07:00
forceMonospaceToolStripMenuItem.Text = "(Force) Monospace";
2024-05-12 16:05:39 -07:00
forceMonospaceToolStripMenuItem.Click += forceMonospaceToolStripMenuItem_Click;
2024-05-11 23:20:06 -07:00
//
// colorThemeToolStripMenuItem
//
colorThemeToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { systemToolStripMenuItem, lightToolStripMenuItem, darkToolStripMenuItem });
colorThemeToolStripMenuItem.Name = "colorThemeToolStripMenuItem";
2024-10-01 16:37:03 -07:00
colorThemeToolStripMenuItem.Size = new Size(140, 22);
colorThemeToolStripMenuItem.Text = "Color theme";
//
// systemToolStripMenuItem
//
systemToolStripMenuItem.BackColor = SystemColors.Control;
systemToolStripMenuItem.Checked = true;
systemToolStripMenuItem.CheckState = CheckState.Checked;
systemToolStripMenuItem.ForeColor = SystemColors.ControlText;
systemToolStripMenuItem.Name = "systemToolStripMenuItem";
systemToolStripMenuItem.Size = new Size(161, 22);
systemToolStripMenuItem.Text = "System (Default)";
systemToolStripMenuItem.Click += systemToolStripMenuItem_Click;
//
// lightToolStripMenuItem
//
lightToolStripMenuItem.Name = "lightToolStripMenuItem";
lightToolStripMenuItem.Size = new Size(161, 22);
lightToolStripMenuItem.Text = "Light";
//
// darkToolStripMenuItem
//
darkToolStripMenuItem.Name = "darkToolStripMenuItem";
darkToolStripMenuItem.Size = new Size(161, 22);
darkToolStripMenuItem.Text = "Dark";
2024-09-30 19:36:23 -07:00
darkToolStripMenuItem.Click += darkToolStripMenuItem_Click;
//
// fullUIToolStripMenuItem
//
fullUIToolStripMenuItem.Checked = true;
fullUIToolStripMenuItem.CheckOnClick = true;
fullUIToolStripMenuItem.CheckState = CheckState.Checked;
fullUIToolStripMenuItem.Name = "fullUIToolStripMenuItem";
fullUIToolStripMenuItem.Size = new Size(140, 22);
fullUIToolStripMenuItem.Text = "Full UI";
//
// 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";
aboutToolStripMenuItem.Click += aboutToolStripMenuItem_Click;
//
2024-05-11 16:41:08 -07:00
// Opener
//
Opener.DefaultExt = "md";
Opener.Filter = "Markdown files|*.md|All files|*.*";
Opener.SupportMultiDottedExtensions = true;
//
// Saver
//
Saver.CheckPathExists = false;
Saver.DefaultExt = "html";
Saver.Filter = "HTML websites|*.html|All files|*.*";
2024-05-11 16:12:18 -07:00
//
2024-05-14 00:40:35 -07:00
// chromiumWebBrowser1
//
chromiumWebBrowser1.ActivateBrowserOnCreation = false;
chromiumWebBrowser1.Dock = DockStyle.Fill;
chromiumWebBrowser1.Location = new Point(0, 86);
2024-05-14 00:40:35 -07:00
chromiumWebBrowser1.Name = "chromiumWebBrowser1";
chromiumWebBrowser1.Size = new Size(800, 383);
2024-05-14 00:40:35 -07:00
chromiumWebBrowser1.TabIndex = 3;
chromiumWebBrowser1.AddressChanged += chromiumWebBrowser1_AddressChanged;
2024-05-11 23:20:06 -07:00
//
// button4
//
button4.Dock = DockStyle.Top;
2024-05-12 16:05:39 -07:00
button4.Enabled = false;
button4.FlatStyle = FlatStyle.System;
button4.ForeColor = SystemColors.ControlText;
button4.Location = new Point(0, 63);
2024-05-11 23:20:06 -07:00
button4.Name = "button4";
button4.Size = new Size(800, 23);
2024-05-11 23:20:06 -07:00
button4.TabIndex = 1;
button4.Text = "Render preview";
button4.UseVisualStyleBackColor = true;
2024-05-12 16:05:39 -07:00
button4.Click += button4_Click;
2024-05-11 23:20:06 -07:00
//
// button3
//
button3.Dock = DockStyle.Bottom;
2024-05-12 16:05:39 -07:00
button3.Enabled = false;
button3.FlatStyle = FlatStyle.System;
2024-05-11 23:20:06 -07:00
button3.Location = new Point(0, 469);
button3.Name = "button3";
button3.Size = new Size(800, 23);
button3.TabIndex = 4;
button3.Text = "Convert";
button3.UseVisualStyleBackColor = false;
button3.Click += button3_Click;
//
2024-05-12 16:05:39 -07:00
// button2
//
button2.Dock = DockStyle.Top;
button2.FlatStyle = FlatStyle.System;
button2.Location = new Point(0, 40);
2024-05-12 16:05:39 -07:00
button2.Name = "button2";
button2.Size = new Size(800, 23);
2024-05-12 16:05:39 -07:00
button2.TabIndex = 3;
button2.Text = "Select file";
button2.UseVisualStyleBackColor = true;
button2.Click += button2_Click;
//
// textBox2
//
textBox2.BorderStyle = BorderStyle.None;
2024-05-12 16:05:39 -07:00
textBox2.Dock = DockStyle.Top;
textBox2.Location = new Point(0, 24);
2024-05-12 16:05:39 -07:00
textBox2.Name = "textBox2";
textBox2.PlaceholderText = "Type path or select file below. ";
textBox2.Size = new Size(800, 16);
2024-05-12 16:05:39 -07:00
textBox2.TabIndex = 2;
textBox2.TextChanged += textBox2_TextChanged;
//
2024-05-11 16:12:18 -07:00
// Form1
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 492);
Controls.Add(chromiumWebBrowser1);
Controls.Add(button4);
Controls.Add(button2);
Controls.Add(textBox2);
2024-05-12 16:05:39 -07:00
Controls.Add(button3);
2024-05-11 16:12:18 -07:00
Controls.Add(menuStrip1);
2024-05-29 13:23:29 -07:00
Icon = (Icon)resources.GetObject("$this.Icon");
2024-05-11 16:12:18 -07:00
MainMenuStrip = menuStrip1;
2024-05-11 23:20:06 -07:00
MinimumSize = new Size(633, 531);
2024-05-11 16:12:18 -07:00
Name = "Form1";
Text = "MintHTML";
2024-05-12 16:05:39 -07:00
FormClosed += Form1_FormClosed;
2024-05-11 23:20:06 -07:00
Load += Form1_Load;
2024-05-11 16:12:18 -07:00
menuStrip1.ResumeLayout(false);
menuStrip1.PerformLayout();
ResumeLayout(false);
PerformLayout();
2024-05-11 16:00:45 -07:00
}
#endregion
2024-05-11 16:12:18 -07:00
private MenuStrip menuStrip1;
private ToolStripMenuItem fileToolStripMenuItem;
private ToolStripMenuItem helpToolStripMenuItem;
private ToolStripMenuItem aboutToolStripMenuItem;
2024-05-11 16:41:08 -07:00
private OpenFileDialog Opener;
private SaveFileDialog Saver;
2024-05-11 23:20:06 -07:00
private Button button3;
private Button button4;
private ToolStripMenuItem renderToolStripMenuItem;
2024-05-12 16:05:39 -07:00
private ToolStripMenuItem openDevToolsToolStripMenuItem;
private ToolStripMenuItem exitToolStripMenuItem;
private Button button2;
private TextBox textBox2;
2024-05-14 00:40:35 -07:00
private CefSharp.WinForms.ChromiumWebBrowser chromiumWebBrowser1;
2024-09-02 21:13:27 -07:00
private ToolStripMenuItem colorThemeToolStripMenuItem;
private ToolStripMenuItem systemToolStripMenuItem;
private ToolStripMenuItem lightToolStripMenuItem;
private ToolStripMenuItem darkToolStripMenuItem;
private ToolStripMenuItem fontFamilyToolStripMenuItem;
private ToolStripMenuItem serifToolStripMenuItem;
private ToolStripMenuItem sansSerifToolStripMenuItem;
private ToolStripMenuItem forceMonospaceToolStripMenuItem;
2024-10-01 16:37:03 -07:00
private ToolStripMenuItem fullUIToolStripMenuItem;
2024-05-11 16:00:45 -07:00
}
}