From 32959736a0817f32b7003ad3151fbc8981f5d53c Mon Sep 17 00:00:00 2001
From: CreepyCrafter24 <33260128+CreepyCrafter24@users.noreply.github.com>
Date: Tue, 7 Apr 2020 18:43:30 +0200
Subject: [PATCH] Looks much worse but at least it works
---
.idea/.gitignore | 0
PostBuild.cs | 40 --
cashew.sln | 1 -
cashew/App.config | 42 --
cashew/MainForm.Designer.cs | 491 ++++++++++--------
cashew/MainForm.cs | 88 ++--
cashew/MainForm.resx | 12 +-
cashew/MessageBox/MetroMessageBox.cs | 172 ++++++
cashew/MessageBox/MetroMessageBoxControl.cs | 361 +++++++++++++
.../MessageBox/MetroMessageBoxProperties.cs | 34 ++
cashew/Properties/AssemblyInfo.cs | 35 --
cashew/Properties/Settings.Designer.cs | 26 -
cashew/Properties/Settings.settings | 7 -
cashew/Resources.resx | 2 +-
cashew/cashew.csproj | 219 +-------
cashew/packages.config | 19 -
16 files changed, 896 insertions(+), 653 deletions(-)
create mode 100644 .idea/.gitignore
delete mode 100644 PostBuild.cs
delete mode 100644 cashew/App.config
create mode 100644 cashew/MessageBox/MetroMessageBox.cs
create mode 100644 cashew/MessageBox/MetroMessageBoxControl.cs
create mode 100644 cashew/MessageBox/MetroMessageBoxProperties.cs
delete mode 100644 cashew/Properties/AssemblyInfo.cs
delete mode 100644 cashew/Properties/Settings.Designer.cs
delete mode 100644 cashew/Properties/Settings.settings
delete mode 100644 cashew/packages.config
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..e69de29
diff --git a/PostBuild.cs b/PostBuild.cs
deleted file mode 100644
index 65bce79..0000000
--- a/PostBuild.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.IO;
-using System.IO.Compression;
-using System.Linq;
-
-public class Program
-{
- public static void Main(string[] args)
- {
- //Variables
- string TargetDir = args[0];
- string TargetFileName = args[1];
- if (TargetDir.EndsWith("\\"))
- TargetDir = TargetDir.Remove(TargetDir.Length - 1);
- //Copy Data dir
- if (File.Exists(TargetDir + ".zip"))
- File.Delete(TargetDir + ".zip");
- if (File.Exists(TargetDir + @"\package.zip"))
- File.Delete(TargetDir + @"\package.zip");
- if (Directory.Exists(TargetDir + @"\package"))
- Directory.Delete(TargetDir + @"\package", true);
- ZipFile.CreateFromDirectory(TargetDir, TargetDir + ".zip");
- Directory.CreateDirectory(TargetDir + @"\package\Data");
- ZipFile.ExtractToDirectory(TargetDir + ".zip", TargetDir + @"\package\Data");
- File.Delete(TargetDir + ".zip");
- //Remove useless Files
- Directory.GetFiles(TargetDir + @"\package\Data")
- .Where(s => new string[] { ".xml", ".pdb" }.Contains(Path.GetExtension(s)))
- .ToList().ForEach(s => File.Delete(s));
- //Add package scripts
- string programName = Path.GetFileNameWithoutExtension(TargetFileName);
- File.WriteAllText(TargetDir + @"\package\Install.bat",
- "@echo off\r\necho INSTALL\r\npowershell \"$s=(New-Object -COM WScript.Shell).CreateShortcut('%appdata%\\Microsoft\\Windows\\Start Menu\\Programs\\" + programName + ".lnk');$s.TargetPath='%cd%\\" + programName + ".exe';$s.Save()\"\r\ntimeout /t 1");
- File.WriteAllText(TargetDir + @"\package\Remove.bat",
- "@echo off\r\necho REMOVE\r\ndel \"%appdata%\\Microsoft\\Windows\\Start Menu\\Programs\\" + programName + ".lnk\"\r\ntaskkill /f /im \"" + programName + ".exe\"\r\ntimeout /t 1");
- //Package up result
- ZipFile.CreateFromDirectory(TargetDir + @"\package", TargetDir + @"\package.zip");
- Directory.Delete(TargetDir + @"\package", true);
- }
-}
diff --git a/cashew.sln b/cashew.sln
index d63b701..1a04883 100644
--- a/cashew.sln
+++ b/cashew.sln
@@ -7,7 +7,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cashew", "cashew\cashew.csp
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B438CEFA-611B-4DD2-B1CE-EE62976A6BDE}"
ProjectSection(SolutionItems) = preProject
- PostBuild.cs = PostBuild.cs
README.md = README.md
EndProjectSection
EndProject
diff --git a/cashew/App.config b/cashew/App.config
deleted file mode 100644
index 7891161..0000000
--- a/cashew/App.config
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/cashew/MainForm.Designer.cs b/cashew/MainForm.Designer.cs
index e43c1ad..a05b953 100644
--- a/cashew/MainForm.Designer.cs
+++ b/cashew/MainForm.Designer.cs
@@ -29,7 +29,8 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
+ System.ComponentModel.ComponentResourceManager resources =
+ new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.languageTabControl = new MetroFramework.Controls.MetroTabControl();
this.cstab = new MetroFramework.Controls.MetroTabPage();
this.cseditref = new MetroFramework.Controls.MetroTile();
@@ -63,7 +64,7 @@
this.nmtext = new MetroFramework.Controls.MetroLabel();
this.csSaveFileDialog = new System.Windows.Forms.SaveFileDialog();
this.csOpenFileDialog = new System.Windows.Forms.OpenFileDialog();
- this.htmlOptionsMenu = new MetroFramework.Controls.MetroContextMenu(this.components);
+ //this.htmlOptionsMenu = new MetroFramework.Controls.MetroContextMenu(this.components);
this.hTMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hTMLStructureSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.linkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -137,30 +138,31 @@
this.cstab.SuspendLayout();
this.csediterrorpanel.SuspendLayout();
this.htmltab.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.htmlSep)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize) (this.htmlSep)).BeginInit();
this.htmlSep.Panel1.SuspendLayout();
this.htmlSep.Panel2.SuspendLayout();
this.htmlSep.SuspendLayout();
this.pythontab.SuspendLayout();
this.infotab.SuspendLayout();
- this.htmlOptionsMenu.SuspendLayout();
+ //this.htmlOptionsMenu.SuspendLayout();
this.SuspendLayout();
//
// languageTabControl
//
- this.languageTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.languageTabControl.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Bottom) |
+ System.Windows.Forms.AnchorStyles.Left) |
+ System.Windows.Forms.AnchorStyles.Right)));
this.languageTabControl.Controls.Add(this.cstab);
this.languageTabControl.Controls.Add(this.htmltab);
this.languageTabControl.Controls.Add(this.pythontab);
this.languageTabControl.Controls.Add(this.infotab);
- this.languageTabControl.Location = new System.Drawing.Point(23, 63);
+ this.languageTabControl.Location = new System.Drawing.Point(27, 73);
this.languageTabControl.Name = "languageTabControl";
- this.languageTabControl.SelectedIndex = 3;
- this.languageTabControl.Size = new System.Drawing.Size(797, 433);
+ this.languageTabControl.SelectedIndex = 1;
+ this.languageTabControl.Size = new System.Drawing.Size(930, 500);
this.languageTabControl.TabIndex = 0;
- this.languageTabControl.UseSelectable = true;
//
// cstab
//
@@ -172,87 +174,91 @@
this.cstab.Controls.Add(this.cseditCode);
this.cstab.HorizontalScrollbarBarColor = true;
this.cstab.HorizontalScrollbarHighlightOnWheel = false;
- this.cstab.HorizontalScrollbarSize = 10;
+ this.cstab.HorizontalScrollbarSize = 12;
this.cstab.Location = new System.Drawing.Point(4, 38);
this.cstab.Name = "cstab";
- this.cstab.Size = new System.Drawing.Size(789, 391);
+ this.cstab.Size = new System.Drawing.Size(922, 458);
this.cstab.TabIndex = 0;
this.cstab.Text = "C#";
this.cstab.VerticalScrollbarBarColor = true;
this.cstab.VerticalScrollbarHighlightOnWheel = false;
- this.cstab.VerticalScrollbarSize = 10;
+ this.cstab.VerticalScrollbarSize = 12;
//
// cseditref
//
this.cseditref.ActiveControl = null;
this.cseditref.Location = new System.Drawing.Point(3, 3);
this.cseditref.Name = "cseditref";
- this.cseditref.Size = new System.Drawing.Size(89, 38);
+ this.cseditref.Size = new System.Drawing.Size(104, 44);
this.cseditref.TabIndex = 8;
this.cseditref.Text = "References";
- this.cseditref.UseSelectable = true;
this.cseditref.Click += new System.EventHandler(this.cseditref_Click);
//
// cseditrun
//
this.cseditrun.ActiveControl = null;
- this.cseditrun.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.cseditrun.Location = new System.Drawing.Point(711, 3);
+ this.cseditrun.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Right)));
+ this.cseditrun.Location = new System.Drawing.Point(829, 3);
this.cseditrun.Name = "cseditrun";
- this.cseditrun.Size = new System.Drawing.Size(75, 38);
+ this.cseditrun.Size = new System.Drawing.Size(87, 44);
this.cseditrun.TabIndex = 3;
this.cseditrun.Text = "Run";
- this.cseditrun.UseSelectable = true;
this.cseditrun.Click += new System.EventHandler(this.cseditrun_Click);
//
// cseditsave
//
this.cseditsave.ActiveControl = null;
- this.cseditsave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.cseditsave.Location = new System.Drawing.Point(630, 3);
+ this.cseditsave.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Right)));
+ this.cseditsave.Location = new System.Drawing.Point(735, 3);
this.cseditsave.Name = "cseditsave";
- this.cseditsave.Size = new System.Drawing.Size(75, 38);
+ this.cseditsave.Size = new System.Drawing.Size(87, 44);
this.cseditsave.TabIndex = 4;
this.cseditsave.Text = "Save";
- this.cseditsave.UseSelectable = true;
this.cseditsave.Click += new System.EventHandler(this.cseditsave_Click);
//
// cseditopen
//
this.cseditopen.ActiveControl = null;
- this.cseditopen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.cseditopen.Location = new System.Drawing.Point(549, 3);
+ this.cseditopen.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Right)));
+ this.cseditopen.Location = new System.Drawing.Point(640, 3);
this.cseditopen.Name = "cseditopen";
- this.cseditopen.Size = new System.Drawing.Size(75, 38);
+ this.cseditopen.Size = new System.Drawing.Size(87, 44);
this.cseditopen.TabIndex = 5;
this.cseditopen.Text = "Open";
- this.cseditopen.UseSelectable = true;
this.cseditopen.Click += new System.EventHandler(this.cseditopen_Click);
//
// csediterrorpanel
//
- this.csediterrorpanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.csediterrorpanel.Anchor =
+ ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Bottom |
+ System.Windows.Forms.AnchorStyles.Left) |
+ System.Windows.Forms.AnchorStyles.Right)));
this.csediterrorpanel.AutoScroll = true;
this.csediterrorpanel.Controls.Add(this.csediterrors);
this.csediterrorpanel.HorizontalScrollbar = true;
this.csediterrorpanel.HorizontalScrollbarBarColor = true;
this.csediterrorpanel.HorizontalScrollbarHighlightOnWheel = false;
- this.csediterrorpanel.HorizontalScrollbarSize = 10;
- this.csediterrorpanel.Location = new System.Drawing.Point(3, 344);
+ this.csediterrorpanel.HorizontalScrollbarSize = 12;
+ this.csediterrorpanel.Location = new System.Drawing.Point(3, 397);
this.csediterrorpanel.Name = "csediterrorpanel";
- this.csediterrorpanel.Size = new System.Drawing.Size(783, 44);
+ this.csediterrorpanel.Size = new System.Drawing.Size(913, 51);
this.csediterrorpanel.TabIndex = 7;
this.csediterrorpanel.VerticalScrollbar = true;
this.csediterrorpanel.VerticalScrollbarBarColor = true;
this.csediterrorpanel.VerticalScrollbarHighlightOnWheel = false;
- this.csediterrorpanel.VerticalScrollbarSize = 10;
+ this.csediterrorpanel.VerticalScrollbarSize = 12;
this.csediterrorpanel.Click += new System.EventHandler(this.metroPanel1_Click);
//
// csediterrors
//
this.csediterrors.AutoSize = true;
- this.csediterrors.Location = new System.Drawing.Point(3, 5);
+ this.csediterrors.Location = new System.Drawing.Point(3, 6);
this.csediterrors.Name = "csediterrors";
this.csediterrors.Size = new System.Drawing.Size(45, 19);
this.csediterrors.TabIndex = 6;
@@ -261,18 +267,20 @@
//
// cseditCode
//
- this.cseditCode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.cseditCode.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Bottom) |
+ System.Windows.Forms.AnchorStyles.Left) |
+ System.Windows.Forms.AnchorStyles.Right)));
this.cseditCode.BackColor = System.Drawing.Color.White;
this.cseditCode.ConvertTabsToSpaces = true;
this.cseditCode.Highlighting = null;
this.cseditCode.IsIconBarVisible = true;
this.cseditCode.LineViewerStyle = ICSharpCode.TextEditor.Document.LineViewerStyle.FullRow;
- this.cseditCode.Location = new System.Drawing.Point(6, 47);
+ this.cseditCode.Location = new System.Drawing.Point(7, 54);
this.cseditCode.Name = "cseditCode";
this.cseditCode.RightToLeft = System.Windows.Forms.RightToLeft.No;
- this.cseditCode.Size = new System.Drawing.Size(780, 291);
+ this.cseditCode.Size = new System.Drawing.Size(910, 336);
this.cseditCode.TabIndex = 9;
this.cseditCode.TabStop = false;
this.cseditCode.Text = resources.GetString("cseditCode.Text");
@@ -283,32 +291,33 @@
this.htmltab.Controls.Add(this.htmlSep);
this.htmltab.HorizontalScrollbarBarColor = true;
this.htmltab.HorizontalScrollbarHighlightOnWheel = false;
- this.htmltab.HorizontalScrollbarSize = 10;
+ this.htmltab.HorizontalScrollbarSize = 12;
this.htmltab.Location = new System.Drawing.Point(4, 38);
this.htmltab.Name = "htmltab";
- this.htmltab.Size = new System.Drawing.Size(789, 391);
+ this.htmltab.Size = new System.Drawing.Size(922, 458);
this.htmltab.TabIndex = 2;
this.htmltab.Text = "HTML";
this.htmltab.VerticalScrollbarBarColor = true;
this.htmltab.VerticalScrollbarHighlightOnWheel = false;
- this.htmltab.VerticalScrollbarSize = 10;
+ this.htmltab.VerticalScrollbarSize = 12;
//
// htmlLoad
//
this.htmlLoad.ActiveControl = null;
- this.htmlLoad.Location = new System.Drawing.Point(145, 3);
+ this.htmlLoad.Location = new System.Drawing.Point(169, 3);
this.htmlLoad.Name = "htmlLoad";
- this.htmlLoad.Size = new System.Drawing.Size(64, 38);
+ this.htmlLoad.Size = new System.Drawing.Size(75, 44);
this.htmlLoad.TabIndex = 8;
this.htmlLoad.Text = "Load";
- this.htmlLoad.UseSelectable = true;
this.htmlLoad.Click += new System.EventHandler(this.htmlLoad_Click);
//
// htmlSep
//
- this.htmlSep.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.htmlSep.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Bottom) |
+ System.Windows.Forms.AnchorStyles.Left) |
+ System.Windows.Forms.AnchorStyles.Right)));
this.htmlSep.BackColor = System.Drawing.Color.White;
this.htmlSep.ForeColor = System.Drawing.Color.White;
this.htmlSep.Location = new System.Drawing.Point(3, 3);
@@ -329,27 +338,31 @@
this.htmlSep.Panel2.Controls.Add(this.htmlLoadIndicator);
this.htmlSep.Panel2.Controls.Add(this.htmltitle);
this.htmlSep.Panel2.Controls.Add(this.htmldisplay);
- this.htmlSep.Size = new System.Drawing.Size(783, 385);
- this.htmlSep.SplitterDistance = 338;
+ this.htmlSep.Size = new System.Drawing.Size(913, 438);
+ this.htmlSep.SplitterDistance = 394;
+ this.htmlSep.SplitterWidth = 5;
this.htmlSep.TabIndex = 3;
//
// htmlRefreshTile
//
this.htmlRefreshTile.ActiveControl = null;
- this.htmlRefreshTile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.htmlRefreshTile.Location = new System.Drawing.Point(212, 0);
+ this.htmlRefreshTile.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Right)));
+ this.htmlRefreshTile.Location = new System.Drawing.Point(180, 0);
this.htmlRefreshTile.Name = "htmlRefreshTile";
- this.htmlRefreshTile.Size = new System.Drawing.Size(65, 38);
+ this.htmlRefreshTile.Size = new System.Drawing.Size(76, 44);
this.htmlRefreshTile.TabIndex = 6;
this.htmlRefreshTile.Text = "Refresh";
- this.htmlRefreshTile.UseSelectable = true;
this.htmlRefreshTile.Click += new System.EventHandler(this.htmlRefreshTile_Click);
//
// htmlLiveLabel
//
- this.htmlLiveLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.htmlLiveLabel.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Right)));
this.htmlLiveLabel.AutoSize = true;
- this.htmlLiveLabel.Location = new System.Drawing.Point(304, 19);
+ this.htmlLiveLabel.Location = new System.Drawing.Point(290, 22);
this.htmlLiveLabel.Name = "htmlLiveLabel";
this.htmlLiveLabel.Size = new System.Drawing.Size(31, 19);
this.htmlLiveLabel.TabIndex = 3;
@@ -358,12 +371,11 @@
// htmlSave
//
this.htmlSave.ActiveControl = null;
- this.htmlSave.Location = new System.Drawing.Point(72, 0);
+ this.htmlSave.Location = new System.Drawing.Point(84, 0);
this.htmlSave.Name = "htmlSave";
- this.htmlSave.Size = new System.Drawing.Size(64, 38);
+ this.htmlSave.Size = new System.Drawing.Size(75, 44);
this.htmlSave.TabIndex = 7;
this.htmlSave.Text = "Save";
- this.htmlSave.UseSelectable = true;
this.htmlSave.Click += new System.EventHandler(this.htmlSave_Click);
//
// htmlOptionsTile
@@ -371,68 +383,74 @@
this.htmlOptionsTile.ActiveControl = null;
this.htmlOptionsTile.Location = new System.Drawing.Point(0, 0);
this.htmlOptionsTile.Name = "htmlOptionsTile";
- this.htmlOptionsTile.Size = new System.Drawing.Size(66, 38);
+ this.htmlOptionsTile.Size = new System.Drawing.Size(77, 44);
this.htmlOptionsTile.TabIndex = 5;
this.htmlOptionsTile.TabStop = false;
this.htmlOptionsTile.Text = "Options";
- this.htmlOptionsTile.UseSelectable = true;
this.htmlOptionsTile.Click += new System.EventHandler(this.htmlOptionsTile_Click);
this.htmlOptionsTile.MouseEnter += new System.EventHandler(this.htmlOptionsTile_MouseEnter);
//
// livehider
//
- this.livehider.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.livehider.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Right)));
this.livehider.HorizontalScrollbarBarColor = true;
this.livehider.HorizontalScrollbarHighlightOnWheel = false;
- this.livehider.HorizontalScrollbarSize = 10;
- this.livehider.Location = new System.Drawing.Point(238, 0);
+ this.livehider.HorizontalScrollbarSize = 12;
+ this.livehider.Location = new System.Drawing.Point(300, 0);
this.livehider.Name = "livehider";
- this.livehider.Size = new System.Drawing.Size(45, 17);
+ this.livehider.Size = new System.Drawing.Size(52, 20);
this.livehider.TabIndex = 4;
this.livehider.VerticalScrollbarBarColor = true;
this.livehider.VerticalScrollbarHighlightOnWheel = false;
- this.livehider.VerticalScrollbarSize = 10;
+ this.livehider.VerticalScrollbarSize = 12;
+ this.livehider.Visible = false;
//
// htmlUpdateToggle
//
- this.htmlUpdateToggle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.htmlUpdateToggle.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Right)));
this.htmlUpdateToggle.AutoSize = true;
this.htmlUpdateToggle.Checked = true;
this.htmlUpdateToggle.CheckState = System.Windows.Forms.CheckState.Checked;
- this.htmlUpdateToggle.Location = new System.Drawing.Point(255, 0);
+ this.htmlUpdateToggle.Location = new System.Drawing.Point(240, 0);
this.htmlUpdateToggle.Name = "htmlUpdateToggle";
- this.htmlUpdateToggle.Size = new System.Drawing.Size(80, 17);
+ this.htmlUpdateToggle.Size = new System.Drawing.Size(80, 19);
this.htmlUpdateToggle.TabIndex = 4;
- this.htmlUpdateToggle.Text = "An";
- this.htmlUpdateToggle.UseSelectable = true;
this.htmlUpdateToggle.CheckedChanged += new System.EventHandler(this.metroToggle2_CheckedChanged);
//
// htmlText
//
- this.htmlText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.htmlText.Anchor =
+ ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top |
+ System.Windows.Forms.AnchorStyles.Bottom) |
+ System.Windows.Forms.AnchorStyles.Left) |
+ System.Windows.Forms.AnchorStyles.Right)));
this.htmlText.ConvertTabsToSpaces = true;
this.htmlText.Highlighting = "HTML";
this.htmlText.IsIconBarVisible = true;
this.htmlText.LineViewerStyle = ICSharpCode.TextEditor.Document.LineViewerStyle.FullRow;
- this.htmlText.Location = new System.Drawing.Point(3, 44);
+ this.htmlText.Location = new System.Drawing.Point(3, 51);
this.htmlText.Name = "htmlText";
- this.htmlText.Size = new System.Drawing.Size(332, 338);
+ this.htmlText.Size = new System.Drawing.Size(454, 451);
this.htmlText.TabIndex = 8;
- this.htmlText.Text = "\r\n
\r\n Title\r\n\r\n\r\n Example T" +
- "ext\r\n\r\n