Looks much worse but at least it works
This commit is contained in:
parent
fefe139107
commit
32959736a0
0
.idea/.gitignore
vendored
Normal file
0
.idea/.gitignore
vendored
Normal file
40
PostBuild.cs
40
PostBuild.cs
@ -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);
|
||||
}
|
||||
}
|
@ -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
|
||||
|
@ -1,42 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Humanizer" publicKeyToken="979442b78dfc278e" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.7.0.0" newVersion="2.7.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Mono.Cecil" publicKeyToken="50cebf1cceb9d05e" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-0.10.1.0" newVersion="0.10.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.2.4.0" newVersion="1.2.4.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.4.4.0" newVersion="1.4.4.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
491
cashew/MainForm.Designer.cs
generated
491
cashew/MainForm.Designer.cs
generated
@ -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 = "<!DOCTYPE html>\r\n<head>\r\n <title>Title</title>\r\n</head>\r\n<body>\r\n Example T" +
|
||||
"ext\r\n</body>\r\n</html>";
|
||||
this.htmlText.Text =
|
||||
"<!DOCTYPE html>\r\n<head>\r\n <title>Title</title>\r\n</head>\r\n<body>\r\n Example T" +
|
||||
"ext\r\n</body>\r\n</html>";
|
||||
this.htmlText.TextChanged += new System.EventHandler(this.HtmlText_TextChanged_1);
|
||||
//
|
||||
// htmlLoadIndicator
|
||||
//
|
||||
this.htmlLoadIndicator.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.htmlLoadIndicator.Location = new System.Drawing.Point(422, 3);
|
||||
this.htmlLoadIndicator.Anchor =
|
||||
((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
|
||||
System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.htmlLoadIndicator.Location = new System.Drawing.Point(658, 3);
|
||||
this.htmlLoadIndicator.Maximum = 100;
|
||||
this.htmlLoadIndicator.Name = "htmlLoadIndicator";
|
||||
this.htmlLoadIndicator.Size = new System.Drawing.Size(16, 16);
|
||||
this.htmlLoadIndicator.Size = new System.Drawing.Size(19, 18);
|
||||
this.htmlLoadIndicator.TabIndex = 3;
|
||||
this.htmlLoadIndicator.UseSelectable = true;
|
||||
this.htmlLoadIndicator.Visible = false;
|
||||
//
|
||||
// htmltitle
|
||||
@ -446,16 +464,20 @@
|
||||
//
|
||||
// htmldisplay
|
||||
//
|
||||
this.htmldisplay.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.htmldisplay.Location = new System.Drawing.Point(3, 25);
|
||||
this.htmldisplay.MinimumSize = new System.Drawing.Size(20, 20);
|
||||
this.htmldisplay.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.htmldisplay.Location = new System.Drawing.Point(3, 29);
|
||||
this.htmldisplay.MinimumSize = new System.Drawing.Size(23, 23);
|
||||
this.htmldisplay.Name = "htmldisplay";
|
||||
this.htmldisplay.Size = new System.Drawing.Size(435, 357);
|
||||
this.htmldisplay.Size = new System.Drawing.Size(592, 473);
|
||||
this.htmldisplay.TabIndex = 2;
|
||||
this.htmldisplay.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.htmldisplay_DocumentCompleted);
|
||||
this.htmldisplay.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.htmldisplay_Navigating);
|
||||
this.htmldisplay.DocumentCompleted +=
|
||||
new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.htmldisplay_DocumentCompleted);
|
||||
this.htmldisplay.Navigating +=
|
||||
new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.htmldisplay_Navigating);
|
||||
//
|
||||
// pythontab
|
||||
//
|
||||
@ -465,51 +487,51 @@
|
||||
this.pythontab.Controls.Add(this.pythonOpen);
|
||||
this.pythontab.HorizontalScrollbarBarColor = true;
|
||||
this.pythontab.HorizontalScrollbarHighlightOnWheel = false;
|
||||
this.pythontab.HorizontalScrollbarSize = 10;
|
||||
this.pythontab.HorizontalScrollbarSize = 12;
|
||||
this.pythontab.Location = new System.Drawing.Point(4, 38);
|
||||
this.pythontab.Name = "pythontab";
|
||||
this.pythontab.Size = new System.Drawing.Size(789, 391);
|
||||
this.pythontab.Size = new System.Drawing.Size(922, 458);
|
||||
this.pythontab.TabIndex = 3;
|
||||
this.pythontab.Text = "IronPython";
|
||||
this.pythontab.VerticalScrollbarBarColor = true;
|
||||
this.pythontab.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.pythontab.VerticalScrollbarSize = 10;
|
||||
this.pythontab.VerticalScrollbarSize = 12;
|
||||
//
|
||||
// pythonCode
|
||||
//
|
||||
this.pythonCode.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.pythonCode.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.pythonCode.ConvertTabsToSpaces = true;
|
||||
this.pythonCode.Highlighting = "Python";
|
||||
this.pythonCode.IsIconBarVisible = true;
|
||||
this.pythonCode.LineViewerStyle = ICSharpCode.TextEditor.Document.LineViewerStyle.FullRow;
|
||||
this.pythonCode.Location = new System.Drawing.Point(3, 47);
|
||||
this.pythonCode.Location = new System.Drawing.Point(3, 54);
|
||||
this.pythonCode.Name = "pythonCode";
|
||||
this.pythonCode.Size = new System.Drawing.Size(783, 341);
|
||||
this.pythonCode.Size = new System.Drawing.Size(913, 393);
|
||||
this.pythonCode.TabIndex = 11;
|
||||
this.pythonCode.Text = "import time\r\nprint(\"Hello world!\")\r\ntime.sleep(1)";
|
||||
//
|
||||
// pythonSave
|
||||
//
|
||||
this.pythonSave.ActiveControl = null;
|
||||
this.pythonSave.Location = new System.Drawing.Point(84, 3);
|
||||
this.pythonSave.Location = new System.Drawing.Point(98, 3);
|
||||
this.pythonSave.Name = "pythonSave";
|
||||
this.pythonSave.Size = new System.Drawing.Size(75, 38);
|
||||
this.pythonSave.Size = new System.Drawing.Size(87, 44);
|
||||
this.pythonSave.TabIndex = 8;
|
||||
this.pythonSave.Text = "Save";
|
||||
this.pythonSave.UseSelectable = true;
|
||||
this.pythonSave.Click += new System.EventHandler(this.pythonSave_Click);
|
||||
//
|
||||
// pythonRun
|
||||
//
|
||||
this.pythonRun.ActiveControl = null;
|
||||
this.pythonRun.Location = new System.Drawing.Point(165, 3);
|
||||
this.pythonRun.Location = new System.Drawing.Point(192, 3);
|
||||
this.pythonRun.Name = "pythonRun";
|
||||
this.pythonRun.Size = new System.Drawing.Size(75, 38);
|
||||
this.pythonRun.Size = new System.Drawing.Size(87, 44);
|
||||
this.pythonRun.TabIndex = 7;
|
||||
this.pythonRun.Text = "Run";
|
||||
this.pythonRun.UseSelectable = true;
|
||||
this.pythonRun.Click += new System.EventHandler(this.pythonRun_Click);
|
||||
//
|
||||
// pythonOpen
|
||||
@ -517,10 +539,9 @@
|
||||
this.pythonOpen.ActiveControl = null;
|
||||
this.pythonOpen.Location = new System.Drawing.Point(3, 3);
|
||||
this.pythonOpen.Name = "pythonOpen";
|
||||
this.pythonOpen.Size = new System.Drawing.Size(75, 38);
|
||||
this.pythonOpen.Size = new System.Drawing.Size(87, 44);
|
||||
this.pythonOpen.TabIndex = 9;
|
||||
this.pythonOpen.Text = "Open";
|
||||
this.pythonOpen.UseSelectable = true;
|
||||
this.pythonOpen.Click += new System.EventHandler(this.pythonOpen_Click);
|
||||
//
|
||||
// infotab
|
||||
@ -528,45 +549,49 @@
|
||||
this.infotab.Controls.Add(this.infoPanel);
|
||||
this.infotab.HorizontalScrollbarBarColor = true;
|
||||
this.infotab.HorizontalScrollbarHighlightOnWheel = false;
|
||||
this.infotab.HorizontalScrollbarSize = 10;
|
||||
this.infotab.HorizontalScrollbarSize = 12;
|
||||
this.infotab.Location = new System.Drawing.Point(4, 38);
|
||||
this.infotab.Name = "infotab";
|
||||
this.infotab.Size = new System.Drawing.Size(789, 391);
|
||||
this.infotab.Size = new System.Drawing.Size(922, 458);
|
||||
this.infotab.TabIndex = 1;
|
||||
this.infotab.Text = "Info";
|
||||
this.infotab.VerticalScrollbarBarColor = true;
|
||||
this.infotab.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.infotab.VerticalScrollbarSize = 10;
|
||||
this.infotab.VerticalScrollbarSize = 12;
|
||||
//
|
||||
// infoPanel
|
||||
//
|
||||
this.infoPanel.AutoSize = true;
|
||||
this.infoPanel.Location = new System.Drawing.Point(3, 0);
|
||||
this.infoPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.infoPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.infoPanel.Name = "infoPanel";
|
||||
this.infoPanel.Size = new System.Drawing.Size(682, 76);
|
||||
this.infoPanel.Size = new System.Drawing.Size(922, 458);
|
||||
this.infoPanel.TabIndex = 2;
|
||||
this.infoPanel.Text = resources.GetString("infoPanel.Text");
|
||||
this.infoPanel.AutoSize = true;
|
||||
//
|
||||
// nightmodeToggle
|
||||
//
|
||||
this.nightmodeToggle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nightmodeToggle.Anchor =
|
||||
((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
|
||||
System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nightmodeToggle.AutoSize = true;
|
||||
this.nightmodeToggle.FontWeight = MetroFramework.MetroLinkWeight.Light;
|
||||
this.nightmodeToggle.Location = new System.Drawing.Point(740, 40);
|
||||
this.nightmodeToggle.Location = new System.Drawing.Point(876, 46);
|
||||
this.nightmodeToggle.Name = "nightmodeToggle";
|
||||
this.nightmodeToggle.Size = new System.Drawing.Size(80, 17);
|
||||
this.nightmodeToggle.Size = new System.Drawing.Size(80, 19);
|
||||
this.nightmodeToggle.TabIndex = 1;
|
||||
this.nightmodeToggle.TabStop = false;
|
||||
this.nightmodeToggle.Text = "Aus";
|
||||
this.nightmodeToggle.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.nightmodeToggle.UseSelectable = true;
|
||||
this.nightmodeToggle.CheckedChanged += new System.EventHandler(this.metroToggle1_CheckedChanged);
|
||||
//
|
||||
// nmtext
|
||||
//
|
||||
this.nmtext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nmtext.Anchor =
|
||||
((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
|
||||
System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nmtext.AutoSize = true;
|
||||
this.nmtext.Location = new System.Drawing.Point(740, 60);
|
||||
this.nmtext.Location = new System.Drawing.Point(863, 69);
|
||||
this.nmtext.Name = "nmtext";
|
||||
this.nmtext.Size = new System.Drawing.Size(80, 19);
|
||||
this.nmtext.TabIndex = 2;
|
||||
@ -585,25 +610,23 @@
|
||||
//
|
||||
// htmlOptionsMenu
|
||||
//
|
||||
this.htmlOptionsMenu.DropShadowEnabled = false;
|
||||
this.htmlOptionsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.hTMLToolStripMenuItem,
|
||||
this.javaScriptToolStripMenuItem,
|
||||
this.cSSToolStripMenuItem,
|
||||
this.pHPToolStripMenuItem});
|
||||
/*this.htmlOptionsMenu.DropShadowEnabled = false;
|
||||
this.htmlOptionsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.hTMLToolStripMenuItem, this.javaScriptToolStripMenuItem, this.cSSToolStripMenuItem,
|
||||
this.pHPToolStripMenuItem
|
||||
});
|
||||
this.htmlOptionsMenu.Name = "metroContextMenu1";
|
||||
this.htmlOptionsMenu.Size = new System.Drawing.Size(127, 92);
|
||||
this.htmlOptionsMenu.Size = new System.Drawing.Size(127, 92);*/
|
||||
//
|
||||
// hTMLToolStripMenuItem
|
||||
//
|
||||
this.hTMLToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.hTMLStructureSetupToolStripMenuItem,
|
||||
this.linkToolStripMenuItem,
|
||||
this.imageToolStripMenuItem,
|
||||
this.centercenterToolStripMenuItem,
|
||||
this.textToolStripMenuItem,
|
||||
this.tableToolStripMenuItem,
|
||||
this.listsToolStripMenuItem});
|
||||
this.hTMLToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.hTMLStructureSetupToolStripMenuItem, this.linkToolStripMenuItem, this.imageToolStripMenuItem,
|
||||
this.centercenterToolStripMenuItem, this.textToolStripMenuItem, this.tableToolStripMenuItem,
|
||||
this.listsToolStripMenuItem
|
||||
});
|
||||
this.hTMLToolStripMenuItem.Name = "hTMLToolStripMenuItem";
|
||||
this.hTMLToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
|
||||
this.hTMLToolStripMenuItem.Text = "HTML";
|
||||
@ -613,7 +636,8 @@
|
||||
this.hTMLStructureSetupToolStripMenuItem.Name = "hTMLStructureSetupToolStripMenuItem";
|
||||
this.hTMLStructureSetupToolStripMenuItem.Size = new System.Drawing.Size(190, 22);
|
||||
this.hTMLStructureSetupToolStripMenuItem.Text = "HTML Structure Setup";
|
||||
this.hTMLStructureSetupToolStripMenuItem.Click += new System.EventHandler(this.hTMLStructureSetupToolStripMenuItem_Click);
|
||||
this.hTMLStructureSetupToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.hTMLStructureSetupToolStripMenuItem_Click);
|
||||
//
|
||||
// linkToolStripMenuItem
|
||||
//
|
||||
@ -634,32 +658,28 @@
|
||||
this.centercenterToolStripMenuItem.Name = "centercenterToolStripMenuItem";
|
||||
this.centercenterToolStripMenuItem.Size = new System.Drawing.Size(190, 22);
|
||||
this.centercenterToolStripMenuItem.Text = "Center <center>";
|
||||
this.centercenterToolStripMenuItem.Click += new System.EventHandler(this.centercenterToolStripMenuItem_Click);
|
||||
this.centercenterToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.centercenterToolStripMenuItem_Click);
|
||||
//
|
||||
// textToolStripMenuItem
|
||||
//
|
||||
this.textToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.headingsToolStripMenuItem,
|
||||
this.paragraphpToolStripMenuItem,
|
||||
this.boldbToolStripMenuItem,
|
||||
this.underlineuToolStripMenuItem,
|
||||
this.italiciToolStripMenuItem,
|
||||
this.deleteddelToolStripMenuItem,
|
||||
this.subscriptedSubToolStripMenuItem,
|
||||
this.superscriptedsupToolStripMenuItem});
|
||||
this.textToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.headingsToolStripMenuItem, this.paragraphpToolStripMenuItem, this.boldbToolStripMenuItem,
|
||||
this.underlineuToolStripMenuItem, this.italiciToolStripMenuItem, this.deleteddelToolStripMenuItem,
|
||||
this.subscriptedSubToolStripMenuItem, this.superscriptedsupToolStripMenuItem
|
||||
});
|
||||
this.textToolStripMenuItem.Name = "textToolStripMenuItem";
|
||||
this.textToolStripMenuItem.Size = new System.Drawing.Size(190, 22);
|
||||
this.textToolStripMenuItem.Text = "Text";
|
||||
//
|
||||
// headingsToolStripMenuItem
|
||||
//
|
||||
this.headingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.heading1h1ToolStripMenuItem,
|
||||
this.heading2h2ToolStripMenuItem,
|
||||
this.heading3h3ToolStripMenuItem,
|
||||
this.heading4h4ToolStripMenuItem,
|
||||
this.heading5h5ToolStripMenuItem,
|
||||
this.heading6h6ToolStripMenuItem});
|
||||
this.headingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.heading1h1ToolStripMenuItem, this.heading2h2ToolStripMenuItem, this.heading3h3ToolStripMenuItem,
|
||||
this.heading4h4ToolStripMenuItem, this.heading5h5ToolStripMenuItem, this.heading6h6ToolStripMenuItem
|
||||
});
|
||||
this.headingsToolStripMenuItem.Name = "headingsToolStripMenuItem";
|
||||
this.headingsToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
|
||||
this.headingsToolStripMenuItem.Text = "Headings";
|
||||
@ -746,22 +766,24 @@
|
||||
this.subscriptedSubToolStripMenuItem.Name = "subscriptedSubToolStripMenuItem";
|
||||
this.subscriptedSubToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
|
||||
this.subscriptedSubToolStripMenuItem.Text = "subscripted <sub>";
|
||||
this.subscriptedSubToolStripMenuItem.Click += new System.EventHandler(this.subscriptedSubToolStripMenuItem_Click);
|
||||
this.subscriptedSubToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.subscriptedSubToolStripMenuItem_Click);
|
||||
//
|
||||
// superscriptedsupToolStripMenuItem
|
||||
//
|
||||
this.superscriptedsupToolStripMenuItem.Name = "superscriptedsupToolStripMenuItem";
|
||||
this.superscriptedsupToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
|
||||
this.superscriptedsupToolStripMenuItem.Text = "superscripted <sup>";
|
||||
this.superscriptedsupToolStripMenuItem.Click += new System.EventHandler(this.superscriptedsupToolStripMenuItem_Click);
|
||||
this.superscriptedsupToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.superscriptedsupToolStripMenuItem_Click);
|
||||
//
|
||||
// tableToolStripMenuItem
|
||||
//
|
||||
this.tableToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tableFormatSetupToolStripMenuItem,
|
||||
this.tableHeadingthToolStripMenuItem,
|
||||
this.newRowtrToolStripMenuItem,
|
||||
this.newHorizontalItemtdToolStripMenuItem});
|
||||
this.tableToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.tableFormatSetupToolStripMenuItem, this.tableHeadingthToolStripMenuItem,
|
||||
this.newRowtrToolStripMenuItem, this.newHorizontalItemtdToolStripMenuItem
|
||||
});
|
||||
this.tableToolStripMenuItem.Name = "tableToolStripMenuItem";
|
||||
this.tableToolStripMenuItem.Size = new System.Drawing.Size(190, 22);
|
||||
this.tableToolStripMenuItem.Text = "Table";
|
||||
@ -771,14 +793,16 @@
|
||||
this.tableFormatSetupToolStripMenuItem.Name = "tableFormatSetupToolStripMenuItem";
|
||||
this.tableFormatSetupToolStripMenuItem.Size = new System.Drawing.Size(213, 22);
|
||||
this.tableFormatSetupToolStripMenuItem.Text = "Table Format Setup";
|
||||
this.tableFormatSetupToolStripMenuItem.Click += new System.EventHandler(this.tableFormatSetupToolStripMenuItem_Click);
|
||||
this.tableFormatSetupToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.tableFormatSetupToolStripMenuItem_Click);
|
||||
//
|
||||
// tableHeadingthToolStripMenuItem
|
||||
//
|
||||
this.tableHeadingthToolStripMenuItem.Name = "tableHeadingthToolStripMenuItem";
|
||||
this.tableHeadingthToolStripMenuItem.Size = new System.Drawing.Size(213, 22);
|
||||
this.tableHeadingthToolStripMenuItem.Text = "Table Heading <th>";
|
||||
this.tableHeadingthToolStripMenuItem.Click += new System.EventHandler(this.tableHeadingthToolStripMenuItem_Click);
|
||||
this.tableHeadingthToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.tableHeadingthToolStripMenuItem_Click);
|
||||
//
|
||||
// newRowtrToolStripMenuItem
|
||||
//
|
||||
@ -792,14 +816,16 @@
|
||||
this.newHorizontalItemtdToolStripMenuItem.Name = "newHorizontalItemtdToolStripMenuItem";
|
||||
this.newHorizontalItemtdToolStripMenuItem.Size = new System.Drawing.Size(213, 22);
|
||||
this.newHorizontalItemtdToolStripMenuItem.Text = "New Horizontal Item <td>";
|
||||
this.newHorizontalItemtdToolStripMenuItem.Click += new System.EventHandler(this.newHorizontalItemtdToolStripMenuItem_Click);
|
||||
this.newHorizontalItemtdToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.newHorizontalItemtdToolStripMenuItem_Click);
|
||||
//
|
||||
// listsToolStripMenuItem
|
||||
//
|
||||
this.listsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.orderedListSetupolToolStripMenuItem,
|
||||
this.unorderedListSetupulToolStripMenuItem,
|
||||
this.listItemliToolStripMenuItem});
|
||||
this.listsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.orderedListSetupolToolStripMenuItem, this.unorderedListSetupulToolStripMenuItem,
|
||||
this.listItemliToolStripMenuItem
|
||||
});
|
||||
this.listsToolStripMenuItem.Name = "listsToolStripMenuItem";
|
||||
this.listsToolStripMenuItem.Size = new System.Drawing.Size(190, 22);
|
||||
this.listsToolStripMenuItem.Text = "Lists";
|
||||
@ -809,14 +835,16 @@
|
||||
this.orderedListSetupolToolStripMenuItem.Name = "orderedListSetupolToolStripMenuItem";
|
||||
this.orderedListSetupolToolStripMenuItem.Size = new System.Drawing.Size(213, 22);
|
||||
this.orderedListSetupolToolStripMenuItem.Text = "Ordered List Setup <ol>";
|
||||
this.orderedListSetupolToolStripMenuItem.Click += new System.EventHandler(this.orderedListSetupolToolStripMenuItem_Click);
|
||||
this.orderedListSetupolToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.orderedListSetupolToolStripMenuItem_Click);
|
||||
//
|
||||
// unorderedListSetupulToolStripMenuItem
|
||||
//
|
||||
this.unorderedListSetupulToolStripMenuItem.Name = "unorderedListSetupulToolStripMenuItem";
|
||||
this.unorderedListSetupulToolStripMenuItem.Size = new System.Drawing.Size(213, 22);
|
||||
this.unorderedListSetupulToolStripMenuItem.Text = "Unordered List Setup <ul>";
|
||||
this.unorderedListSetupulToolStripMenuItem.Click += new System.EventHandler(this.unorderedListSetupulToolStripMenuItem_Click);
|
||||
this.unorderedListSetupulToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.unorderedListSetupulToolStripMenuItem_Click);
|
||||
//
|
||||
// listItemliToolStripMenuItem
|
||||
//
|
||||
@ -827,13 +855,11 @@
|
||||
//
|
||||
// javaScriptToolStripMenuItem
|
||||
//
|
||||
this.javaScriptToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.javaStructureSetupToolStripMenuItem,
|
||||
this.functionToolStripMenuItem,
|
||||
this.textToolStripMenuItem1,
|
||||
this.alertBoxToolStripMenuItem,
|
||||
this.timeoutToolStripMenuItem,
|
||||
this.randomNumberToolStripMenuItem});
|
||||
this.javaScriptToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.javaStructureSetupToolStripMenuItem, this.functionToolStripMenuItem, this.textToolStripMenuItem1,
|
||||
this.alertBoxToolStripMenuItem, this.timeoutToolStripMenuItem, this.randomNumberToolStripMenuItem
|
||||
});
|
||||
this.javaScriptToolStripMenuItem.Name = "javaScriptToolStripMenuItem";
|
||||
this.javaScriptToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
|
||||
this.javaScriptToolStripMenuItem.Text = "JavaScript";
|
||||
@ -843,7 +869,8 @@
|
||||
this.javaStructureSetupToolStripMenuItem.Name = "javaStructureSetupToolStripMenuItem";
|
||||
this.javaStructureSetupToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.javaStructureSetupToolStripMenuItem.Text = "Java Structure Setup";
|
||||
this.javaStructureSetupToolStripMenuItem.Click += new System.EventHandler(this.javaStructureSetupToolStripMenuItem_Click);
|
||||
this.javaStructureSetupToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.javaStructureSetupToolStripMenuItem_Click);
|
||||
//
|
||||
// functionToolStripMenuItem
|
||||
//
|
||||
@ -878,14 +905,16 @@
|
||||
this.randomNumberToolStripMenuItem.Name = "randomNumberToolStripMenuItem";
|
||||
this.randomNumberToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.randomNumberToolStripMenuItem.Text = "Random Number";
|
||||
this.randomNumberToolStripMenuItem.Click += new System.EventHandler(this.randomNumberToolStripMenuItem_Click);
|
||||
this.randomNumberToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.randomNumberToolStripMenuItem_Click);
|
||||
//
|
||||
// cSSToolStripMenuItem
|
||||
//
|
||||
this.cSSToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.cSSStructureSetupToolStripMenuItem,
|
||||
this.cSSCustomizeTagToolStripMenuItem,
|
||||
this.cSSCustomTagPropertiesToolStripMenuItem});
|
||||
this.cSSToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.cSSStructureSetupToolStripMenuItem, this.cSSCustomizeTagToolStripMenuItem,
|
||||
this.cSSCustomTagPropertiesToolStripMenuItem
|
||||
});
|
||||
this.cSSToolStripMenuItem.Name = "cSSToolStripMenuItem";
|
||||
this.cSSToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
|
||||
this.cSSToolStripMenuItem.Text = "CSS";
|
||||
@ -895,32 +924,33 @@
|
||||
this.cSSStructureSetupToolStripMenuItem.Name = "cSSStructureSetupToolStripMenuItem";
|
||||
this.cSSStructureSetupToolStripMenuItem.Size = new System.Drawing.Size(286, 22);
|
||||
this.cSSStructureSetupToolStripMenuItem.Text = "CSS Structure Setup (use inside <head>)";
|
||||
this.cSSStructureSetupToolStripMenuItem.Click += new System.EventHandler(this.cSSStructureSetupToolStripMenuItem_Click);
|
||||
this.cSSStructureSetupToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.cSSStructureSetupToolStripMenuItem_Click);
|
||||
//
|
||||
// cSSCustomizeTagToolStripMenuItem
|
||||
//
|
||||
this.cSSCustomizeTagToolStripMenuItem.Name = "cSSCustomizeTagToolStripMenuItem";
|
||||
this.cSSCustomizeTagToolStripMenuItem.Size = new System.Drawing.Size(286, 22);
|
||||
this.cSSCustomizeTagToolStripMenuItem.Text = "CSS Customize Tag";
|
||||
this.cSSCustomizeTagToolStripMenuItem.Click += new System.EventHandler(this.cSSCustomizeTagToolStripMenuItem_Click);
|
||||
this.cSSCustomizeTagToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.cSSCustomizeTagToolStripMenuItem_Click);
|
||||
//
|
||||
// cSSCustomTagPropertiesToolStripMenuItem
|
||||
//
|
||||
this.cSSCustomTagPropertiesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.backgroundToolStripMenuItem,
|
||||
this.textToolStripMenuItem2});
|
||||
this.cSSCustomTagPropertiesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{this.backgroundToolStripMenuItem, this.textToolStripMenuItem2});
|
||||
this.cSSCustomTagPropertiesToolStripMenuItem.Name = "cSSCustomTagPropertiesToolStripMenuItem";
|
||||
this.cSSCustomTagPropertiesToolStripMenuItem.Size = new System.Drawing.Size(286, 22);
|
||||
this.cSSCustomTagPropertiesToolStripMenuItem.Text = "CSS Custom Tag Properties";
|
||||
//
|
||||
// backgroundToolStripMenuItem
|
||||
//
|
||||
this.backgroundToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.backgroundAttachmentToolStripMenuItem,
|
||||
this.backgroundColorToolStripMenuItem,
|
||||
this.backgroundImageToolStripMenuItem,
|
||||
this.backgroundPositionToolStripMenuItem,
|
||||
this.backgroundRepeatToolStripMenuItem});
|
||||
this.backgroundToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.backgroundAttachmentToolStripMenuItem, this.backgroundColorToolStripMenuItem,
|
||||
this.backgroundImageToolStripMenuItem, this.backgroundPositionToolStripMenuItem,
|
||||
this.backgroundRepeatToolStripMenuItem
|
||||
});
|
||||
this.backgroundToolStripMenuItem.Name = "backgroundToolStripMenuItem";
|
||||
this.backgroundToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
|
||||
this.backgroundToolStripMenuItem.Text = "Background";
|
||||
@ -930,52 +960,51 @@
|
||||
this.backgroundAttachmentToolStripMenuItem.Name = "backgroundAttachmentToolStripMenuItem";
|
||||
this.backgroundAttachmentToolStripMenuItem.Size = new System.Drawing.Size(289, 22);
|
||||
this.backgroundAttachmentToolStripMenuItem.Text = "Background Attachment (Fixed or Scroll)";
|
||||
this.backgroundAttachmentToolStripMenuItem.Click += new System.EventHandler(this.backgroundAttachmentToolStripMenuItem_Click);
|
||||
this.backgroundAttachmentToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.backgroundAttachmentToolStripMenuItem_Click);
|
||||
//
|
||||
// backgroundColorToolStripMenuItem
|
||||
//
|
||||
this.backgroundColorToolStripMenuItem.Name = "backgroundColorToolStripMenuItem";
|
||||
this.backgroundColorToolStripMenuItem.Size = new System.Drawing.Size(289, 22);
|
||||
this.backgroundColorToolStripMenuItem.Text = "Background Color";
|
||||
this.backgroundColorToolStripMenuItem.Click += new System.EventHandler(this.backgroundColorToolStripMenuItem_Click);
|
||||
this.backgroundColorToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.backgroundColorToolStripMenuItem_Click);
|
||||
//
|
||||
// backgroundImageToolStripMenuItem
|
||||
//
|
||||
this.backgroundImageToolStripMenuItem.Name = "backgroundImageToolStripMenuItem";
|
||||
this.backgroundImageToolStripMenuItem.Size = new System.Drawing.Size(289, 22);
|
||||
this.backgroundImageToolStripMenuItem.Text = "Background Image";
|
||||
this.backgroundImageToolStripMenuItem.Click += new System.EventHandler(this.backgroundImageToolStripMenuItem_Click);
|
||||
this.backgroundImageToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.backgroundImageToolStripMenuItem_Click);
|
||||
//
|
||||
// backgroundPositionToolStripMenuItem
|
||||
//
|
||||
this.backgroundPositionToolStripMenuItem.Name = "backgroundPositionToolStripMenuItem";
|
||||
this.backgroundPositionToolStripMenuItem.Size = new System.Drawing.Size(289, 22);
|
||||
this.backgroundPositionToolStripMenuItem.Text = "Background Position";
|
||||
this.backgroundPositionToolStripMenuItem.Click += new System.EventHandler(this.backgroundPositionToolStripMenuItem_Click);
|
||||
this.backgroundPositionToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.backgroundPositionToolStripMenuItem_Click);
|
||||
//
|
||||
// backgroundRepeatToolStripMenuItem
|
||||
//
|
||||
this.backgroundRepeatToolStripMenuItem.Name = "backgroundRepeatToolStripMenuItem";
|
||||
this.backgroundRepeatToolStripMenuItem.Size = new System.Drawing.Size(289, 22);
|
||||
this.backgroundRepeatToolStripMenuItem.Text = "Background Repeat ((no-)repeat)";
|
||||
this.backgroundRepeatToolStripMenuItem.Click += new System.EventHandler(this.backgroundRepeatToolStripMenuItem_Click);
|
||||
this.backgroundRepeatToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.backgroundRepeatToolStripMenuItem_Click);
|
||||
//
|
||||
// textToolStripMenuItem2
|
||||
//
|
||||
this.textToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fontToolStripMenuItem,
|
||||
this.sizeToolStripMenuItem,
|
||||
this.weightToolStripMenuItem,
|
||||
this.colorToolStripMenuItem,
|
||||
this.directionToolStripMenuItem,
|
||||
this.lineHeightToolStripMenuItem,
|
||||
this.letterSpacingToolStripMenuItem,
|
||||
this.alignToolStripMenuItem,
|
||||
this.decorationToolStripMenuItem,
|
||||
this.indentToolStripMenuItem,
|
||||
this.shadowToolStripMenuItem,
|
||||
this.transformToolStripMenuItem,
|
||||
this.wordspacingToolStripMenuItem});
|
||||
this.textToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{
|
||||
this.fontToolStripMenuItem, this.sizeToolStripMenuItem, this.weightToolStripMenuItem,
|
||||
this.colorToolStripMenuItem, this.directionToolStripMenuItem, this.lineHeightToolStripMenuItem,
|
||||
this.letterSpacingToolStripMenuItem, this.alignToolStripMenuItem, this.decorationToolStripMenuItem,
|
||||
this.indentToolStripMenuItem, this.shadowToolStripMenuItem, this.transformToolStripMenuItem,
|
||||
this.wordspacingToolStripMenuItem
|
||||
});
|
||||
this.textToolStripMenuItem2.Name = "textToolStripMenuItem2";
|
||||
this.textToolStripMenuItem2.Size = new System.Drawing.Size(138, 22);
|
||||
this.textToolStripMenuItem2.Text = "Text";
|
||||
@ -1027,7 +1056,8 @@
|
||||
this.letterSpacingToolStripMenuItem.Name = "letterSpacingToolStripMenuItem";
|
||||
this.letterSpacingToolStripMenuItem.Size = new System.Drawing.Size(207, 22);
|
||||
this.letterSpacingToolStripMenuItem.Text = "Letter Spacing (eg.: 50px)";
|
||||
this.letterSpacingToolStripMenuItem.Click += new System.EventHandler(this.letterSpacingToolStripMenuItem_Click);
|
||||
this.letterSpacingToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.letterSpacingToolStripMenuItem_Click);
|
||||
//
|
||||
// alignToolStripMenuItem
|
||||
//
|
||||
@ -1073,9 +1103,8 @@
|
||||
//
|
||||
// pHPToolStripMenuItem
|
||||
//
|
||||
this.pHPToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.pHPStructureSetupToolStripMenuItem,
|
||||
this.textToolStripMenuItem3});
|
||||
this.pHPToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[]
|
||||
{this.pHPStructureSetupToolStripMenuItem, this.textToolStripMenuItem3});
|
||||
this.pHPToolStripMenuItem.Name = "pHPToolStripMenuItem";
|
||||
this.pHPToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
|
||||
this.pHPToolStripMenuItem.Text = "PHP";
|
||||
@ -1085,7 +1114,8 @@
|
||||
this.pHPStructureSetupToolStripMenuItem.Name = "pHPStructureSetupToolStripMenuItem";
|
||||
this.pHPStructureSetupToolStripMenuItem.Size = new System.Drawing.Size(181, 22);
|
||||
this.pHPStructureSetupToolStripMenuItem.Text = "PHP Structure Setup";
|
||||
this.pHPStructureSetupToolStripMenuItem.Click += new System.EventHandler(this.pHPStructureSetupToolStripMenuItem_Click);
|
||||
this.pHPStructureSetupToolStripMenuItem.Click +=
|
||||
new System.EventHandler(this.pHPStructureSetupToolStripMenuItem_Click);
|
||||
//
|
||||
// textToolStripMenuItem3
|
||||
//
|
||||
@ -1106,17 +1136,19 @@
|
||||
//
|
||||
// nightmodehide
|
||||
//
|
||||
this.nightmodehide.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nightmodehide.Anchor =
|
||||
((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top |
|
||||
System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nightmodehide.HorizontalScrollbarBarColor = true;
|
||||
this.nightmodehide.HorizontalScrollbarHighlightOnWheel = false;
|
||||
this.nightmodehide.HorizontalScrollbarSize = 10;
|
||||
this.nightmodehide.Location = new System.Drawing.Point(723, 40);
|
||||
this.nightmodehide.HorizontalScrollbarSize = 12;
|
||||
this.nightmodehide.Location = new System.Drawing.Point(853, 46);
|
||||
this.nightmodehide.Name = "nightmodehide";
|
||||
this.nightmodehide.Size = new System.Drawing.Size(45, 17);
|
||||
this.nightmodehide.Size = new System.Drawing.Size(52, 20);
|
||||
this.nightmodehide.TabIndex = 3;
|
||||
this.nightmodehide.VerticalScrollbarBarColor = true;
|
||||
this.nightmodehide.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.nightmodehide.VerticalScrollbarSize = 10;
|
||||
this.nightmodehide.VerticalScrollbarSize = 12;
|
||||
//
|
||||
// pythonOpenFileDialog
|
||||
//
|
||||
@ -1133,16 +1165,17 @@
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(843, 519);
|
||||
this.ClientSize = new System.Drawing.Size(983, 599);
|
||||
this.Controls.Add(this.nmtext);
|
||||
this.Controls.Add(this.languageTabControl);
|
||||
this.Controls.Add(this.nightmodehide);
|
||||
this.Controls.Add(this.nightmodeToggle);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MinimumSize = new System.Drawing.Size(843, 518);
|
||||
this.Icon = ((System.Drawing.Icon) (resources.GetObject("$this.Icon")));
|
||||
this.MinimumSize = new System.Drawing.Size(983, 598);
|
||||
this.Name = "MainForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(23, 69, 23, 23);
|
||||
this.Text = "The Cashew Project";
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
|
||||
this.Load += new System.EventHandler(this.MAIN_Load);
|
||||
@ -1155,15 +1188,13 @@
|
||||
this.htmlSep.Panel1.PerformLayout();
|
||||
this.htmlSep.Panel2.ResumeLayout(false);
|
||||
this.htmlSep.Panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.htmlSep)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize) (this.htmlSep)).EndInit();
|
||||
this.htmlSep.ResumeLayout(false);
|
||||
this.pythontab.ResumeLayout(false);
|
||||
this.infotab.ResumeLayout(false);
|
||||
this.infotab.PerformLayout();
|
||||
this.htmlOptionsMenu.ResumeLayout(false);
|
||||
//this.htmlOptionsMenu.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
@ -1179,7 +1210,7 @@
|
||||
private System.Windows.Forms.SplitContainer htmlSep;
|
||||
private System.Windows.Forms.WebBrowser htmldisplay;
|
||||
private MetroFramework.Controls.MetroLabel htmltitle;
|
||||
private MetroFramework.Controls.MetroContextMenu htmlOptionsMenu;
|
||||
//private MetroFramework.Controls.MetroContextMenu htmlOptionsMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem hTMLToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem hTMLStructureSetupToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem linkToolStripMenuItem;
|
||||
|
@ -22,6 +22,7 @@ using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml.Linq;
|
||||
using ThreadState = System.Threading.ThreadState;
|
||||
using MetroMessageBox = cashew.MessageBox.MetroMessageBox;
|
||||
|
||||
#pragma warning disable IDE1006
|
||||
|
||||
@ -30,12 +31,12 @@ namespace cashew
|
||||
public partial class MainForm : MetroForm
|
||||
{
|
||||
#region General
|
||||
private readonly ThreadState[] runningStates = new ThreadState[] { ThreadState.Background, ThreadState.Running, ThreadState.StopRequested, ThreadState.WaitSleepJoin };
|
||||
private readonly IMetroControl[] metroControls;
|
||||
private readonly Control[] normalControls;
|
||||
private readonly ToolStripMenuItem[] menuItems;
|
||||
private string[] cseditcodel = new string[0];
|
||||
private string[] cseditrefl = new string[] { "Microsoft.CSharp.dll", "System.dll", "System.Core.dll", "System.Data.dll", "System.Data.DataSetExtensions.dll", "System.Net.Http.dll", "System.Xml.dll", "System.Xml.Linq.dll" };
|
||||
private readonly ThreadState[] _runningStates = { ThreadState.Background, ThreadState.Running, ThreadState.StopRequested, ThreadState.WaitSleepJoin };
|
||||
private readonly IMetroControl[] _metroControls;
|
||||
private readonly Control[] _normalControls;
|
||||
private readonly ToolStripMenuItem[] _menuItems;
|
||||
private string[] _cseditcodel = new string[0];
|
||||
private string[] _cseditrefl = { "Microsoft.CSharp.dll", "System.dll", "System.Core.dll", "System.Data.dll", "System.Data.DataSetExtensions.dll", "System.Net.Http.dll", "System.Xml.dll", "System.Xml.Linq.dll" };
|
||||
|
||||
public MainForm()
|
||||
{
|
||||
@ -43,10 +44,10 @@ namespace cashew
|
||||
{
|
||||
splash.Show();
|
||||
InitializeComponent();
|
||||
metroControls = new IMetroControl[] { nmtext, languageTabControl, cstab, infotab, nightmodeToggle, cseditopen, cseditrun, cseditsave, csediterrorpanel, csediterrors, cseditref, infoPanel, htmltab, htmltitle, htmlOptionsTile, htmlOptionsMenu, htmlRefreshTile, htmlLoad, htmlSave, htmlLoadIndicator, htmlUpdateToggle, htmlLiveLabel, livehider, nightmodehide, pythontab,
|
||||
_metroControls = new IMetroControl[] { nmtext, languageTabControl, cstab, infotab, nightmodeToggle, cseditopen, cseditrun, cseditsave, csediterrorpanel, csediterrors, cseditref, infoPanel, htmltab, htmltitle, htmlOptionsTile, /*htmlOptionsMenu, */htmlRefreshTile, htmlLoad, htmlSave, htmlLoadIndicator, htmlUpdateToggle, htmlLiveLabel, livehider, nightmodehide, pythontab,
|
||||
pythonSave, pythonRun, pythonOpen};
|
||||
normalControls = new Control[] { htmlSep, htmldisplay, cseditCode, pythonCode, htmlText };
|
||||
menuItems = new ToolStripMenuItem[] { hTMLToolStripMenuItem, javaScriptToolStripMenuItem, cSSToolStripMenuItem, pHPToolStripMenuItem, hTMLStructureSetupToolStripMenuItem, javaStructureSetupToolStripMenuItem, cSSStructureSetupToolStripMenuItem, pHPStructureSetupToolStripMenuItem, linkToolStripMenuItem, imageToolStripMenuItem, textToolStripMenuItem, tableToolStripMenuItem,
|
||||
_normalControls = new Control[] { htmlSep, htmldisplay, cseditCode, pythonCode, htmlText };
|
||||
_menuItems = new[] { hTMLToolStripMenuItem, javaScriptToolStripMenuItem, cSSToolStripMenuItem, pHPToolStripMenuItem, hTMLStructureSetupToolStripMenuItem, javaStructureSetupToolStripMenuItem, cSSStructureSetupToolStripMenuItem, pHPStructureSetupToolStripMenuItem, linkToolStripMenuItem, imageToolStripMenuItem, textToolStripMenuItem, tableToolStripMenuItem,
|
||||
listsToolStripMenuItem, functionToolStripMenuItem, textToolStripMenuItem1, alertBoxToolStripMenuItem, timeoutToolStripMenuItem, randomNumberToolStripMenuItem, cSSCustomizeTagToolStripMenuItem, cSSCustomTagPropertiesToolStripMenuItem, textToolStripMenuItem3, headingsToolStripMenuItem, boldbToolStripMenuItem, underlineuToolStripMenuItem, italiciToolStripMenuItem,
|
||||
deleteddelToolStripMenuItem, subscriptedSubToolStripMenuItem, superscriptedsupToolStripMenuItem, tableFormatSetupToolStripMenuItem, tableHeadingthToolStripMenuItem, newHorizontalItemtdToolStripMenuItem, newRowtrToolStripMenuItem, orderedListSetupolToolStripMenuItem, unorderedListSetupulToolStripMenuItem, listItemliToolStripMenuItem, heading1h1ToolStripMenuItem,
|
||||
heading2h2ToolStripMenuItem, heading3h3ToolStripMenuItem, heading4h4ToolStripMenuItem, heading5h5ToolStripMenuItem, heading6h6ToolStripMenuItem, textToolStripMenuItem2, backgroundToolStripMenuItem, backgroundRepeatToolStripMenuItem, backgroundPositionToolStripMenuItem, backgroundImageToolStripMenuItem, backgroundColorToolStripMenuItem, backgroundAttachmentToolStripMenuItem,
|
||||
@ -64,10 +65,10 @@ namespace cashew
|
||||
Directory.Delete(Path.Combine(Path.GetTempPath(), "Cashew"), true);
|
||||
using (MemoryStream ms = new MemoryStream(Resources.IronPythonBCL))
|
||||
using (ZipArchive ar = new ZipArchive(ms))
|
||||
{
|
||||
ar.ExtractToDirectory(Path.Combine(Path.GetTempPath(), "Cashew\\Python"));
|
||||
}
|
||||
infoPanel.Text = infoPanel.Text.Replace("[PACKAGELIST]", string.Join("\r\n", XDocument.Parse(Resources.packages).Element("packages").Elements("package").Select(s => "- " + s.Attribute("id").Value + " " + s.Attribute("version").Value).OrderBy(s => s)));
|
||||
|
||||
infoPanel.Text = infoPanel.Text.Replace("[PACKAGELIST]", string.Join("\r\n", XDocument.Parse(Resources.packages).Element("Project").Elements("ItemGroup").SelectMany(s => s.Elements("PackageReference"))
|
||||
.Select(s => $"- {s.Attribute("Include").Value} {s.Attribute("Version").Value}").OrderBy(s => s)));
|
||||
}
|
||||
|
||||
private void MAIN_Load(object sender, EventArgs e) => BringToFront();
|
||||
@ -84,12 +85,12 @@ namespace cashew
|
||||
Theme = MetroThemeStyle.Light;
|
||||
Style = MetroColorStyle.Blue;
|
||||
}
|
||||
foreach (IMetroControl c in metroControls)
|
||||
foreach (IMetroControl c in _metroControls)
|
||||
{
|
||||
c.Style = Style;
|
||||
c.Theme = Theme;
|
||||
}
|
||||
foreach (Control c in normalControls)
|
||||
foreach (Control c in _normalControls)
|
||||
{
|
||||
if (Theme == MetroThemeStyle.Dark)
|
||||
{
|
||||
@ -102,7 +103,7 @@ namespace cashew
|
||||
c.ForeColor = Color.White;
|
||||
}
|
||||
}
|
||||
foreach (ToolStripMenuItem t in menuItems)
|
||||
foreach (ToolStripMenuItem t in _menuItems)
|
||||
{
|
||||
if (Theme == MetroThemeStyle.Dark)
|
||||
{
|
||||
@ -120,8 +121,8 @@ namespace cashew
|
||||
|
||||
private void buttonFix_Tick(object sender, EventArgs e)
|
||||
{
|
||||
pythonRun.Text = pythonScript != null && runningStates.Contains(pythonScript.ThreadState) ? "Stop" : "Run";
|
||||
cseditrun.Text = csScript != null && runningStates.Contains(csScript.ThreadState) ? "Stop" : "Run";
|
||||
pythonRun.Text = pythonScript != null && _runningStates.Contains(pythonScript.ThreadState) ? "Stop" : "Run";
|
||||
cseditrun.Text = csScript != null && _runningStates.Contains(csScript.ThreadState) ? "Stop" : "Run";
|
||||
htmlOptionsTile.Enabled = htmlText.ActiveTextAreaControl.TextArea.SelectionManager.HasSomethingSelected;
|
||||
}
|
||||
|
||||
@ -130,7 +131,11 @@ namespace cashew
|
||||
#region CS
|
||||
|
||||
Thread csScript;
|
||||
private void metroLabel2_Click(object sender, EventArgs e) => MetroMessageBox.Show(this, csediterrors.Text, "Errors", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
private void metroLabel2_Click(object sender, EventArgs e)
|
||||
{
|
||||
MetroMessageBox.Show(this, csediterrors.Text, "Errors", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
||||
}
|
||||
|
||||
private void metroPanel1_Click(object sender, EventArgs e) => MetroMessageBox.Show(this, csediterrors.Text, "Errors", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
||||
@ -144,14 +149,14 @@ namespace cashew
|
||||
{
|
||||
if (cseditref.Text == "Code")
|
||||
{
|
||||
cseditrefl = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
_cseditrefl = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
}
|
||||
else
|
||||
{
|
||||
cseditcodel = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
_cseditcodel = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
}
|
||||
Stream s = File.OpenWrite(csSaveFileDialog.FileName);
|
||||
new BinaryFormatter().Serialize(s, new string[][] { cseditcodel, cseditrefl });
|
||||
new BinaryFormatter().Serialize(s, new string[][] { _cseditcodel, _cseditrefl });
|
||||
s.Dispose();
|
||||
}
|
||||
else
|
||||
@ -169,7 +174,7 @@ namespace cashew
|
||||
|
||||
private void cseditrun_Click(object sender, EventArgs e)
|
||||
{
|
||||
if ((csScript != null) && runningStates.Contains(csScript.ThreadState))
|
||||
if ((csScript != null) && _runningStates.Contains(csScript.ThreadState))
|
||||
{
|
||||
csScript.Abort();
|
||||
}
|
||||
@ -216,11 +221,11 @@ namespace cashew
|
||||
csediterrors.Text = "";
|
||||
if (cseditref.Text == "Code")
|
||||
{
|
||||
cseditrefl = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
_cseditrefl = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
}
|
||||
else
|
||||
{
|
||||
cseditcodel = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
_cseditcodel = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
}
|
||||
CompilerParameters parameters = new CompilerParameters
|
||||
{
|
||||
@ -228,11 +233,11 @@ namespace cashew
|
||||
GenerateExecutable = !library
|
||||
};
|
||||
parameters.OutputAssembly = memory ? parameters.OutputAssembly : OF;
|
||||
parameters.ReferencedAssemblies.AddRange(cseditrefl);
|
||||
parameters.ReferencedAssemblies.AddRange(_cseditrefl);
|
||||
CompilerResults results;
|
||||
using (CSharpCodeProvider provider = new CSharpCodeProvider())
|
||||
{
|
||||
results = provider.CompileAssemblyFromSource(parameters, string.Join("\r\n", cseditcodel));
|
||||
results = provider.CompileAssemblyFromSource(parameters, string.Join("\r\n", _cseditcodel));
|
||||
if (results.Errors.HasErrors)
|
||||
{
|
||||
IEnumerable<CompilerError> err = results.Errors.OfType<CompilerError>();
|
||||
@ -260,23 +265,23 @@ namespace cashew
|
||||
Stream s = File.OpenRead(csOpenFileDialog.FileName);
|
||||
string[][] tmp = (string[][])new BinaryFormatter().Deserialize(s);
|
||||
s.Dispose();
|
||||
cseditcodel = tmp[0];
|
||||
cseditrefl = tmp[1];
|
||||
_cseditcodel = tmp[0];
|
||||
_cseditrefl = tmp[1];
|
||||
if (cseditref.Text == "References")
|
||||
cseditCode.Text = string.Join("\r\n", cseditcodel);
|
||||
cseditCode.Text = string.Join("\r\n", _cseditcodel);
|
||||
else
|
||||
cseditCode.Text = string.Join("\r\n", cseditrefl);
|
||||
cseditCode.Text = string.Join("\r\n", _cseditrefl);
|
||||
}
|
||||
else
|
||||
{
|
||||
CSharpDecompiler decompiler = new CSharpDecompiler(csOpenFileDialog.FileName, new DecompilerSettings());
|
||||
cseditcodel = decompiler.DecompileWholeModuleAsString().Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
cseditrefl = Assembly.LoadFrom(csOpenFileDialog.FileName).GetReferencedAssemblies().Where(s => !new string[] { "mscorlib" }.Contains(s.Name))
|
||||
_cseditcodel = decompiler.DecompileWholeModuleAsString().Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
_cseditrefl = Assembly.LoadFrom(csOpenFileDialog.FileName).GetReferencedAssemblies().Where(s => !new string[] { "mscorlib" }.Contains(s.Name))
|
||||
.Select(s => string.IsNullOrWhiteSpace(s.CodeBase) ? (s.Name + ".dll") : s.CodeBase).ToArray();
|
||||
if (cseditref.Text == "References")
|
||||
cseditCode.Text = string.Join("\r\n", cseditcodel);
|
||||
cseditCode.Text = string.Join("\r\n", _cseditcodel);
|
||||
else
|
||||
cseditCode.Text = string.Join("\r\n", cseditrefl);
|
||||
cseditCode.Text = string.Join("\r\n", _cseditrefl);
|
||||
}
|
||||
}
|
||||
catch (Exception e1)
|
||||
@ -291,15 +296,15 @@ namespace cashew
|
||||
{
|
||||
if (cseditref.Text == "References")
|
||||
{
|
||||
cseditcodel = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
cseditCode.Text = string.Join("\r\n", cseditrefl);
|
||||
_cseditcodel = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
cseditCode.Text = string.Join("\r\n", _cseditrefl);
|
||||
cseditCode.Refresh();
|
||||
cseditref.Text = "Code";
|
||||
}
|
||||
else
|
||||
{
|
||||
cseditrefl = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
cseditCode.Text = string.Join("\r\n", cseditcodel);
|
||||
_cseditrefl = cseditCode.Text.Split(new string[] { "\r\n" }, StringSplitOptions.None);
|
||||
cseditCode.Text = string.Join("\r\n", _cseditcodel);
|
||||
cseditCode.Refresh();
|
||||
cseditref.Text = "References";
|
||||
}
|
||||
@ -339,7 +344,10 @@ namespace cashew
|
||||
htmltitle.Text = htmldisplay.DocumentTitle;
|
||||
}
|
||||
|
||||
private void htmlOptionsTile_Click(object sender, EventArgs e) => htmlOptionsMenu.Show(htmlOptionsTile.Location);
|
||||
private void htmlOptionsTile_Click(object sender, EventArgs e)
|
||||
{
|
||||
//htmlOptionsMenu.Show(htmlOptionsTile.Location);
|
||||
}
|
||||
|
||||
private void htmlOptionsTile_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
@ -551,7 +559,7 @@ namespace cashew
|
||||
|
||||
private void pythonRun_Click(object sender, EventArgs e)
|
||||
{
|
||||
if ((pythonScript != null) && runningStates.Contains(pythonScript.ThreadState))
|
||||
if ((pythonScript != null) && _runningStates.Contains(pythonScript.ThreadState))
|
||||
{
|
||||
pythonScript.Abort();
|
||||
}
|
||||
|
@ -117,12 +117,6 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="infoPanel.Text" xml:space="preserve">
|
||||
<value>NOTE: DO NOT CLOSE THE CONSOLE! DOING SO WILL CRASH CASHEW
|
||||
NOTE: The output of programs written in Cashew will be printed to the native console, no new window will open up.
|
||||
This Program uses:
|
||||
[PACKAGELIST]</value>
|
||||
</data>
|
||||
<data name="cseditCode.Text" xml:space="preserve">
|
||||
<value>using System;
|
||||
using System.Collections.Generic;
|
||||
@ -140,6 +134,12 @@ namespace Program
|
||||
}
|
||||
}
|
||||
}</value>
|
||||
</data>
|
||||
<data name="infoPanel.Text" xml:space="preserve">
|
||||
<value>NOTE: DO NOT CLOSE THE CONSOLE! DOING SO WILL CRASH CASHEW
|
||||
NOTE: The output of programs written in Cashew will be printed to the native console, no new window will open up.
|
||||
This Program uses:
|
||||
[PACKAGELIST]</value>
|
||||
</data>
|
||||
<metadata name="csSaveFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
|
172
cashew/MessageBox/MetroMessageBox.cs
Normal file
172
cashew/MessageBox/MetroMessageBox.cs
Normal file
@ -0,0 +1,172 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Media;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace cashew.MessageBox
|
||||
{
|
||||
public static class MetroMessageBox
|
||||
{
|
||||
public static DialogResult Show(IWin32Window owner, string message)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, "Notification", 211);
|
||||
}
|
||||
|
||||
public static DialogResult Show(IWin32Window owner, string message, int height)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, "Notification", height);
|
||||
}
|
||||
|
||||
public static DialogResult Show(IWin32Window owner, string message, string title)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, title, MessageBoxButtons.OK, 211);
|
||||
}
|
||||
|
||||
public static DialogResult Show(
|
||||
IWin32Window owner,
|
||||
string message,
|
||||
string title,
|
||||
int height)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, title, MessageBoxButtons.OK, height);
|
||||
}
|
||||
|
||||
public static DialogResult Show(
|
||||
IWin32Window owner,
|
||||
string message,
|
||||
string title,
|
||||
MessageBoxButtons buttons)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, title, buttons, MessageBoxIcon.None, 211);
|
||||
}
|
||||
|
||||
public static DialogResult Show(
|
||||
IWin32Window owner,
|
||||
string message,
|
||||
string title,
|
||||
MessageBoxButtons buttons,
|
||||
int height)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, title, buttons, MessageBoxIcon.None, height);
|
||||
}
|
||||
|
||||
public static DialogResult Show(
|
||||
IWin32Window owner,
|
||||
string message,
|
||||
string title,
|
||||
MessageBoxButtons buttons,
|
||||
MessageBoxIcon icon)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, title, buttons, icon, MessageBoxDefaultButton.Button1, 211);
|
||||
}
|
||||
|
||||
public static DialogResult Show(
|
||||
IWin32Window owner,
|
||||
string message,
|
||||
string title,
|
||||
MessageBoxButtons buttons,
|
||||
MessageBoxIcon icon,
|
||||
int height)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, title, buttons, icon, MessageBoxDefaultButton.Button1, height);
|
||||
}
|
||||
|
||||
public static DialogResult Show(
|
||||
IWin32Window owner,
|
||||
string message,
|
||||
string title,
|
||||
MessageBoxButtons buttons,
|
||||
MessageBoxIcon icon,
|
||||
MessageBoxDefaultButton defaultbutton)
|
||||
{
|
||||
return MetroMessageBox.Show(owner, message, title, buttons, icon, defaultbutton, 211);
|
||||
}
|
||||
|
||||
public static DialogResult Show(
|
||||
IWin32Window owner,
|
||||
string message,
|
||||
string title,
|
||||
MessageBoxButtons buttons,
|
||||
MessageBoxIcon icon,
|
||||
MessageBoxDefaultButton defaultbutton,
|
||||
int height)
|
||||
{
|
||||
DialogResult dialogResult = DialogResult.None;
|
||||
if (owner != null)
|
||||
{
|
||||
Form form = !(owner is Form) ? ((ContainerControl) owner).ParentForm : (Form) owner;
|
||||
switch (icon)
|
||||
{
|
||||
case MessageBoxIcon.Hand:
|
||||
SystemSounds.Hand.Play();
|
||||
break;
|
||||
case MessageBoxIcon.Question:
|
||||
SystemSounds.Beep.Play();
|
||||
break;
|
||||
case MessageBoxIcon.Exclamation:
|
||||
SystemSounds.Exclamation.Play();
|
||||
break;
|
||||
default:
|
||||
SystemSounds.Asterisk.Play();
|
||||
break;
|
||||
}
|
||||
MetroMessageBoxControl messageBoxControl = new MetroMessageBoxControl();
|
||||
messageBoxControl.BackColor = form.BackColor;
|
||||
messageBoxControl.Properties.Buttons = buttons;
|
||||
messageBoxControl.Properties.DefaultButton = defaultbutton;
|
||||
messageBoxControl.Properties.Icon = icon;
|
||||
messageBoxControl.Properties.Message = message;
|
||||
messageBoxControl.Properties.Title = title;
|
||||
messageBoxControl.Padding = new Padding(0, 0, 0, 0);
|
||||
messageBoxControl.ControlBox = false;
|
||||
messageBoxControl.ShowInTaskbar = false;
|
||||
messageBoxControl.TopMost = true;
|
||||
messageBoxControl.Size = new Size(form.Size.Width, height);
|
||||
messageBoxControl.Location = new Point(form.Location.X, form.Location.Y + (form.Height - messageBoxControl.Height) / 2);
|
||||
messageBoxControl.ArrangeApperance();
|
||||
Convert.ToInt32(Math.Floor((double) messageBoxControl.Size.Height * 0.28));
|
||||
int num = (int) messageBoxControl.ShowDialog();
|
||||
messageBoxControl.BringToFront();
|
||||
messageBoxControl.SetDefaultButton();
|
||||
Action<MetroMessageBoxControl> action = new Action<MetroMessageBoxControl>(MetroMessageBox.ModalState);
|
||||
IAsyncResult asyncResult = action.BeginInvoke(messageBoxControl, (AsyncCallback) null, (object) action);
|
||||
bool flag = false;
|
||||
try
|
||||
{
|
||||
while (!asyncResult.IsCompleted)
|
||||
{
|
||||
Thread.Sleep(1);
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
flag = true;
|
||||
if (!asyncResult.IsCompleted)
|
||||
{
|
||||
try
|
||||
{
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!flag)
|
||||
{
|
||||
dialogResult = messageBoxControl.Result;
|
||||
messageBoxControl.Dispose();
|
||||
}
|
||||
}
|
||||
return dialogResult;
|
||||
}
|
||||
|
||||
private static void ModalState(MetroMessageBoxControl control)
|
||||
{
|
||||
do
|
||||
;
|
||||
while (control.Visible);
|
||||
}
|
||||
}
|
||||
}
|
361
cashew/MessageBox/MetroMessageBoxControl.cs
Normal file
361
cashew/MessageBox/MetroMessageBoxControl.cs
Normal file
@ -0,0 +1,361 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: MetroFramework.MetroMessageBoxControl
|
||||
// Assembly: MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a
|
||||
// MVID: 57814A66-940D-4455-B30A-E2997453B959
|
||||
// Assembly location: C:\Users\Systemadmin\Downloads\MetroFramework.dll
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using MetroFramework;
|
||||
using MetroFramework.Controls;
|
||||
|
||||
namespace cashew.MessageBox
|
||||
{
|
||||
public class MetroMessageBoxControl : Form
|
||||
{
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
private Color _defaultColor = Color.FromArgb(57, 179, 215);
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
private Color _errorColor = Color.FromArgb(210, 50, 45);
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
private Color _warningColor = Color.FromArgb(237, 156, 40);
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
private Color _success = Color.FromArgb(71, 164, 71);
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
private Color _question = Color.FromArgb(71, 164, 71);
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
private MetroMessageBoxProperties _properties;
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
private DialogResult _result;
|
||||
private IContainer components;
|
||||
private Panel panelbody;
|
||||
private Label titleLabel;
|
||||
private Label messageLabel;
|
||||
private MetroButton metroButton1;
|
||||
private MetroButton metroButton2;
|
||||
private MetroButton metroButton3;
|
||||
private TableLayoutPanel tlpBody;
|
||||
private Panel pnlBottom;
|
||||
|
||||
public MetroMessageBoxControl()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
this._properties = new MetroMessageBoxProperties(this);
|
||||
this.StylizeButton(this.metroButton1);
|
||||
this.StylizeButton(this.metroButton2);
|
||||
this.StylizeButton(this.metroButton3);
|
||||
this.metroButton1.Click += new EventHandler(this.button_Click);
|
||||
this.metroButton2.Click += new EventHandler(this.button_Click);
|
||||
this.metroButton3.Click += new EventHandler(this.button_Click);
|
||||
}
|
||||
|
||||
public Panel Body
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.panelbody;
|
||||
}
|
||||
}
|
||||
|
||||
public MetroMessageBoxProperties Properties
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._properties;
|
||||
}
|
||||
}
|
||||
|
||||
public DialogResult Result
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._result;
|
||||
}
|
||||
}
|
||||
|
||||
public void ArrangeApperance()
|
||||
{
|
||||
this.titleLabel.Text = this._properties.Title;
|
||||
this.messageLabel.Text = this._properties.Message;
|
||||
switch (this._properties.Icon)
|
||||
{
|
||||
case MessageBoxIcon.Hand:
|
||||
this.panelbody.BackColor = this._errorColor;
|
||||
break;
|
||||
case MessageBoxIcon.Exclamation:
|
||||
this.panelbody.BackColor = this._warningColor;
|
||||
break;
|
||||
}
|
||||
switch (this._properties.Buttons)
|
||||
{
|
||||
case MessageBoxButtons.OK:
|
||||
this.EnableButton(this.metroButton1);
|
||||
this.metroButton1.Text = ("Ok");
|
||||
this.metroButton1.Location = this.metroButton3.Location;
|
||||
this.metroButton1.Tag = (object) DialogResult.OK;
|
||||
this.EnableButton(this.metroButton2, false);
|
||||
this.EnableButton(this.metroButton3, false);
|
||||
break;
|
||||
case MessageBoxButtons.OKCancel:
|
||||
this.EnableButton(this.metroButton1);
|
||||
this.metroButton1.Text = ("Ok");
|
||||
this.metroButton1.Location = this.metroButton2.Location;
|
||||
this.metroButton1.Tag = (object) DialogResult.OK;
|
||||
this.EnableButton(this.metroButton2);
|
||||
this.metroButton2.Text = ("Cancel");
|
||||
this.metroButton2.Location = this.metroButton3.Location;
|
||||
this.metroButton2.Tag = (object) DialogResult.Cancel;
|
||||
this.EnableButton(this.metroButton3, false);
|
||||
break;
|
||||
case MessageBoxButtons.AbortRetryIgnore:
|
||||
this.EnableButton(this.metroButton1);
|
||||
this.metroButton1.Text = ("Abort");
|
||||
this.metroButton1.Tag = (object) DialogResult.Abort;
|
||||
this.EnableButton(this.metroButton2);
|
||||
this.metroButton2.Text = ("Retry");
|
||||
this.metroButton2.Tag = (object) DialogResult.Retry;
|
||||
this.EnableButton(this.metroButton3);
|
||||
this.metroButton3.Text = ("Ignore");
|
||||
this.metroButton3.Tag = (object) DialogResult.Ignore;
|
||||
break;
|
||||
case MessageBoxButtons.YesNoCancel:
|
||||
this.EnableButton(this.metroButton1);
|
||||
this.metroButton1.Text = ("Yes");
|
||||
this.metroButton1.Tag = (object) DialogResult.Yes;
|
||||
this.EnableButton(this.metroButton2);
|
||||
this.metroButton2.Text = ("No");
|
||||
this.metroButton2.Tag = (object) DialogResult.No;
|
||||
this.EnableButton(this.metroButton3);
|
||||
this.metroButton3.Text = ("Cancel");
|
||||
this.metroButton3.Tag = (object) DialogResult.Cancel;
|
||||
break;
|
||||
case MessageBoxButtons.YesNo:
|
||||
this.EnableButton(this.metroButton1);
|
||||
this.metroButton1.Text = ("Yes");
|
||||
this.metroButton1.Location = this.metroButton2.Location;
|
||||
this.metroButton1.Tag = (object) DialogResult.Yes;
|
||||
this.EnableButton(this.metroButton2);
|
||||
this.metroButton2.Text = ("No");
|
||||
this.metroButton2.Location = this.metroButton3.Location;
|
||||
this.metroButton2.Tag = (object) DialogResult.No;
|
||||
this.EnableButton(this.metroButton3, false);
|
||||
break;
|
||||
case MessageBoxButtons.RetryCancel:
|
||||
this.EnableButton(this.metroButton1);
|
||||
this.metroButton1.Text = ("Retry");
|
||||
this.metroButton1.Location = this.metroButton2.Location;
|
||||
this.metroButton1.Tag = (object) DialogResult.Retry;
|
||||
this.EnableButton(this.metroButton2);
|
||||
this.metroButton2.Text = ("Cancel");
|
||||
this.metroButton2.Location = this.metroButton3.Location;
|
||||
this.metroButton2.Tag = (object) DialogResult.Cancel;
|
||||
this.EnableButton(this.metroButton3, false);
|
||||
break;
|
||||
}
|
||||
switch (this._properties.Icon)
|
||||
{
|
||||
case MessageBoxIcon.Hand:
|
||||
this.panelbody.BackColor = this._errorColor;
|
||||
break;
|
||||
case MessageBoxIcon.Question:
|
||||
this.panelbody.BackColor = this._question;
|
||||
break;
|
||||
case MessageBoxIcon.Exclamation:
|
||||
this.panelbody.BackColor = this._warningColor;
|
||||
break;
|
||||
case MessageBoxIcon.Asterisk:
|
||||
this.panelbody.BackColor = this._defaultColor;
|
||||
break;
|
||||
default:
|
||||
this.panelbody.BackColor = Color.DarkGray;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void EnableButton(MetroButton button)
|
||||
{
|
||||
this.EnableButton(button, true);
|
||||
}
|
||||
|
||||
private void EnableButton(MetroButton button, bool enabled)
|
||||
{
|
||||
button.Enabled = enabled;
|
||||
button.Visible = enabled;
|
||||
}
|
||||
|
||||
public void SetDefaultButton()
|
||||
{
|
||||
switch (this._properties.DefaultButton)
|
||||
{
|
||||
case MessageBoxDefaultButton.Button1:
|
||||
if (this.metroButton1 == null || !this.metroButton1.Enabled)
|
||||
break;
|
||||
this.metroButton1.Focus();
|
||||
break;
|
||||
case MessageBoxDefaultButton.Button2:
|
||||
if (this.metroButton2 == null || !this.metroButton2.Enabled)
|
||||
break;
|
||||
this.metroButton2.Focus();
|
||||
break;
|
||||
case MessageBoxDefaultButton.Button3:
|
||||
if (this.metroButton3 == null || !this.metroButton3.Enabled)
|
||||
break;
|
||||
this.metroButton3.Focus();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void button_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void button_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
this.StylizeButton((MetroButton) sender, true);
|
||||
}
|
||||
|
||||
private void button_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.StylizeButton((MetroButton) sender);
|
||||
}
|
||||
|
||||
private void StylizeButton(MetroButton button)
|
||||
{
|
||||
this.StylizeButton(button, false);
|
||||
}
|
||||
|
||||
private void StylizeButton(MetroButton button, bool hovered)
|
||||
{
|
||||
button.Cursor = Cursors.Hand;
|
||||
button.MouseClick -= new MouseEventHandler(this.button_MouseClick);
|
||||
button.MouseClick += new MouseEventHandler(this.button_MouseClick);
|
||||
button.MouseEnter -= new EventHandler(this.button_MouseEnter);
|
||||
button.MouseEnter += new EventHandler(this.button_MouseEnter);
|
||||
button.MouseLeave -= new EventHandler(this.button_MouseLeave);
|
||||
button.MouseLeave += new EventHandler(this.button_MouseLeave);
|
||||
}
|
||||
|
||||
private void button_Click(object sender, EventArgs e)
|
||||
{
|
||||
MetroButton metroButton = (MetroButton) sender;
|
||||
if (!metroButton.Enabled)
|
||||
return;
|
||||
this._result = (DialogResult) metroButton.Tag;
|
||||
this.Hide();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && this.components != null)
|
||||
this.components.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panelbody = new Panel();
|
||||
this.tlpBody = new TableLayoutPanel();
|
||||
this.messageLabel = new Label();
|
||||
this.titleLabel = new Label();
|
||||
this.metroButton1 = new MetroButton();
|
||||
this.metroButton3 = new MetroButton();
|
||||
this.metroButton2 = new MetroButton();
|
||||
this.pnlBottom = new Panel();
|
||||
this.panelbody.SuspendLayout();
|
||||
this.tlpBody.SuspendLayout();
|
||||
this.pnlBottom.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
this.panelbody.BackColor = Color.DarkGray;
|
||||
this.panelbody.Controls.Add((Control) this.tlpBody);
|
||||
this.panelbody.Dock = DockStyle.Fill;
|
||||
this.panelbody.Location = new Point(0, 0);
|
||||
this.panelbody.Margin = new Padding(0);
|
||||
this.panelbody.Name = "panelbody";
|
||||
this.panelbody.Size = new Size(804, 211);
|
||||
this.panelbody.TabIndex = 2;
|
||||
this.tlpBody.ColumnCount = 3;
|
||||
this.tlpBody.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 10f));
|
||||
this.tlpBody.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 80f));
|
||||
this.tlpBody.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 10f));
|
||||
this.tlpBody.Controls.Add((Control) this.messageLabel, 1, 2);
|
||||
this.tlpBody.Controls.Add((Control) this.titleLabel, 1, 1);
|
||||
this.tlpBody.Controls.Add((Control) this.pnlBottom, 1, 3);
|
||||
this.tlpBody.Dock = DockStyle.Fill;
|
||||
this.tlpBody.Location = new Point(0, 0);
|
||||
this.tlpBody.Name = "tlpBody";
|
||||
this.tlpBody.RowCount = 4;
|
||||
this.tlpBody.RowStyles.Add(new RowStyle(SizeType.Absolute, 5f));
|
||||
this.tlpBody.RowStyles.Add(new RowStyle(SizeType.Absolute, 25f));
|
||||
this.tlpBody.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
|
||||
this.tlpBody.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f));
|
||||
this.tlpBody.Size = new Size(804, 211);
|
||||
this.tlpBody.TabIndex = 6;
|
||||
this.messageLabel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||
this.messageLabel.BackColor = Color.Transparent;
|
||||
this.messageLabel.ForeColor = Color.White;
|
||||
this.messageLabel.Location = new Point(83, 30);
|
||||
this.messageLabel.Margin = new Padding(3, 0, 0, 0);
|
||||
this.messageLabel.Name = "messageLabel";
|
||||
this.messageLabel.Size = new Size(640, 141);
|
||||
this.messageLabel.TabIndex = 0;
|
||||
this.messageLabel.Text = "message here";
|
||||
this.titleLabel.AutoSize = true;
|
||||
this.titleLabel.BackColor = Color.Transparent;
|
||||
this.titleLabel.Font = new Font("Segoe UI Semibold", 14.25f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
|
||||
this.titleLabel.ForeColor = Color.WhiteSmoke;
|
||||
this.titleLabel.Location = new Point(80, 5);
|
||||
this.titleLabel.Margin = new Padding(0);
|
||||
this.titleLabel.Name = "titleLabel";
|
||||
this.titleLabel.Size = new Size(125, 25);
|
||||
this.titleLabel.TabIndex = 1;
|
||||
this.titleLabel.Text = "message title";
|
||||
this.metroButton1.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
this.metroButton1.BackColor = Color.ForestGreen;
|
||||
this.metroButton1.Location = new Point(357, 1);
|
||||
this.metroButton1.Name = "metroButton1";
|
||||
this.metroButton1.Size = new Size(90, 26);
|
||||
this.metroButton1.TabIndex = 3;
|
||||
this.metroButton1.Text = "button 1";
|
||||
this.metroButton3.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
this.metroButton3.Location = new Point(553, 1);
|
||||
this.metroButton3.Name = "metroButton3";
|
||||
this.metroButton3.Size = new Size(90, 26);
|
||||
this.metroButton3.TabIndex = 5;
|
||||
this.metroButton3.Text = "button 3";
|
||||
this.metroButton2.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
this.metroButton2.Location = new Point(455, 1);
|
||||
this.metroButton2.Name = "metroButton2";
|
||||
this.metroButton2.Size = new Size(90, 26);
|
||||
this.metroButton2.TabIndex = 4;
|
||||
this.metroButton2.Text = "button 2";
|
||||
this.pnlBottom.BackColor = Color.Transparent;
|
||||
this.pnlBottom.Controls.Add((Control) this.metroButton2);
|
||||
this.pnlBottom.Controls.Add((Control) this.metroButton1);
|
||||
this.pnlBottom.Controls.Add((Control) this.metroButton3);
|
||||
this.pnlBottom.Dock = DockStyle.Fill;
|
||||
this.pnlBottom.Location = new Point(80, 171);
|
||||
this.pnlBottom.Margin = new Padding(0);
|
||||
this.pnlBottom.Name = "pnlBottom";
|
||||
this.pnlBottom.Size = new Size(643, 40);
|
||||
this.pnlBottom.TabIndex = 2;
|
||||
this.AutoScaleDimensions = new SizeF(8f, 21f);
|
||||
this.AutoScaleMode = AutoScaleMode.Font;
|
||||
this.ClientSize = new Size(804, 211);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add((Control) this.panelbody);
|
||||
this.Font = new Font("Segoe UI Light", 12f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.FormBorderStyle = FormBorderStyle.None;
|
||||
this.Margin = new Padding(4, 5, 4, 5);
|
||||
this.Name = nameof (MetroMessageBoxControl);
|
||||
this.StartPosition = FormStartPosition.Manual;
|
||||
this.panelbody.ResumeLayout(false);
|
||||
this.tlpBody.ResumeLayout(false);
|
||||
this.tlpBody.PerformLayout();
|
||||
this.pnlBottom.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
}
|
||||
}
|
34
cashew/MessageBox/MetroMessageBoxProperties.cs
Normal file
34
cashew/MessageBox/MetroMessageBoxProperties.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace cashew.MessageBox
|
||||
{
|
||||
public class MetroMessageBoxProperties
|
||||
{
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
private MetroMessageBoxControl _owner;
|
||||
|
||||
public MetroMessageBoxProperties(MetroMessageBoxControl owner)
|
||||
{
|
||||
this._owner = owner;
|
||||
}
|
||||
|
||||
public MessageBoxButtons Buttons { get; set; }
|
||||
|
||||
public MessageBoxDefaultButton DefaultButton { get; set; }
|
||||
|
||||
public MessageBoxIcon Icon { get; set; }
|
||||
|
||||
public string Message { get; set; }
|
||||
|
||||
public MetroMessageBoxControl Owner
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._owner;
|
||||
}
|
||||
}
|
||||
|
||||
public string Title { get; set; }
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("cashew")]
|
||||
[assembly: AssemblyDescription("A basic GUI for multiple common programming languages")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("CreepyCrafter24")]
|
||||
[assembly: AssemblyProduct("cashew")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2018")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("1ac90e29-b37e-401c-9960-66bc66d4efbf")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
26
cashew/Properties/Settings.Designer.cs
generated
26
cashew/Properties/Settings.Designer.cs
generated
@ -1,26 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace cashew.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.3.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
@ -122,6 +122,6 @@
|
||||
<value>IronPythonBCL.zip;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="packages" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>packages.config;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
<value>cashew.csproj;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
</root>
|
@ -1,225 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{1AC90E29-B37E-401C-9960-66BC66D4EFBF}</ProjectGuid>
|
||||
<TargetFramework>net461</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>cashew</RootNamespace>
|
||||
<AssemblyName>cashew</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<Deterministic>false</Deterministic>
|
||||
<AssemblyVersion>1.0.*</AssemblyVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>Cashew-64.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup />
|
||||
<PropertyGroup>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="CC_Functions.Misc, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\CC-Functions.Misc.1.0.2\lib\CC_Functions.Misc.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Humanizer, Version=2.7.0.0, Culture=neutral, PublicKeyToken=979442b78dfc278e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Humanizer.Core.2.7.9\lib\netstandard2.0\Humanizer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.Decompiler, Version=5.0.2.5153, Culture=neutral, PublicKeyToken=d4bfe873e7598c49, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\ICSharpCode.Decompiler.5.0.2.5153\lib\netstandard2.0\ICSharpCode.Decompiler.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\ICSharpCode.NRefactory.5.5.1\lib\Net40\ICSharpCode.NRefactory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory.Cecil, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\ICSharpCode.NRefactory.5.5.1\lib\Net40\ICSharpCode.NRefactory.Cecil.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory.CSharp, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\ICSharpCode.NRefactory.5.5.1\lib\Net40\ICSharpCode.NRefactory.CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory.Xml, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\ICSharpCode.NRefactory.5.5.1\lib\Net40\ICSharpCode.NRefactory.Xml.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.TextEditor, Version=4.2.0.0, Culture=neutral, PublicKeyToken=4d61825e8dd49f1a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\ICSharpCode.TextEditor.Extended.4.2.4\lib\net45\ICSharpCode.TextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="IronPython, Version=2.7.9.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\IronPython.2.7.9\lib\net45\IronPython.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="IronPython.Modules, Version=2.7.9.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\IronPython.2.7.9\lib\net45\IronPython.Modules.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="IronPython.SQLite, Version=2.7.9.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\IronPython.2.7.9\lib\net45\IronPython.SQLite.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="IronPython.Wpf, Version=2.7.9.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\IronPython.2.7.9\lib\net45\IronPython.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MetroModernUI.1.4.0.0\lib\net\MetroFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MetroFramework.Design, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MetroModernUI.1.4.0.0\lib\net\MetroFramework.Design.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MetroFramework.Fonts, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MetroModernUI.1.4.0.0\lib\net\MetroFramework.Fonts.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dynamic, Version=1.2.2.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DynamicLanguageRuntime.1.2.2\lib\net45\Microsoft.Dynamic.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Scripting, Version=1.2.2.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DynamicLanguageRuntime.1.2.2\lib\net45\Microsoft.Scripting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Scripting.Metadata, Version=1.2.2.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DynamicLanguageRuntime.1.2.2\lib\net45\Microsoft.Scripting.Metadata.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil, Version=0.11.1.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Mono.Cecil.0.11.1\lib\net40\Mono.Cecil.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Mdb, Version=0.11.1.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Mono.Cecil.0.11.1\lib\net40\Mono.Cecil.Mdb.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Pdb, Version=0.11.1.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Mono.Cecil.0.11.1\lib\net40\Mono.Cecil.Pdb.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Rocks, Version=0.11.1.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Mono.Cecil.0.11.1\lib\net40\Mono.Cecil.Rocks.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Collections.Immutable, Version=1.2.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Collections.Immutable.1.6.0\lib\netstandard2.0\System.Collections.Immutable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression">
|
||||
<HintPath>..\..\T.O.F.U\Net_TOFU\bin\Release\System.IO.Compression.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Compression.FileSystem" />
|
||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Reflection.Metadata, Version=1.4.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Reflection.Metadata.1.7.0\lib\netstandard2.0\System.Reflection.Metadata.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.6.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MainForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainForm.Designer.cs">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Splash.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Splash.Designer.cs">
|
||||
<DependentUpon>Splash.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="MainForm.resx">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Splash.resx">
|
||||
<DependentUpon>Splash.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<AdditionalFiles Include="IronPythonBCL.zip">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</AdditionalFiles>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Cashew-64.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="stdole">
|
||||
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
|
||||
<VersionMajor>2</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>primary</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</COMReference>
|
||||
<PackageReference Include="CC-Functions.Misc" Version="1.1.7399.26972" />
|
||||
<PackageReference Include="ICSharpCode.Decompiler" Version="5.0.2.5153" />
|
||||
<PackageReference Include="ICSharpCode.TextEditor.Extended" Version="4.2.4" />
|
||||
<PackageReference Include="IronPython" Version="2.7.9" />
|
||||
<PackageReference Include="ModernUI" Version="2.0.0" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>cd $(SolutionDir)
|
||||
if $(ConfigurationName)==Release C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe PostBuild.cs /r:System.IO.Compression.FileSystem.dll & PostBuild $(TargetDir) $(TargetFileName) & del PostBuild.exe</PostBuildEvent>
|
||||
<PostBuildEvent>
|
||||
if exist "$(SolutionDir)Data\pkgtool.exe" ($(SolutionDir)Data\pkgtool.exe build --noLogo --binDir .) else if exist "%appdata%\UpTool2\Apps\0e35d154-d0d3-45e0-b080-62f521263a44\app\pkgtool.exe" ("%appdata%\UpTool2\Apps\0e35d154-d0d3-45e0-b080-62f521263a44\app\pkgtool.exe" build --noLogo --binDir .) else echo Cound not find Package build tools, skipping</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="CC-Functions.Misc" version="1.1.7399.26972" targetFramework="net461" />
|
||||
<package id="DynamicLanguageRuntime" version="1.2.2" targetFramework="net461" />
|
||||
<package id="Humanizer.Core" version="2.7.9" targetFramework="net472" />
|
||||
<package id="ICSharpCode.Decompiler" version="5.0.2.5153" targetFramework="net472" />
|
||||
<package id="ICSharpCode.NRefactory" version="5.5.1" targetFramework="net472" />
|
||||
<package id="ICSharpCode.TextEditor.Extended" version="4.2.4" targetFramework="net472" />
|
||||
<package id="IronPython" version="2.7.9" targetFramework="net461" />
|
||||
<package id="MetroModernUI" version="1.4.0.0" targetFramework="net461" />
|
||||
<package id="Mono.Cecil" version="0.11.2" targetFramework="net472" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
||||
<package id="System.Collections.Immutable" version="1.7.0" targetFramework="net472" />
|
||||
<package id="System.Memory" version="4.5.4" targetFramework="net472" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
||||
<package id="System.Reflection.Metadata" version="1.8.0" targetFramework="net472" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="4.7.1" targetFramework="net472" />
|
||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
|
||||
</packages>
|
Reference in New Issue
Block a user