Compare commits
No commits in common. "9f9ab4d4eb06aaa4cac7739942ba4b4c9f1bc948" and "146aefeb39755ef4e4b8492aaf9db3c26b6ae4b3" have entirely different histories.
9f9ab4d4eb
...
146aefeb39
4
AppResource.Designer.cs
generated
4
AppResource.Designer.cs
generated
@ -79,7 +79,7 @@ namespace RokettoLaunch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to https://www.hiimray.co.uk/software-rokettolaunch.
|
/// Looks up a localized string similar to https://www.hiimray.co.uk/software-fizzy-launcher.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static string AppHelpURL {
|
internal static string AppHelpURL {
|
||||||
get {
|
get {
|
||||||
@ -88,7 +88,7 @@ namespace RokettoLaunch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to https://www.hiimray.co.uk/software-rokettolaunch.
|
/// Looks up a localized string similar to https://www.hiimray.co.uk/software-fizzy-launcher.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static string AppProductURL {
|
internal static string AppProductURL {
|
||||||
get {
|
get {
|
||||||
|
@ -124,10 +124,10 @@
|
|||||||
<value>https://www.hiimray.co.uk</value>
|
<value>https://www.hiimray.co.uk</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AppHelpURL" xml:space="preserve">
|
<data name="AppHelpURL" xml:space="preserve">
|
||||||
<value>https://www.hiimray.co.uk/software-rokettolaunch</value>
|
<value>https://www.hiimray.co.uk/software-fizzy-launcher</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AppProductURL" xml:space="preserve">
|
<data name="AppProductURL" xml:space="preserve">
|
||||||
<value>https://www.hiimray.co.uk/software-rokettolaunch</value>
|
<value>https://www.hiimray.co.uk/software-fizzy-launcher</value>
|
||||||
</data>
|
</data>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="cog2" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="cog2" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
@ -1,19 +1,20 @@
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using RokettoLaunch.Models;
|
using RokettoLaunch.Models;
|
||||||
using RyzStudio.Windows.Forms;
|
using RyzStudio.Windows.Forms;
|
||||||
|
using RyzStudio.Windows.ThemedForms;
|
||||||
using RyzStudio.Windows.ThemedForms.ButtonTextBox;
|
using RyzStudio.Windows.ThemedForms.ButtonTextBox;
|
||||||
using RyzStudio.Windows.ThemedForms.PickerBox;
|
using RyzStudio.Windows.ThemedForms.PickerBox;
|
||||||
|
|
||||||
namespace RokettoLaunch
|
namespace RokettoLaunch
|
||||||
{
|
{
|
||||||
public class EditGroupForm : Form
|
public class EditGroupForm : TDialog
|
||||||
{
|
{
|
||||||
private Label label2;
|
private Label label2;
|
||||||
private Label label1;
|
private Label label1;
|
||||||
|
private ThButton button1;
|
||||||
private ThYesNoPickerBox pickerBox1;
|
private ThYesNoPickerBox pickerBox1;
|
||||||
|
private THorizontalSeparator horizontalSeparator2;
|
||||||
private ThClearableTextBox textBox1;
|
private ThClearableTextBox textBox1;
|
||||||
private RyzStudio.Windows.ThemedForms.Composite.DialogFooter dialogFooter1;
|
|
||||||
|
|
||||||
|
|
||||||
private TileGroupModel result = null;
|
private TileGroupModel result = null;
|
||||||
|
|
||||||
@ -22,12 +23,12 @@ namespace RokettoLaunch
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
UISetup.Dialog(this);
|
|
||||||
|
|
||||||
this.Text = (result == null) ? "Add Group" : "Edit Group";
|
|
||||||
|
|
||||||
result = model;
|
result = model;
|
||||||
|
|
||||||
|
StartPosition = FormStartPosition.WindowsDefaultLocation;
|
||||||
|
Text = result == null ? "Add Group" : "Edit Group";
|
||||||
|
OkButton = button1;
|
||||||
|
|
||||||
pickerBox1.ComboBox.Items.Clear();
|
pickerBox1.ComboBox.Items.Clear();
|
||||||
pickerBox1.ComboBox.Items.AddRange(new string[] { "No", "Yes" });
|
pickerBox1.ComboBox.Items.AddRange(new string[] { "No", "Yes" });
|
||||||
if (pickerBox1.ComboBox.Items.Count > 0)
|
if (pickerBox1.ComboBox.Items.Count > 0)
|
||||||
@ -44,24 +45,27 @@ namespace RokettoLaunch
|
|||||||
|
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditGroupForm));
|
||||||
textBox1 = new ThClearableTextBox();
|
textBox1 = new ThClearableTextBox();
|
||||||
label2 = new Label();
|
label2 = new Label();
|
||||||
label1 = new Label();
|
label1 = new Label();
|
||||||
|
button1 = new ThButton();
|
||||||
pickerBox1 = new ThYesNoPickerBox();
|
pickerBox1 = new ThYesNoPickerBox();
|
||||||
dialogFooter1 = new RyzStudio.Windows.ThemedForms.Composite.DialogFooter();
|
horizontalSeparator2 = new THorizontalSeparator();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// textBox1
|
// textBox1
|
||||||
//
|
//
|
||||||
|
textBox1.AcceptButton = null;
|
||||||
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
textBox1.BackColor = System.Drawing.Color.Transparent;
|
textBox1.BackColor = System.Drawing.Color.Transparent;
|
||||||
textBox1.ClearedValue = "";
|
textBox1.ClearedValue = "";
|
||||||
textBox1.EnableReactiveVisual = true;
|
textBox1.EnableReactiveVisual = true;
|
||||||
textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||||
textBox1.Icon = "O";
|
|
||||||
textBox1.IconSize = 13F;
|
|
||||||
textBox1.Location = new System.Drawing.Point(192, 20);
|
textBox1.Location = new System.Drawing.Point(192, 20);
|
||||||
|
textBox1.Margin = new Padding(10, 10, 10, 0);
|
||||||
textBox1.Name = "textBox1";
|
textBox1.Name = "textBox1";
|
||||||
|
textBox1.Padding = new Padding(4, 4, 3, 3);
|
||||||
textBox1.Size = new System.Drawing.Size(177, 32);
|
textBox1.Size = new System.Drawing.Size(177, 32);
|
||||||
textBox1.TabIndex = 152;
|
textBox1.TabIndex = 152;
|
||||||
textBox1.TabStop = false;
|
textBox1.TabStop = false;
|
||||||
@ -73,10 +77,9 @@ namespace RokettoLaunch
|
|||||||
label2.BackColor = System.Drawing.Color.Transparent;
|
label2.BackColor = System.Drawing.Color.Transparent;
|
||||||
label2.ForeColor = System.Drawing.SystemColors.ControlText;
|
label2.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
label2.Location = new System.Drawing.Point(10, 62);
|
label2.Location = new System.Drawing.Point(10, 62);
|
||||||
label2.Margin = new Padding(0);
|
|
||||||
label2.Name = "label2";
|
label2.Name = "label2";
|
||||||
label2.Padding = new Padding(0, 9, 0, 0);
|
label2.Padding = new Padding(0, 9, 0, 10);
|
||||||
label2.Size = new System.Drawing.Size(91, 24);
|
label2.Size = new System.Drawing.Size(91, 34);
|
||||||
label2.TabIndex = 155;
|
label2.TabIndex = 155;
|
||||||
label2.Text = "Show Expanded";
|
label2.Text = "Show Expanded";
|
||||||
label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
@ -86,45 +89,71 @@ namespace RokettoLaunch
|
|||||||
label1.AutoSize = true;
|
label1.AutoSize = true;
|
||||||
label1.BackColor = System.Drawing.Color.Transparent;
|
label1.BackColor = System.Drawing.Color.Transparent;
|
||||||
label1.ForeColor = System.Drawing.SystemColors.ControlText;
|
label1.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
label1.Location = new System.Drawing.Point(10, 20);
|
label1.Location = new System.Drawing.Point(10, 21);
|
||||||
label1.Margin = new Padding(0);
|
label1.Margin = new Padding(0);
|
||||||
label1.Name = "label1";
|
label1.Name = "label1";
|
||||||
label1.Padding = new Padding(0, 9, 0, 0);
|
label1.Padding = new Padding(0, 9, 0, 10);
|
||||||
label1.Size = new System.Drawing.Size(29, 24);
|
label1.Size = new System.Drawing.Size(29, 34);
|
||||||
label1.TabIndex = 153;
|
label1.TabIndex = 153;
|
||||||
label1.Text = "Title";
|
label1.Text = "Title";
|
||||||
label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
button1.AcceptButton = null;
|
||||||
|
button1.ActiveImage = null;
|
||||||
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
button1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
button1.EnableMenuOnClick = false;
|
||||||
|
button1.EnableReactiveVisual = true;
|
||||||
|
button1.HoverImage = null;
|
||||||
|
button1.IdleImage = null;
|
||||||
|
button1.LabelText = "&Save";
|
||||||
|
button1.Location = new System.Drawing.Point(241, 469);
|
||||||
|
button1.Margin = new Padding(10, 10, 10, 0);
|
||||||
|
button1.Name = "button1";
|
||||||
|
button1.Padding = new Padding(4, 4, 3, 3);
|
||||||
|
button1.Size = new System.Drawing.Size(128, 32);
|
||||||
|
button1.TabIndex = 173;
|
||||||
|
button1.TabStop = false;
|
||||||
|
//
|
||||||
// pickerBox1
|
// pickerBox1
|
||||||
//
|
//
|
||||||
|
pickerBox1.AcceptButton = null;
|
||||||
pickerBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
pickerBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
pickerBox1.BackColor = System.Drawing.Color.Transparent;
|
pickerBox1.BackColor = System.Drawing.Color.Transparent;
|
||||||
pickerBox1.EnableReactiveVisual = true;
|
pickerBox1.EnableReactiveVisual = true;
|
||||||
pickerBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
pickerBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||||
pickerBox1.Location = new System.Drawing.Point(285, 62);
|
pickerBox1.Location = new System.Drawing.Point(285, 62);
|
||||||
pickerBox1.Name = "pickerBox1";
|
pickerBox1.Name = "pickerBox1";
|
||||||
|
pickerBox1.Padding = new Padding(4, 4, 3, 3);
|
||||||
pickerBox1.SelectedIndex = 0;
|
pickerBox1.SelectedIndex = 0;
|
||||||
pickerBox1.Size = new System.Drawing.Size(84, 34);
|
pickerBox1.Size = new System.Drawing.Size(84, 34);
|
||||||
pickerBox1.TabIndex = 174;
|
pickerBox1.TabIndex = 174;
|
||||||
pickerBox1.TabStop = false;
|
pickerBox1.TabStop = false;
|
||||||
pickerBox1.Value = false;
|
pickerBox1.Value = false;
|
||||||
//
|
//
|
||||||
// dialogFooter1
|
// horizontalSeparator2
|
||||||
//
|
//
|
||||||
dialogFooter1.BackColor = System.Drawing.Color.FromArgb(240, 240, 240);
|
horizontalSeparator2.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
dialogFooter1.Button1Text = "&Save";
|
horizontalSeparator2.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
||||||
dialogFooter1.Dialog = this;
|
horizontalSeparator2.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
||||||
dialogFooter1.Dock = DockStyle.Bottom;
|
horizontalSeparator2.BackColor = System.Drawing.Color.Transparent;
|
||||||
dialogFooter1.Location = new System.Drawing.Point(0, 437);
|
horizontalSeparator2.Location = new System.Drawing.Point(10, 437);
|
||||||
dialogFooter1.Name = "dialogFooter1";
|
horizontalSeparator2.Margin = new Padding(0, 10, 0, 0);
|
||||||
dialogFooter1.Size = new System.Drawing.Size(384, 84);
|
horizontalSeparator2.MaximumSize = new System.Drawing.Size(4920, 2);
|
||||||
|
horizontalSeparator2.MinimumSize = new System.Drawing.Size(0, 22);
|
||||||
|
horizontalSeparator2.Name = "horizontalSeparator2";
|
||||||
|
horizontalSeparator2.Size = new System.Drawing.Size(364, 22);
|
||||||
|
horizontalSeparator2.TabIndex = 182;
|
||||||
|
horizontalSeparator2.TabStop = false;
|
||||||
//
|
//
|
||||||
// EditGroupForm
|
// EditGroupForm
|
||||||
//
|
//
|
||||||
BackColor = System.Drawing.Color.White;
|
|
||||||
ClientSize = new System.Drawing.Size(384, 521);
|
ClientSize = new System.Drawing.Size(384, 521);
|
||||||
Controls.Add(dialogFooter1);
|
Controls.Add(horizontalSeparator2);
|
||||||
Controls.Add(pickerBox1);
|
Controls.Add(pickerBox1);
|
||||||
|
Controls.Add(button1);
|
||||||
Controls.Add(label2);
|
Controls.Add(label2);
|
||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
Controls.Add(textBox1);
|
Controls.Add(textBox1);
|
||||||
|
@ -117,4 +117,25 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="textBox1.HighlightImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wQAADsEBuJFr7QAAAN5JREFUOE/tUzsKwkAUXLCyFMHjeIvdB4Gk8ALamU4rsbLaTWz0AOYGOYMewTqe
|
||||||
|
QLEQnZc8WRMSsBYHhrzPzJBin2pC60PPGLs3xl3Bp5DrHe9E1g2tHUH8QMjKmGReketyZkRWh9abfhTZ
|
||||||
|
YRimI4jWRPYSBMngkzzjHWtYyx6xK4X0Anz/7rcsxM4BdoxBTuTOqCdEaUyU6DrTuNqxxuXsEXsFDLfg
|
||||||
|
UdpOsIa10nr8A34p4CRtJ1jTGoC3PsPiBi78ETXplqzBwU3F5sHHgWWGJ3rHt+3tg+Uu84ek1AsYYd8q
|
||||||
|
EsfwCwAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="textBox1.NormalImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wQAADsEBuJFr7QAAANFJREFUOE/tkzEKAjEURANWliJ4HG+h9l5AO7fTSjyCxWpCIBB2b+AZ9AjW6wlc
|
||||||
|
LGSdWb9Elw1YiwOP/Pw/E1Ikqqksyzpa670x5goqgfWOM7HFhfAE5jvWNdYFkZq9sdg+laZp13vfBwOY
|
||||||
|
NjBfnHO9d9jjjB56mZG4UhgW4HXdbykkXl97iMYBnFFPrbUJGDVIOKOHXmYk/hSaW3CUbVT00CvboP8B
|
||||||
|
v3TASbZR0RM7YA5KsAT1J2phBUq8wpnEgvg5MMwxvGFte/uVzPLwkZR6AInAKK6aICfTAAAAAElFTkSu
|
||||||
|
QmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
@ -12,14 +12,15 @@ using RyzStudio.Windows.ThemedForms.ButtonTextBox;
|
|||||||
|
|
||||||
namespace RokettoLaunch
|
namespace RokettoLaunch
|
||||||
{
|
{
|
||||||
public class EditTileFolderForm : Form
|
public class EditTileFolderForm : TDialog
|
||||||
{
|
{
|
||||||
private Label label1;
|
private Label label1;
|
||||||
|
private ThButton button1;
|
||||||
|
private THorizontalSeparator horizontalSeparator2;
|
||||||
private ThClearableTextBox textBox1;
|
private ThClearableTextBox textBox1;
|
||||||
private ThListBox listBox1;
|
private ThListBox listBox1;
|
||||||
|
private THorizontalSeparator tHorizontalSeparator1;
|
||||||
private Label label2;
|
private Label label2;
|
||||||
private RyzStudio.Windows.ThemedForms.Composite.DialogFooter dialogFooter1;
|
|
||||||
|
|
||||||
|
|
||||||
private TileModel result = null;
|
private TileModel result = null;
|
||||||
|
|
||||||
@ -28,14 +29,15 @@ namespace RokettoLaunch
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
UISetup.Dialog(this);
|
StartPosition = FormStartPosition.WindowsDefaultLocation;
|
||||||
|
OkButton = button1;
|
||||||
this.Text = (result == null) ? "Add Folder" : "Edit Folder";
|
|
||||||
|
|
||||||
result = model;
|
result = model;
|
||||||
|
|
||||||
if (result != null)
|
if (result != null)
|
||||||
{
|
{
|
||||||
|
Text = "Edit Folder";
|
||||||
|
|
||||||
textBox1.Text = result?.Title ?? string.Empty;
|
textBox1.Text = result?.Title ?? string.Empty;
|
||||||
|
|
||||||
foreach (TileModel item in result.Items ?? new List<TileModel>())
|
foreach (TileModel item in result.Items ?? new List<TileModel>())
|
||||||
@ -48,29 +50,32 @@ namespace RokettoLaunch
|
|||||||
listBox1.ListBox.Items.Add(item);
|
listBox1.ListBox.Items.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Text = "Add Folder";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
textBox1 = new ThClearableTextBox();
|
textBox1 = new ThClearableTextBox();
|
||||||
label1 = new Label();
|
label1 = new Label();
|
||||||
|
button1 = new ThButton();
|
||||||
|
horizontalSeparator2 = new THorizontalSeparator();
|
||||||
listBox1 = new ThListBox();
|
listBox1 = new ThListBox();
|
||||||
label2 = new Label();
|
label2 = new Label();
|
||||||
dialogFooter1 = new RyzStudio.Windows.ThemedForms.Composite.DialogFooter();
|
tHorizontalSeparator1 = new THorizontalSeparator();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// textBox1
|
// textBox1
|
||||||
//
|
//
|
||||||
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
textBox1.BackColor = Color.Transparent;
|
textBox1.BackColor = Color.Transparent;
|
||||||
textBox1.ClearedValue = "";
|
|
||||||
textBox1.EnableReactiveVisual = true;
|
textBox1.EnableReactiveVisual = true;
|
||||||
textBox1.Font = new Font("Microsoft Sans Serif", 8.25F);
|
textBox1.Font = new Font("Microsoft Sans Serif", 8.25F);
|
||||||
textBox1.Icon = "O";
|
|
||||||
textBox1.IconSize = 13F;
|
|
||||||
textBox1.Location = new Point(109, 20);
|
textBox1.Location = new Point(109, 20);
|
||||||
textBox1.Name = "textBox1";
|
textBox1.Name = "textBox1";
|
||||||
textBox1.Size = new Size(275, 32);
|
textBox1.Size = new Size(260, 35);
|
||||||
textBox1.TabIndex = 152;
|
textBox1.TabIndex = 152;
|
||||||
textBox1.TabStop = false;
|
textBox1.TabStop = false;
|
||||||
textBox1.UseSystemPasswordChar = false;
|
textBox1.UseSystemPasswordChar = false;
|
||||||
@ -80,29 +85,65 @@ namespace RokettoLaunch
|
|||||||
label1.AutoSize = true;
|
label1.AutoSize = true;
|
||||||
label1.BackColor = Color.Transparent;
|
label1.BackColor = Color.Transparent;
|
||||||
label1.ForeColor = SystemColors.ControlText;
|
label1.ForeColor = SystemColors.ControlText;
|
||||||
label1.Location = new Point(10, 20);
|
label1.Location = new Point(10, 21);
|
||||||
label1.Margin = new Padding(0);
|
label1.Margin = new Padding(0);
|
||||||
label1.Name = "label1";
|
label1.Name = "label1";
|
||||||
label1.Padding = new Padding(0, 9, 0, 0);
|
label1.Padding = new Padding(0, 9, 0, 10);
|
||||||
label1.Size = new Size(29, 24);
|
label1.Size = new Size(29, 34);
|
||||||
label1.TabIndex = 153;
|
label1.TabIndex = 153;
|
||||||
label1.Text = "Title";
|
label1.Text = "Title";
|
||||||
label1.TextAlign = ContentAlignment.MiddleLeft;
|
label1.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
button1.AcceptButton = null;
|
||||||
|
button1.ActiveImage = null;
|
||||||
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
button1.BackColor = Color.Transparent;
|
||||||
|
button1.EnableMenuOnClick = false;
|
||||||
|
button1.EnableReactiveVisual = true;
|
||||||
|
button1.HoverImage = null;
|
||||||
|
button1.IdleImage = null;
|
||||||
|
button1.LabelText = "&Save";
|
||||||
|
button1.Location = new Point(241, 469);
|
||||||
|
button1.Margin = new Padding(10, 10, 10, 0);
|
||||||
|
button1.Name = "button1";
|
||||||
|
button1.Padding = new Padding(4, 4, 3, 3);
|
||||||
|
button1.Size = new Size(128, 32);
|
||||||
|
button1.TabIndex = 173;
|
||||||
|
button1.TabStop = false;
|
||||||
|
//
|
||||||
|
// horizontalSeparator2
|
||||||
|
//
|
||||||
|
horizontalSeparator2.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
horizontalSeparator2.AutoScrollMargin = new Size(0, 0);
|
||||||
|
horizontalSeparator2.AutoScrollMinSize = new Size(0, 0);
|
||||||
|
horizontalSeparator2.BackColor = Color.Transparent;
|
||||||
|
horizontalSeparator2.Location = new Point(10, 61);
|
||||||
|
horizontalSeparator2.Margin = new Padding(0, 10, 0, 0);
|
||||||
|
horizontalSeparator2.MaximumSize = new Size(4920, 2);
|
||||||
|
horizontalSeparator2.MinimumSize = new Size(0, 22);
|
||||||
|
horizontalSeparator2.Name = "horizontalSeparator2";
|
||||||
|
horizontalSeparator2.Size = new Size(364, 22);
|
||||||
|
horizontalSeparator2.TabIndex = 177;
|
||||||
|
horizontalSeparator2.TabStop = false;
|
||||||
|
//
|
||||||
// listBox1
|
// listBox1
|
||||||
//
|
//
|
||||||
|
listBox1.AcceptButton = null;
|
||||||
listBox1.AllowDrop = true;
|
listBox1.AllowDrop = true;
|
||||||
listBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
listBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
listBox1.BackColor = Color.Transparent;
|
listBox1.BackColor = Color.Transparent;
|
||||||
listBox1.EnableReactiveVisual = true;
|
listBox1.EnableReactiveVisual = true;
|
||||||
listBox1.Font = new Font("Microsoft Sans Serif", 8.25F);
|
listBox1.Font = new Font("Microsoft Sans Serif", 8.25F);
|
||||||
listBox1.Location = new Point(109, 62);
|
listBox1.Location = new Point(109, 87);
|
||||||
|
listBox1.Margin = new Padding(10, 10, 10, 0);
|
||||||
listBox1.Name = "listBox1";
|
listBox1.Name = "listBox1";
|
||||||
listBox1.Size = new Size(260, 366);
|
listBox1.Padding = new Padding(4, 4, 3, 3);
|
||||||
|
listBox1.Size = new Size(260, 346);
|
||||||
listBox1.TabIndex = 180;
|
listBox1.TabIndex = 180;
|
||||||
listBox1.OnAdd += listBox1_OnAdd;
|
listBox1.OnAdd += listBox1_OnAdd;
|
||||||
listBox1.OnEdit += listBox1_OnEdit;
|
listBox1.OnEdit += listBox1_OnEdit;
|
||||||
listBox1.OnCopy += listBox1_OnCopy;
|
|
||||||
listBox1.DragDrop += listBox1_DragDrop;
|
listBox1.DragDrop += listBox1_DragDrop;
|
||||||
listBox1.DragOver += listBox1_DragOver;
|
listBox1.DragOver += listBox1_DragOver;
|
||||||
//
|
//
|
||||||
@ -111,32 +152,37 @@ namespace RokettoLaunch
|
|||||||
label2.AutoSize = true;
|
label2.AutoSize = true;
|
||||||
label2.BackColor = Color.Transparent;
|
label2.BackColor = Color.Transparent;
|
||||||
label2.ForeColor = SystemColors.ControlText;
|
label2.ForeColor = SystemColors.ControlText;
|
||||||
label2.Location = new Point(10, 62);
|
label2.Location = new Point(8, 87);
|
||||||
label2.Margin = new Padding(0);
|
|
||||||
label2.Name = "label2";
|
label2.Name = "label2";
|
||||||
label2.Padding = new Padding(0, 9, 0, 0);
|
label2.Padding = new Padding(0, 9, 0, 10);
|
||||||
label2.Size = new Size(82, 24);
|
label2.Size = new Size(30, 34);
|
||||||
label2.TabIndex = 181;
|
label2.TabIndex = 181;
|
||||||
label2.Text = "Tile Collection";
|
label2.Text = "Tiles";
|
||||||
label2.TextAlign = ContentAlignment.MiddleLeft;
|
label2.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
// dialogFooter1
|
// tHorizontalSeparator1
|
||||||
//
|
//
|
||||||
dialogFooter1.BackColor = Color.FromArgb(240, 240, 240);
|
tHorizontalSeparator1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
dialogFooter1.Button1Text = "&Save";
|
tHorizontalSeparator1.AutoScrollMargin = new Size(0, 0);
|
||||||
dialogFooter1.Dialog = this;
|
tHorizontalSeparator1.AutoScrollMinSize = new Size(0, 0);
|
||||||
dialogFooter1.Dock = DockStyle.Bottom;
|
tHorizontalSeparator1.BackColor = Color.Transparent;
|
||||||
dialogFooter1.Location = new Point(0, 437);
|
tHorizontalSeparator1.Location = new Point(10, 437);
|
||||||
dialogFooter1.Name = "dialogFooter1";
|
tHorizontalSeparator1.Margin = new Padding(0, 10, 0, 0);
|
||||||
dialogFooter1.Size = new Size(384, 84);
|
tHorizontalSeparator1.MaximumSize = new Size(4920, 2);
|
||||||
|
tHorizontalSeparator1.MinimumSize = new Size(0, 22);
|
||||||
|
tHorizontalSeparator1.Name = "tHorizontalSeparator1";
|
||||||
|
tHorizontalSeparator1.Size = new Size(364, 22);
|
||||||
|
tHorizontalSeparator1.TabIndex = 182;
|
||||||
|
tHorizontalSeparator1.TabStop = false;
|
||||||
//
|
//
|
||||||
// EditTileFolderForm
|
// EditTileFolderForm
|
||||||
//
|
//
|
||||||
BackColor = Color.White;
|
|
||||||
ClientSize = new Size(384, 521);
|
ClientSize = new Size(384, 521);
|
||||||
Controls.Add(dialogFooter1);
|
Controls.Add(tHorizontalSeparator1);
|
||||||
Controls.Add(label2);
|
Controls.Add(label2);
|
||||||
Controls.Add(listBox1);
|
Controls.Add(listBox1);
|
||||||
|
Controls.Add(horizontalSeparator2);
|
||||||
|
Controls.Add(button1);
|
||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
Controls.Add(textBox1);
|
Controls.Add(textBox1);
|
||||||
MinimumSize = new Size(400, 560);
|
MinimumSize = new Size(400, 560);
|
||||||
@ -146,6 +192,7 @@ namespace RokettoLaunch
|
|||||||
PerformLayout();
|
PerformLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TileModel Result
|
public TileModel Result
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@ -209,11 +256,6 @@ namespace RokettoLaunch
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private void listBox1_OnCopy(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
listBox1.ListBox.CopyItem<TileModel>();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void listBox1_DragOver(object sender, DragEventArgs e)
|
private void listBox1_DragOver(object sender, DragEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.Data.GetDataPresent(DataFormats.FileDrop))
|
if (e.Data.GetDataPresent(DataFormats.FileDrop))
|
||||||
|
153
EditTileForm.cs
153
EditTileForm.cs
@ -8,7 +8,7 @@ using RyzStudio.Windows.ThemedForms.PickerBox;
|
|||||||
|
|
||||||
namespace RokettoLaunch
|
namespace RokettoLaunch
|
||||||
{
|
{
|
||||||
public class EditTileForm : Form
|
public class EditTileForm : TDialog
|
||||||
{
|
{
|
||||||
private Label label6;
|
private Label label6;
|
||||||
private Label label7;
|
private Label label7;
|
||||||
@ -19,12 +19,12 @@ namespace RokettoLaunch
|
|||||||
private ThPathDialogTextBox textBox2;
|
private ThPathDialogTextBox textBox2;
|
||||||
private ThClearableTextBox textBox3;
|
private ThClearableTextBox textBox3;
|
||||||
private ThPathDialogTextBox textBox4;
|
private ThPathDialogTextBox textBox4;
|
||||||
|
private ThButton button1;
|
||||||
private ThPickerBox pickerBox1;
|
private ThPickerBox pickerBox1;
|
||||||
private ThYesNoPickerBox pickerBox2;
|
private ThYesNoPickerBox pickerBox2;
|
||||||
private THorizontalSeparator horizontalSeparator1;
|
private THorizontalSeparator horizontalSeparator1;
|
||||||
|
private THorizontalSeparator horizontalSeparator2;
|
||||||
private ThClearableTextBox textBox1;
|
private ThClearableTextBox textBox1;
|
||||||
private RyzStudio.Windows.ThemedForms.Composite.DialogFooter dialogFooter1;
|
|
||||||
|
|
||||||
|
|
||||||
private TileModel result = null;
|
private TileModel result = null;
|
||||||
|
|
||||||
@ -33,9 +33,8 @@ namespace RokettoLaunch
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
UISetup.Dialog(this);
|
StartPosition = FormStartPosition.WindowsDefaultLocation;
|
||||||
|
OkButton = button1;
|
||||||
this.Text = (result == null) ? "Add Tile" : "Edit Tile";
|
|
||||||
|
|
||||||
result = model;
|
result = model;
|
||||||
|
|
||||||
@ -48,6 +47,8 @@ namespace RokettoLaunch
|
|||||||
|
|
||||||
if (result != null)
|
if (result != null)
|
||||||
{
|
{
|
||||||
|
Text = "Edit Tile";
|
||||||
|
|
||||||
textBox1.Text = result?.Title ?? string.Empty;
|
textBox1.Text = result?.Title ?? string.Empty;
|
||||||
textBox2.Text = result?.ProcessFilename ?? string.Empty;
|
textBox2.Text = result?.ProcessFilename ?? string.Empty;
|
||||||
textBox3.Text = result?.ProcessArgument ?? string.Empty;
|
textBox3.Text = result?.ProcessArgument ?? string.Empty;
|
||||||
@ -55,6 +56,10 @@ namespace RokettoLaunch
|
|||||||
pickerBox1.ComboBox.SelectedIndex = (int)result.ProcessWindowStyle;
|
pickerBox1.ComboBox.SelectedIndex = (int)result.ProcessWindowStyle;
|
||||||
pickerBox2.Value = result.ProcessAsAdmin;
|
pickerBox2.Value = result.ProcessAsAdmin;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Text = "Add Tile";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
@ -69,24 +74,22 @@ namespace RokettoLaunch
|
|||||||
textBox2 = new ThPathDialogTextBox();
|
textBox2 = new ThPathDialogTextBox();
|
||||||
textBox3 = new ThClearableTextBox();
|
textBox3 = new ThClearableTextBox();
|
||||||
textBox4 = new ThPathDialogTextBox();
|
textBox4 = new ThPathDialogTextBox();
|
||||||
|
button1 = new ThButton();
|
||||||
pickerBox1 = new ThPickerBox();
|
pickerBox1 = new ThPickerBox();
|
||||||
pickerBox2 = new ThYesNoPickerBox();
|
pickerBox2 = new ThYesNoPickerBox();
|
||||||
horizontalSeparator1 = new THorizontalSeparator();
|
horizontalSeparator1 = new THorizontalSeparator();
|
||||||
dialogFooter1 = new RyzStudio.Windows.ThemedForms.Composite.DialogFooter();
|
horizontalSeparator2 = new THorizontalSeparator();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// textBox1
|
// textBox1
|
||||||
//
|
//
|
||||||
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
textBox1.BackColor = Color.Transparent;
|
textBox1.BackColor = Color.Transparent;
|
||||||
textBox1.ClearedValue = "";
|
|
||||||
textBox1.EnableReactiveVisual = true;
|
textBox1.EnableReactiveVisual = true;
|
||||||
textBox1.Font = new Font("Segoe UI", 9F);
|
textBox1.Font = new Font("Segoe UI", 9F);
|
||||||
textBox1.Icon = "O";
|
textBox1.Location = new Point(126, 20);
|
||||||
textBox1.IconSize = 13F;
|
|
||||||
textBox1.Location = new Point(109, 20);
|
|
||||||
textBox1.Name = "textBox1";
|
textBox1.Name = "textBox1";
|
||||||
textBox1.Size = new Size(260, 32);
|
textBox1.Size = new Size(243, 35);
|
||||||
textBox1.TabIndex = 152;
|
textBox1.TabIndex = 152;
|
||||||
textBox1.TabStop = false;
|
textBox1.TabStop = false;
|
||||||
textBox1.UseSystemPasswordChar = false;
|
textBox1.UseSystemPasswordChar = false;
|
||||||
@ -96,11 +99,10 @@ namespace RokettoLaunch
|
|||||||
label6.AutoSize = true;
|
label6.AutoSize = true;
|
||||||
label6.BackColor = Color.Transparent;
|
label6.BackColor = Color.Transparent;
|
||||||
label6.ForeColor = SystemColors.ControlText;
|
label6.ForeColor = SystemColors.ControlText;
|
||||||
label6.Location = new Point(10, 264);
|
label6.Location = new Point(10, 250);
|
||||||
label6.Margin = new Padding(0);
|
|
||||||
label6.Name = "label6";
|
label6.Name = "label6";
|
||||||
label6.Padding = new Padding(0, 9, 0, 0);
|
label6.Padding = new Padding(0, 9, 0, 10);
|
||||||
label6.Size = new Size(83, 24);
|
label6.Size = new Size(83, 34);
|
||||||
label6.TabIndex = 163;
|
label6.TabIndex = 163;
|
||||||
label6.Text = "Run As Admin";
|
label6.Text = "Run As Admin";
|
||||||
label6.TextAlign = ContentAlignment.MiddleLeft;
|
label6.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
@ -110,11 +112,10 @@ namespace RokettoLaunch
|
|||||||
label7.AutoSize = true;
|
label7.AutoSize = true;
|
||||||
label7.BackColor = Color.Transparent;
|
label7.BackColor = Color.Transparent;
|
||||||
label7.ForeColor = SystemColors.ControlText;
|
label7.ForeColor = SystemColors.ControlText;
|
||||||
label7.Location = new Point(10, 220);
|
label7.Location = new Point(10, 209);
|
||||||
label7.Margin = new Padding(0);
|
|
||||||
label7.Name = "label7";
|
label7.Name = "label7";
|
||||||
label7.Padding = new Padding(0, 9, 0, 0);
|
label7.Padding = new Padding(0, 9, 0, 10);
|
||||||
label7.Size = new Size(79, 24);
|
label7.Size = new Size(79, 34);
|
||||||
label7.TabIndex = 161;
|
label7.TabIndex = 161;
|
||||||
label7.Text = "Window Style";
|
label7.Text = "Window Style";
|
||||||
label7.TextAlign = ContentAlignment.MiddleLeft;
|
label7.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
@ -124,11 +125,10 @@ namespace RokettoLaunch
|
|||||||
label4.AutoSize = true;
|
label4.AutoSize = true;
|
||||||
label4.BackColor = Color.Transparent;
|
label4.BackColor = Color.Transparent;
|
||||||
label4.ForeColor = SystemColors.ControlText;
|
label4.ForeColor = SystemColors.ControlText;
|
||||||
label4.Location = new Point(10, 146);
|
label4.Location = new Point(10, 144);
|
||||||
label4.Margin = new Padding(0);
|
|
||||||
label4.Name = "label4";
|
label4.Name = "label4";
|
||||||
label4.Padding = new Padding(0, 9, 0, 0);
|
label4.Padding = new Padding(0, 9, 0, 10);
|
||||||
label4.Size = new Size(103, 24);
|
label4.Size = new Size(103, 34);
|
||||||
label4.TabIndex = 159;
|
label4.TabIndex = 159;
|
||||||
label4.Text = "Working Directory";
|
label4.Text = "Working Directory";
|
||||||
label4.TextAlign = ContentAlignment.MiddleLeft;
|
label4.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
@ -138,11 +138,10 @@ namespace RokettoLaunch
|
|||||||
label3.AutoSize = true;
|
label3.AutoSize = true;
|
||||||
label3.BackColor = Color.Transparent;
|
label3.BackColor = Color.Transparent;
|
||||||
label3.ForeColor = SystemColors.ControlText;
|
label3.ForeColor = SystemColors.ControlText;
|
||||||
label3.Location = new Point(10, 104);
|
label3.Location = new Point(10, 103);
|
||||||
label3.Margin = new Padding(0);
|
|
||||||
label3.Name = "label3";
|
label3.Name = "label3";
|
||||||
label3.Padding = new Padding(0, 9, 0, 0);
|
label3.Padding = new Padding(0, 9, 0, 10);
|
||||||
label3.Size = new Size(61, 24);
|
label3.Size = new Size(61, 34);
|
||||||
label3.TabIndex = 157;
|
label3.TabIndex = 157;
|
||||||
label3.Text = "Argument";
|
label3.Text = "Argument";
|
||||||
label3.TextAlign = ContentAlignment.MiddleLeft;
|
label3.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
@ -153,10 +152,9 @@ namespace RokettoLaunch
|
|||||||
label2.BackColor = Color.Transparent;
|
label2.BackColor = Color.Transparent;
|
||||||
label2.ForeColor = SystemColors.ControlText;
|
label2.ForeColor = SystemColors.ControlText;
|
||||||
label2.Location = new Point(10, 62);
|
label2.Location = new Point(10, 62);
|
||||||
label2.Margin = new Padding(0);
|
|
||||||
label2.Name = "label2";
|
label2.Name = "label2";
|
||||||
label2.Padding = new Padding(0, 9, 0, 0);
|
label2.Padding = new Padding(0, 9, 0, 10);
|
||||||
label2.Size = new Size(55, 24);
|
label2.Size = new Size(55, 34);
|
||||||
label2.TabIndex = 155;
|
label2.TabIndex = 155;
|
||||||
label2.Text = "Filename";
|
label2.Text = "Filename";
|
||||||
label2.TextAlign = ContentAlignment.MiddleLeft;
|
label2.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
@ -166,11 +164,11 @@ namespace RokettoLaunch
|
|||||||
label1.AutoSize = true;
|
label1.AutoSize = true;
|
||||||
label1.BackColor = Color.Transparent;
|
label1.BackColor = Color.Transparent;
|
||||||
label1.ForeColor = SystemColors.ControlText;
|
label1.ForeColor = SystemColors.ControlText;
|
||||||
label1.Location = new Point(10, 20);
|
label1.Location = new Point(10, 21);
|
||||||
label1.Margin = new Padding(0);
|
label1.Margin = new Padding(0);
|
||||||
label1.Name = "label1";
|
label1.Name = "label1";
|
||||||
label1.Padding = new Padding(0, 9, 0, 0);
|
label1.Padding = new Padding(0, 9, 0, 10);
|
||||||
label1.Size = new Size(29, 24);
|
label1.Size = new Size(29, 34);
|
||||||
label1.TabIndex = 153;
|
label1.TabIndex = 153;
|
||||||
label1.Text = "Title";
|
label1.Text = "Title";
|
||||||
label1.TextAlign = ContentAlignment.MiddleLeft;
|
label1.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
@ -181,15 +179,11 @@ namespace RokettoLaunch
|
|||||||
textBox2.BackColor = Color.Transparent;
|
textBox2.BackColor = Color.Transparent;
|
||||||
textBox2.DialogMode = ThPathDialogTextBox.DialogType.OpenFile;
|
textBox2.DialogMode = ThPathDialogTextBox.DialogType.OpenFile;
|
||||||
textBox2.EnableReactiveVisual = true;
|
textBox2.EnableReactiveVisual = true;
|
||||||
textBox2.FolderBrowserDialog = null;
|
|
||||||
textBox2.Font = new Font("Segoe UI", 9F);
|
textBox2.Font = new Font("Segoe UI", 9F);
|
||||||
textBox2.Icon = "C";
|
textBox2.Location = new Point(126, 61);
|
||||||
textBox2.IconSize = 13F;
|
textBox2.Margin = new Padding(10, 10, 10, 0);
|
||||||
textBox2.Location = new Point(109, 62);
|
|
||||||
textBox2.Name = "textBox2";
|
textBox2.Name = "textBox2";
|
||||||
textBox2.OpenFileDialog = null;
|
textBox2.Size = new Size(243, 32);
|
||||||
textBox2.SaveFileDialog = null;
|
|
||||||
textBox2.Size = new Size(260, 32);
|
|
||||||
textBox2.TabIndex = 170;
|
textBox2.TabIndex = 170;
|
||||||
textBox2.TabStop = false;
|
textBox2.TabStop = false;
|
||||||
textBox2.UseSystemPasswordChar = false;
|
textBox2.UseSystemPasswordChar = false;
|
||||||
@ -198,17 +192,13 @@ namespace RokettoLaunch
|
|||||||
//
|
//
|
||||||
textBox3.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
textBox3.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
textBox3.BackColor = Color.Transparent;
|
textBox3.BackColor = Color.Transparent;
|
||||||
textBox3.ClearedValue = "";
|
|
||||||
textBox3.EnableReactiveVisual = true;
|
textBox3.EnableReactiveVisual = true;
|
||||||
textBox3.Font = new Font("Segoe UI", 9F);
|
textBox3.Font = new Font("Segoe UI", 9F);
|
||||||
textBox3.Icon = "O";
|
textBox3.Location = new Point(147, 102);
|
||||||
textBox3.IconSize = 13F;
|
|
||||||
textBox3.Location = new Point(149, 104);
|
|
||||||
textBox3.Name = "textBox3";
|
textBox3.Name = "textBox3";
|
||||||
textBox3.Size = new Size(220, 32);
|
textBox3.Size = new Size(222, 35);
|
||||||
textBox3.TabIndex = 171;
|
textBox3.TabIndex = 171;
|
||||||
textBox3.TabStop = false;
|
textBox3.TabStop = false;
|
||||||
textBox3.UseSystemPasswordChar = false;
|
|
||||||
//
|
//
|
||||||
// textBox4
|
// textBox4
|
||||||
//
|
//
|
||||||
@ -216,29 +206,46 @@ namespace RokettoLaunch
|
|||||||
textBox4.BackColor = Color.Transparent;
|
textBox4.BackColor = Color.Transparent;
|
||||||
textBox4.DialogMode = ThPathDialogTextBox.DialogType.FolderBrowser;
|
textBox4.DialogMode = ThPathDialogTextBox.DialogType.FolderBrowser;
|
||||||
textBox4.EnableReactiveVisual = true;
|
textBox4.EnableReactiveVisual = true;
|
||||||
textBox4.FolderBrowserDialog = null;
|
|
||||||
textBox4.Font = new Font("Segoe UI", 9F);
|
textBox4.Font = new Font("Segoe UI", 9F);
|
||||||
textBox4.Icon = "D";
|
textBox4.Location = new Point(147, 143);
|
||||||
textBox4.IconSize = 13F;
|
|
||||||
textBox4.Location = new Point(149, 146);
|
|
||||||
textBox4.Name = "textBox4";
|
textBox4.Name = "textBox4";
|
||||||
textBox4.OpenFileDialog = null;
|
textBox4.Size = new Size(222, 32);
|
||||||
textBox4.SaveFileDialog = null;
|
|
||||||
textBox4.Size = new Size(220, 32);
|
|
||||||
textBox4.TabIndex = 172;
|
textBox4.TabIndex = 172;
|
||||||
textBox4.TabStop = false;
|
textBox4.TabStop = false;
|
||||||
textBox4.UseSystemPasswordChar = false;
|
textBox4.UseSystemPasswordChar = false;
|
||||||
//
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
button1.AcceptButton = null;
|
||||||
|
button1.ActiveImage = null;
|
||||||
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
button1.BackColor = Color.Transparent;
|
||||||
|
button1.EnableMenuOnClick = false;
|
||||||
|
button1.EnableReactiveVisual = true;
|
||||||
|
button1.HoverImage = null;
|
||||||
|
button1.IdleImage = null;
|
||||||
|
button1.LabelText = "&Save";
|
||||||
|
button1.Location = new Point(241, 469);
|
||||||
|
button1.Margin = new Padding(10, 10, 10, 0);
|
||||||
|
button1.Name = "button1";
|
||||||
|
button1.Padding = new Padding(4, 4, 3, 3);
|
||||||
|
button1.Size = new Size(128, 32);
|
||||||
|
button1.TabIndex = 173;
|
||||||
|
button1.TabStop = false;
|
||||||
|
//
|
||||||
// pickerBox1
|
// pickerBox1
|
||||||
//
|
//
|
||||||
|
pickerBox1.AcceptButton = null;
|
||||||
pickerBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
pickerBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
pickerBox1.BackColor = Color.Transparent;
|
pickerBox1.BackColor = Color.Transparent;
|
||||||
pickerBox1.EnableReactiveVisual = true;
|
pickerBox1.EnableReactiveVisual = true;
|
||||||
pickerBox1.Font = new Font("Segoe UI", 9F);
|
pickerBox1.Font = new Font("Segoe UI", 9F);
|
||||||
pickerBox1.Location = new Point(249, 220);
|
pickerBox1.Location = new Point(241, 209);
|
||||||
|
pickerBox1.Margin = new Padding(10, 10, 10, 0);
|
||||||
pickerBox1.Name = "pickerBox1";
|
pickerBox1.Name = "pickerBox1";
|
||||||
|
pickerBox1.Padding = new Padding(4, 4, 3, 3);
|
||||||
pickerBox1.SelectedIndex = -1;
|
pickerBox1.SelectedIndex = -1;
|
||||||
pickerBox1.Size = new Size(120, 34);
|
pickerBox1.Size = new Size(128, 34);
|
||||||
pickerBox1.TabIndex = 174;
|
pickerBox1.TabIndex = 174;
|
||||||
pickerBox1.TabStop = false;
|
pickerBox1.TabStop = false;
|
||||||
//
|
//
|
||||||
@ -248,13 +255,11 @@ namespace RokettoLaunch
|
|||||||
pickerBox2.BackColor = Color.Transparent;
|
pickerBox2.BackColor = Color.Transparent;
|
||||||
pickerBox2.EnableReactiveVisual = true;
|
pickerBox2.EnableReactiveVisual = true;
|
||||||
pickerBox2.Font = new Font("Segoe UI", 9F);
|
pickerBox2.Font = new Font("Segoe UI", 9F);
|
||||||
pickerBox2.Location = new Point(289, 264);
|
pickerBox2.Location = new Point(285, 250);
|
||||||
pickerBox2.Name = "pickerBox2";
|
pickerBox2.Name = "pickerBox2";
|
||||||
pickerBox2.SelectedIndex = 0;
|
pickerBox2.Size = new Size(84, 34);
|
||||||
pickerBox2.Size = new Size(80, 34);
|
|
||||||
pickerBox2.TabIndex = 175;
|
pickerBox2.TabIndex = 175;
|
||||||
pickerBox2.TabStop = false;
|
pickerBox2.TabStop = false;
|
||||||
pickerBox2.Value = false;
|
|
||||||
//
|
//
|
||||||
// horizontalSeparator1
|
// horizontalSeparator1
|
||||||
//
|
//
|
||||||
@ -262,7 +267,7 @@ namespace RokettoLaunch
|
|||||||
horizontalSeparator1.AutoScrollMargin = new Size(0, 0);
|
horizontalSeparator1.AutoScrollMargin = new Size(0, 0);
|
||||||
horizontalSeparator1.AutoScrollMinSize = new Size(0, 0);
|
horizontalSeparator1.AutoScrollMinSize = new Size(0, 0);
|
||||||
horizontalSeparator1.BackColor = Color.Transparent;
|
horizontalSeparator1.BackColor = Color.Transparent;
|
||||||
horizontalSeparator1.Location = new Point(10, 187);
|
horizontalSeparator1.Location = new Point(10, 181);
|
||||||
horizontalSeparator1.Margin = new Padding(0, 10, 0, 0);
|
horizontalSeparator1.Margin = new Padding(0, 10, 0, 0);
|
||||||
horizontalSeparator1.MaximumSize = new Size(4920, 2);
|
horizontalSeparator1.MaximumSize = new Size(4920, 2);
|
||||||
horizontalSeparator1.MinimumSize = new Size(0, 22);
|
horizontalSeparator1.MinimumSize = new Size(0, 22);
|
||||||
@ -271,24 +276,29 @@ namespace RokettoLaunch
|
|||||||
horizontalSeparator1.TabIndex = 176;
|
horizontalSeparator1.TabIndex = 176;
|
||||||
horizontalSeparator1.TabStop = false;
|
horizontalSeparator1.TabStop = false;
|
||||||
//
|
//
|
||||||
// dialogFooter1
|
// horizontalSeparator2
|
||||||
//
|
//
|
||||||
dialogFooter1.BackColor = Color.FromArgb(240, 240, 240);
|
horizontalSeparator2.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
dialogFooter1.Button1Text = "&Save";
|
horizontalSeparator2.AutoScrollMargin = new Size(0, 0);
|
||||||
dialogFooter1.Dialog = this;
|
horizontalSeparator2.AutoScrollMinSize = new Size(0, 0);
|
||||||
dialogFooter1.Dock = DockStyle.Bottom;
|
horizontalSeparator2.BackColor = Color.Transparent;
|
||||||
dialogFooter1.Location = new Point(0, 437);
|
horizontalSeparator2.Location = new Point(10, 437);
|
||||||
dialogFooter1.Name = "dialogFooter1";
|
horizontalSeparator2.Margin = new Padding(0, 10, 0, 0);
|
||||||
dialogFooter1.Size = new Size(384, 84);
|
horizontalSeparator2.MaximumSize = new Size(4920, 2);
|
||||||
|
horizontalSeparator2.MinimumSize = new Size(0, 22);
|
||||||
|
horizontalSeparator2.Name = "horizontalSeparator2";
|
||||||
|
horizontalSeparator2.Size = new Size(364, 22);
|
||||||
|
horizontalSeparator2.TabIndex = 177;
|
||||||
|
horizontalSeparator2.TabStop = false;
|
||||||
//
|
//
|
||||||
// EditTileForm
|
// EditTileForm
|
||||||
//
|
//
|
||||||
BackColor = Color.White;
|
|
||||||
ClientSize = new Size(384, 521);
|
ClientSize = new Size(384, 521);
|
||||||
Controls.Add(dialogFooter1);
|
Controls.Add(horizontalSeparator2);
|
||||||
Controls.Add(horizontalSeparator1);
|
Controls.Add(horizontalSeparator1);
|
||||||
Controls.Add(pickerBox2);
|
Controls.Add(pickerBox2);
|
||||||
Controls.Add(pickerBox1);
|
Controls.Add(pickerBox1);
|
||||||
|
Controls.Add(button1);
|
||||||
Controls.Add(textBox4);
|
Controls.Add(textBox4);
|
||||||
Controls.Add(textBox3);
|
Controls.Add(textBox3);
|
||||||
Controls.Add(textBox2);
|
Controls.Add(textBox2);
|
||||||
@ -306,6 +316,7 @@ namespace RokettoLaunch
|
|||||||
PerformLayout();
|
PerformLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TileModel Result
|
public TileModel Result
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
2
MainForm.Designer.cs
generated
2
MainForm.Designer.cs
generated
@ -451,7 +451,7 @@ namespace RokettoLaunch
|
|||||||
// MainForm
|
// MainForm
|
||||||
//
|
//
|
||||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
BackColor = System.Drawing.Color.White;
|
BackColor = System.Drawing.Color.FromArgb(250, 250, 250);
|
||||||
BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||||
ClientSize = new System.Drawing.Size(404, 441);
|
ClientSize = new System.Drawing.Size(404, 441);
|
||||||
Controls.Add(panel1);
|
Controls.Add(panel1);
|
||||||
|
11
MainForm.cs
11
MainForm.cs
@ -8,7 +8,6 @@ using System.Windows.Forms;
|
|||||||
using RokettoLaunch.Models;
|
using RokettoLaunch.Models;
|
||||||
using RyzStudio;
|
using RyzStudio;
|
||||||
using RyzStudio.Windows.Forms;
|
using RyzStudio.Windows.Forms;
|
||||||
using RyzStudio.Windows.ThemedForms;
|
|
||||||
using RyzStudio.Windows.ThemedForms.ButtonTextBox;
|
using RyzStudio.Windows.ThemedForms.ButtonTextBox;
|
||||||
using RyzStudio.Windows.TileForms;
|
using RyzStudio.Windows.TileForms;
|
||||||
|
|
||||||
@ -424,7 +423,7 @@ namespace RokettoLaunch
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task<bool> fileSessionManager_OnLoadSession(FileSessionManager sender, string filename, int formatType)
|
private async Task<bool> fileSessionManager_OnLoadSession(FileSessionManager sender, string filename)
|
||||||
{
|
{
|
||||||
return await Task.Run(async () =>
|
return await Task.Run(async () =>
|
||||||
{
|
{
|
||||||
@ -446,7 +445,7 @@ namespace RokettoLaunch
|
|||||||
|
|
||||||
if (this.CurrentSession == null)
|
if (this.CurrentSession == null)
|
||||||
{
|
{
|
||||||
ThMessageBox.Show(this, "Unable to read session", "Load session");
|
MessageBox.Show("Unable to read session", "Load session");
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -480,7 +479,7 @@ namespace RokettoLaunch
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task<bool> fileSessionManager_OnSaveSession(FileSessionManager sender, string filename, int formatType, bool showNotices)
|
private async Task<bool> fileSessionManager_OnSaveSession(FileSessionManager sender, string filename, bool showNotices)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(filename))
|
if (string.IsNullOrWhiteSpace(filename))
|
||||||
{
|
{
|
||||||
@ -545,14 +544,14 @@ namespace RokettoLaunch
|
|||||||
{
|
{
|
||||||
if (showNotices)
|
if (showNotices)
|
||||||
{
|
{
|
||||||
ThMessageBox.Show(this, "Session saved!", "Save session", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show("Session saved!", "Save session", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (showNotices)
|
if (showNotices)
|
||||||
{
|
{
|
||||||
ThMessageBox.Show(this, "Session saved!", "Save session");
|
MessageBox.Show(result.Message, "Save session");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
77
NewForm.cs
77
NewForm.cs
@ -5,20 +5,21 @@ using RyzStudio.Windows.ThemedForms;
|
|||||||
|
|
||||||
namespace RokettoLaunch
|
namespace RokettoLaunch
|
||||||
{
|
{
|
||||||
public class NewForm : Form
|
public class NewForm : TDialog
|
||||||
{
|
{
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
|
private ThButton button1;
|
||||||
private ThNumericBox numericBox1;
|
private ThNumericBox numericBox1;
|
||||||
private ThNumericBox numericBox2;
|
private ThNumericBox numericBox2;
|
||||||
private RyzStudio.Windows.ThemedForms.Composite.DialogFooter dialogFooter1;
|
|
||||||
private Label label2;
|
private Label label2;
|
||||||
|
private RyzStudio.Windows.Forms.THorizontalSeparator tHorizontalSeparator1;
|
||||||
|
|
||||||
|
|
||||||
public NewForm()
|
public NewForm()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
UISetup.Dialog(this);
|
this.OkButton = button1;
|
||||||
|
|
||||||
numericBox1.Minimum = 4;
|
numericBox1.Minimum = 4;
|
||||||
numericBox1.Maximum = 24;
|
numericBox1.Maximum = 24;
|
||||||
@ -31,10 +32,11 @@ namespace RokettoLaunch
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
label1 = new Label();
|
label1 = new Label();
|
||||||
|
button1 = new ThButton();
|
||||||
|
tHorizontalSeparator1 = new THorizontalSeparator();
|
||||||
numericBox1 = new ThNumericBox();
|
numericBox1 = new ThNumericBox();
|
||||||
numericBox2 = new ThNumericBox();
|
numericBox2 = new ThNumericBox();
|
||||||
label2 = new Label();
|
label2 = new Label();
|
||||||
dialogFooter1 = new RyzStudio.Windows.ThemedForms.Composite.DialogFooter();
|
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
@ -42,25 +44,62 @@ namespace RokettoLaunch
|
|||||||
label1.AutoSize = true;
|
label1.AutoSize = true;
|
||||||
label1.BackColor = System.Drawing.Color.Transparent;
|
label1.BackColor = System.Drawing.Color.Transparent;
|
||||||
label1.ForeColor = System.Drawing.SystemColors.ControlText;
|
label1.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
label1.Location = new System.Drawing.Point(10, 20);
|
label1.Location = new System.Drawing.Point(10, 21);
|
||||||
label1.Margin = new Padding(0);
|
label1.Margin = new Padding(0);
|
||||||
label1.Name = "label1";
|
label1.Name = "label1";
|
||||||
label1.Padding = new Padding(0, 9, 0, 0);
|
label1.Padding = new Padding(0, 9, 0, 10);
|
||||||
label1.Size = new System.Drawing.Size(76, 24);
|
label1.Size = new System.Drawing.Size(76, 34);
|
||||||
label1.TabIndex = 153;
|
label1.TabIndex = 153;
|
||||||
label1.Text = "Tiles Per Row";
|
label1.Text = "Tiles Per Row";
|
||||||
label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
button1.AcceptButton = null;
|
||||||
|
button1.ActiveImage = null;
|
||||||
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
button1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
button1.EnableMenuOnClick = false;
|
||||||
|
button1.EnableReactiveVisual = true;
|
||||||
|
button1.HoverImage = null;
|
||||||
|
button1.IdleImage = null;
|
||||||
|
button1.LabelText = "&OK";
|
||||||
|
button1.Location = new System.Drawing.Point(241, 369);
|
||||||
|
button1.Margin = new Padding(10, 10, 10, 0);
|
||||||
|
button1.Name = "button1";
|
||||||
|
button1.Padding = new Padding(4, 4, 3, 3);
|
||||||
|
button1.Size = new System.Drawing.Size(128, 32);
|
||||||
|
button1.TabIndex = 173;
|
||||||
|
button1.TabStop = false;
|
||||||
|
//
|
||||||
|
// tHorizontalSeparator1
|
||||||
|
//
|
||||||
|
tHorizontalSeparator1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
tHorizontalSeparator1.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
||||||
|
tHorizontalSeparator1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
||||||
|
tHorizontalSeparator1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
tHorizontalSeparator1.Location = new System.Drawing.Point(10, 337);
|
||||||
|
tHorizontalSeparator1.Margin = new Padding(0, 10, 0, 0);
|
||||||
|
tHorizontalSeparator1.MaximumSize = new System.Drawing.Size(4920, 2);
|
||||||
|
tHorizontalSeparator1.MinimumSize = new System.Drawing.Size(0, 22);
|
||||||
|
tHorizontalSeparator1.Name = "tHorizontalSeparator1";
|
||||||
|
tHorizontalSeparator1.Size = new System.Drawing.Size(364, 22);
|
||||||
|
tHorizontalSeparator1.TabIndex = 188;
|
||||||
|
tHorizontalSeparator1.TabStop = false;
|
||||||
|
//
|
||||||
// numericBox1
|
// numericBox1
|
||||||
//
|
//
|
||||||
|
numericBox1.AcceptButton = null;
|
||||||
numericBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
numericBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
numericBox1.BackColor = System.Drawing.Color.Transparent;
|
numericBox1.BackColor = System.Drawing.Color.Transparent;
|
||||||
numericBox1.EnableReactiveVisual = true;
|
numericBox1.EnableReactiveVisual = true;
|
||||||
numericBox1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
numericBox1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||||
numericBox1.Location = new System.Drawing.Point(285, 20);
|
numericBox1.Location = new System.Drawing.Point(285, 20);
|
||||||
|
numericBox1.Margin = new Padding(10, 10, 10, 0);
|
||||||
numericBox1.Maximum = 100;
|
numericBox1.Maximum = 100;
|
||||||
numericBox1.Minimum = 1;
|
numericBox1.Minimum = 1;
|
||||||
numericBox1.Name = "numericBox1";
|
numericBox1.Name = "numericBox1";
|
||||||
|
numericBox1.Padding = new Padding(4, 4, 3, 3);
|
||||||
numericBox1.Size = new System.Drawing.Size(84, 32);
|
numericBox1.Size = new System.Drawing.Size(84, 32);
|
||||||
numericBox1.TabIndex = 189;
|
numericBox1.TabIndex = 189;
|
||||||
numericBox1.TabStop = false;
|
numericBox1.TabStop = false;
|
||||||
@ -68,14 +107,17 @@ namespace RokettoLaunch
|
|||||||
//
|
//
|
||||||
// numericBox2
|
// numericBox2
|
||||||
//
|
//
|
||||||
|
numericBox2.AcceptButton = null;
|
||||||
numericBox2.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
numericBox2.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
numericBox2.BackColor = System.Drawing.Color.Transparent;
|
numericBox2.BackColor = System.Drawing.Color.Transparent;
|
||||||
numericBox2.EnableReactiveVisual = true;
|
numericBox2.EnableReactiveVisual = true;
|
||||||
numericBox2.Font = new System.Drawing.Font("Segoe UI", 9F);
|
numericBox2.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||||
numericBox2.Location = new System.Drawing.Point(285, 63);
|
numericBox2.Location = new System.Drawing.Point(285, 62);
|
||||||
|
numericBox2.Margin = new Padding(10, 10, 10, 0);
|
||||||
numericBox2.Maximum = 100;
|
numericBox2.Maximum = 100;
|
||||||
numericBox2.Minimum = 1;
|
numericBox2.Minimum = 1;
|
||||||
numericBox2.Name = "numericBox2";
|
numericBox2.Name = "numericBox2";
|
||||||
|
numericBox2.Padding = new Padding(4, 4, 3, 3);
|
||||||
numericBox2.Size = new System.Drawing.Size(84, 32);
|
numericBox2.Size = new System.Drawing.Size(84, 32);
|
||||||
numericBox2.TabIndex = 191;
|
numericBox2.TabIndex = 191;
|
||||||
numericBox2.TabStop = false;
|
numericBox2.TabStop = false;
|
||||||
@ -89,32 +131,22 @@ namespace RokettoLaunch
|
|||||||
label2.Location = new System.Drawing.Point(10, 63);
|
label2.Location = new System.Drawing.Point(10, 63);
|
||||||
label2.Margin = new Padding(0);
|
label2.Margin = new Padding(0);
|
||||||
label2.Name = "label2";
|
label2.Name = "label2";
|
||||||
label2.Padding = new Padding(0, 9, 0, 0);
|
label2.Padding = new Padding(0, 9, 0, 10);
|
||||||
label2.Size = new System.Drawing.Size(106, 24);
|
label2.Size = new System.Drawing.Size(106, 34);
|
||||||
label2.TabIndex = 190;
|
label2.TabIndex = 190;
|
||||||
label2.Text = "Number of Groups";
|
label2.Text = "Number of Groups";
|
||||||
label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
// dialogFooter1
|
|
||||||
//
|
|
||||||
dialogFooter1.BackColor = System.Drawing.Color.FromArgb(240, 240, 240);
|
|
||||||
dialogFooter1.Button1Text = "&OK";
|
|
||||||
dialogFooter1.Dialog = this;
|
|
||||||
dialogFooter1.Dock = DockStyle.Bottom;
|
|
||||||
dialogFooter1.Location = new System.Drawing.Point(0, 337);
|
|
||||||
dialogFooter1.Name = "dialogFooter1";
|
|
||||||
dialogFooter1.Size = new System.Drawing.Size(384, 84);
|
|
||||||
//
|
|
||||||
// NewForm
|
// NewForm
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
BackColor = System.Drawing.Color.White;
|
|
||||||
ClientSize = new System.Drawing.Size(384, 421);
|
ClientSize = new System.Drawing.Size(384, 421);
|
||||||
Controls.Add(dialogFooter1);
|
|
||||||
Controls.Add(numericBox2);
|
Controls.Add(numericBox2);
|
||||||
Controls.Add(label2);
|
Controls.Add(label2);
|
||||||
Controls.Add(numericBox1);
|
Controls.Add(numericBox1);
|
||||||
|
Controls.Add(tHorizontalSeparator1);
|
||||||
|
Controls.Add(button1);
|
||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
MinimumSize = new System.Drawing.Size(400, 200);
|
MinimumSize = new System.Drawing.Size(400, 200);
|
||||||
Name = "NewForm";
|
Name = "NewForm";
|
||||||
@ -123,6 +155,7 @@ namespace RokettoLaunch
|
|||||||
PerformLayout();
|
PerformLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public NewFormModel Result
|
public NewFormModel Result
|
||||||
{
|
{
|
||||||
get => new NewFormModel()
|
get => new NewFormModel()
|
||||||
|
@ -9,13 +9,15 @@ using RyzStudio.Windows.ThemedForms.PickerBox;
|
|||||||
|
|
||||||
namespace RokettoLaunch
|
namespace RokettoLaunch
|
||||||
{
|
{
|
||||||
public class OptionsForm : Form
|
public class OptionsForm : TDialog
|
||||||
{
|
{
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
|
private ThButton button1;
|
||||||
private ThYesNoPickerBox yesNoPickerBox2;
|
private ThYesNoPickerBox yesNoPickerBox2;
|
||||||
private System.Windows.Forms.Label label6;
|
private System.Windows.Forms.Label label6;
|
||||||
private ThYesNoPickerBox yesNoPickerBox3;
|
private ThYesNoPickerBox yesNoPickerBox3;
|
||||||
private System.Windows.Forms.Label label7;
|
private System.Windows.Forms.Label label7;
|
||||||
|
private RyzStudio.Windows.Forms.THorizontalSeparator tHorizontalSeparator1;
|
||||||
private ThKeyCodeTextBox textBox1;
|
private ThKeyCodeTextBox textBox1;
|
||||||
private ThNumericBox numericBox1;
|
private ThNumericBox numericBox1;
|
||||||
private Label label4;
|
private Label label4;
|
||||||
@ -26,8 +28,6 @@ namespace RokettoLaunch
|
|||||||
private Label label2;
|
private Label label2;
|
||||||
private ThYesNoPickerBox yesNoPickerBox4;
|
private ThYesNoPickerBox yesNoPickerBox4;
|
||||||
private Label label3;
|
private Label label3;
|
||||||
private RyzStudio.Windows.ThemedForms.Composite.DialogFooter dialogFooter1;
|
|
||||||
|
|
||||||
|
|
||||||
private AppOptions _appSession = null;
|
private AppOptions _appSession = null;
|
||||||
|
|
||||||
@ -36,13 +36,13 @@ namespace RokettoLaunch
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
UISetup.Dialog(this);
|
this.OkButton = button1;
|
||||||
|
|
||||||
_appSession = appSession;
|
|
||||||
|
|
||||||
numericBox1.Minimum = 4;
|
numericBox1.Minimum = 4;
|
||||||
numericBox1.Maximum = 24;
|
numericBox1.Maximum = 24;
|
||||||
|
|
||||||
|
_appSession = appSession;
|
||||||
|
|
||||||
if (_appSession != null)
|
if (_appSession != null)
|
||||||
{
|
{
|
||||||
numericBox1.Value = _appSession.TilesPerRow;
|
numericBox1.Value = _appSession.TilesPerRow;
|
||||||
@ -56,12 +56,15 @@ namespace RokettoLaunch
|
|||||||
|
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionsForm));
|
||||||
ThKeyCodeTextBox.Results results1 = new ThKeyCodeTextBox.Results();
|
ThKeyCodeTextBox.Results results1 = new ThKeyCodeTextBox.Results();
|
||||||
label1 = new Label();
|
label1 = new Label();
|
||||||
|
button1 = new ThButton();
|
||||||
yesNoPickerBox2 = new ThYesNoPickerBox();
|
yesNoPickerBox2 = new ThYesNoPickerBox();
|
||||||
label6 = new Label();
|
label6 = new Label();
|
||||||
yesNoPickerBox3 = new ThYesNoPickerBox();
|
yesNoPickerBox3 = new ThYesNoPickerBox();
|
||||||
label7 = new Label();
|
label7 = new Label();
|
||||||
|
tHorizontalSeparator1 = new THorizontalSeparator();
|
||||||
textBox1 = new ThKeyCodeTextBox();
|
textBox1 = new ThKeyCodeTextBox();
|
||||||
numericBox1 = new ThNumericBox();
|
numericBox1 = new ThNumericBox();
|
||||||
label4 = new Label();
|
label4 = new Label();
|
||||||
@ -72,7 +75,6 @@ namespace RokettoLaunch
|
|||||||
tTogglePanel2 = new TTogglePanel();
|
tTogglePanel2 = new TTogglePanel();
|
||||||
yesNoPickerBox4 = new ThYesNoPickerBox();
|
yesNoPickerBox4 = new ThYesNoPickerBox();
|
||||||
label3 = new Label();
|
label3 = new Label();
|
||||||
dialogFooter1 = new RyzStudio.Windows.ThemedForms.Composite.DialogFooter();
|
|
||||||
flowLayoutPanel1.SuspendLayout();
|
flowLayoutPanel1.SuspendLayout();
|
||||||
tTogglePanel1.SuspendLayout();
|
tTogglePanel1.SuspendLayout();
|
||||||
tTogglePanel2.SuspendLayout();
|
tTogglePanel2.SuspendLayout();
|
||||||
@ -92,6 +94,25 @@ namespace RokettoLaunch
|
|||||||
label1.Text = "Show Toggle Hotkey";
|
label1.Text = "Show Toggle Hotkey";
|
||||||
label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
button1.AcceptButton = null;
|
||||||
|
button1.ActiveImage = null;
|
||||||
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
button1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
button1.EnableMenuOnClick = false;
|
||||||
|
button1.EnableReactiveVisual = true;
|
||||||
|
button1.HoverImage = null;
|
||||||
|
button1.IdleImage = null;
|
||||||
|
button1.LabelText = "&Save";
|
||||||
|
button1.Location = new System.Drawing.Point(301, 469);
|
||||||
|
button1.Margin = new Padding(10, 10, 10, 0);
|
||||||
|
button1.Name = "button1";
|
||||||
|
button1.Padding = new Padding(4, 4, 3, 3);
|
||||||
|
button1.Size = new System.Drawing.Size(128, 32);
|
||||||
|
button1.TabIndex = 173;
|
||||||
|
button1.TabStop = false;
|
||||||
|
//
|
||||||
// yesNoPickerBox2
|
// yesNoPickerBox2
|
||||||
//
|
//
|
||||||
yesNoPickerBox2.AcceptButton = null;
|
yesNoPickerBox2.AcceptButton = null;
|
||||||
@ -154,6 +175,21 @@ namespace RokettoLaunch
|
|||||||
label7.Text = "Hide On Execute";
|
label7.Text = "Hide On Execute";
|
||||||
label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
|
// tHorizontalSeparator1
|
||||||
|
//
|
||||||
|
tHorizontalSeparator1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
tHorizontalSeparator1.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
||||||
|
tHorizontalSeparator1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
||||||
|
tHorizontalSeparator1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
tHorizontalSeparator1.Location = new System.Drawing.Point(10, 437);
|
||||||
|
tHorizontalSeparator1.Margin = new Padding(0, 10, 0, 0);
|
||||||
|
tHorizontalSeparator1.MaximumSize = new System.Drawing.Size(4920, 2);
|
||||||
|
tHorizontalSeparator1.MinimumSize = new System.Drawing.Size(0, 22);
|
||||||
|
tHorizontalSeparator1.Name = "tHorizontalSeparator1";
|
||||||
|
tHorizontalSeparator1.Size = new System.Drawing.Size(424, 22);
|
||||||
|
tHorizontalSeparator1.TabIndex = 188;
|
||||||
|
tHorizontalSeparator1.TabStop = false;
|
||||||
|
//
|
||||||
// textBox1
|
// textBox1
|
||||||
//
|
//
|
||||||
textBox1.AcceptButton = null;
|
textBox1.AcceptButton = null;
|
||||||
@ -161,8 +197,6 @@ namespace RokettoLaunch
|
|||||||
textBox1.BackColor = System.Drawing.Color.Transparent;
|
textBox1.BackColor = System.Drawing.Color.Transparent;
|
||||||
textBox1.EnableReactiveVisual = true;
|
textBox1.EnableReactiveVisual = true;
|
||||||
textBox1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
textBox1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||||
textBox1.Icon = "O";
|
|
||||||
textBox1.IconSize = 13F;
|
|
||||||
results1.IsAlt = false;
|
results1.IsAlt = false;
|
||||||
results1.IsCtrl = false;
|
results1.IsCtrl = false;
|
||||||
results1.IsShift = false;
|
results1.IsShift = false;
|
||||||
@ -239,8 +273,6 @@ namespace RokettoLaunch
|
|||||||
tTogglePanel1.Margin = new Padding(0);
|
tTogglePanel1.Margin = new Padding(0);
|
||||||
tTogglePanel1.Name = "tTogglePanel1";
|
tTogglePanel1.Name = "tTogglePanel1";
|
||||||
tTogglePanel1.Padding = new Padding(0, 22, 0, 0);
|
tTogglePanel1.Padding = new Padding(0, 22, 0, 0);
|
||||||
tTogglePanel1.PaddingBottom = 0;
|
|
||||||
tTogglePanel1.PaddingLeft = 4;
|
|
||||||
tTogglePanel1.Size = new System.Drawing.Size(401, 119);
|
tTogglePanel1.Size = new System.Drawing.Size(401, 119);
|
||||||
tTogglePanel1.TabIndex = 0;
|
tTogglePanel1.TabIndex = 0;
|
||||||
tTogglePanel1.Title = "Appearance";
|
tTogglePanel1.Title = "Appearance";
|
||||||
@ -297,8 +329,6 @@ namespace RokettoLaunch
|
|||||||
tTogglePanel2.Margin = new Padding(0);
|
tTogglePanel2.Margin = new Padding(0);
|
||||||
tTogglePanel2.Name = "tTogglePanel2";
|
tTogglePanel2.Name = "tTogglePanel2";
|
||||||
tTogglePanel2.Padding = new Padding(0, 22, 0, 0);
|
tTogglePanel2.Padding = new Padding(0, 22, 0, 0);
|
||||||
tTogglePanel2.PaddingBottom = 0;
|
|
||||||
tTogglePanel2.PaddingLeft = 4;
|
|
||||||
tTogglePanel2.Size = new System.Drawing.Size(401, 206);
|
tTogglePanel2.Size = new System.Drawing.Size(401, 206);
|
||||||
tTogglePanel2.TabIndex = 1;
|
tTogglePanel2.TabIndex = 1;
|
||||||
tTogglePanel2.Title = "Behaviour";
|
tTogglePanel2.Title = "Behaviour";
|
||||||
@ -336,24 +366,14 @@ namespace RokettoLaunch
|
|||||||
label3.Text = "Always On Top";
|
label3.Text = "Always On Top";
|
||||||
label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
// dialogFooter1
|
|
||||||
//
|
|
||||||
dialogFooter1.BackColor = System.Drawing.Color.FromArgb(240, 240, 240);
|
|
||||||
dialogFooter1.Button1Text = "&Save";
|
|
||||||
dialogFooter1.Dialog = this;
|
|
||||||
dialogFooter1.Dock = DockStyle.Bottom;
|
|
||||||
dialogFooter1.Location = new System.Drawing.Point(0, 437);
|
|
||||||
dialogFooter1.Name = "dialogFooter1";
|
|
||||||
dialogFooter1.Size = new System.Drawing.Size(444, 84);
|
|
||||||
//
|
|
||||||
// OptionsForm
|
// OptionsForm
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
BackColor = System.Drawing.Color.White;
|
|
||||||
ClientSize = new System.Drawing.Size(444, 521);
|
ClientSize = new System.Drawing.Size(444, 521);
|
||||||
Controls.Add(dialogFooter1);
|
|
||||||
Controls.Add(flowLayoutPanel1);
|
Controls.Add(flowLayoutPanel1);
|
||||||
|
Controls.Add(tHorizontalSeparator1);
|
||||||
|
Controls.Add(button1);
|
||||||
MinimumSize = new System.Drawing.Size(460, 560);
|
MinimumSize = new System.Drawing.Size(460, 560);
|
||||||
Name = "OptionsForm";
|
Name = "OptionsForm";
|
||||||
Text = "Options";
|
Text = "Options";
|
||||||
@ -382,7 +402,6 @@ namespace RokettoLaunch
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AppOptions Result
|
public AppOptions Result
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -117,4 +117,25 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="textBox1.HighlightImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wQAADsEBuJFr7QAAAN5JREFUOE/tUzsKwkAUXLCyFMHjeIvdB4Gk8ALamU4rsbLaTWz0AOYGOYMewTqe
|
||||||
|
QLEQnZc8WRMSsBYHhrzPzJBin2pC60PPGLs3xl3Bp5DrHe9E1g2tHUH8QMjKmGReketyZkRWh9abfhTZ
|
||||||
|
YRimI4jWRPYSBMngkzzjHWtYyx6xK4X0Anz/7rcsxM4BdoxBTuTOqCdEaUyU6DrTuNqxxuXsEXsFDLfg
|
||||||
|
UdpOsIa10nr8A34p4CRtJ1jTGoC3PsPiBi78ETXplqzBwU3F5sHHgWWGJ3rHt+3tg+Uu84ek1AsYYd8q
|
||||||
|
EsfwCwAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="textBox1.NormalImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wQAADsEBuJFr7QAAANFJREFUOE/tkzEKAjEURANWliJ4HG+h9l5AO7fTSjyCxWpCIBB2b+AZ9AjW6wlc
|
||||||
|
LGSdWb9Elw1YiwOP/Pw/E1Ikqqksyzpa670x5goqgfWOM7HFhfAE5jvWNdYFkZq9sdg+laZp13vfBwOY
|
||||||
|
NjBfnHO9d9jjjB56mZG4UhgW4HXdbykkXl97iMYBnFFPrbUJGDVIOKOHXmYk/hSaW3CUbVT00CvboP8B
|
||||||
|
v3TASbZR0RM7YA5KsAT1J2phBUq8wpnEgvg5MMwxvGFte/uVzPLwkZR6AInAKK6aICfTAAAAAElFTkSu
|
||||||
|
QmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
@ -14,7 +14,7 @@
|
|||||||
<Copyright>Ray Lam</Copyright>
|
<Copyright>Ray Lam</Copyright>
|
||||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
<FileVersion>1.0.0.0</FileVersion>
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
<Version>0.3.4.163</Version>
|
<Version>0.3.3.038</Version>
|
||||||
<EnableNETAnalyzers>False</EnableNETAnalyzers>
|
<EnableNETAnalyzers>False</EnableNETAnalyzers>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<PackageIcon>icon-128.png</PackageIcon>
|
<PackageIcon>icon-128.png</PackageIcon>
|
||||||
@ -75,12 +75,11 @@
|
|||||||
<None Remove="build.bat" />
|
<None Remove="build.bat" />
|
||||||
<None Remove="installer-64.iss" />
|
<None Remove="installer-64.iss" />
|
||||||
<None Remove="installer-86.iss" />
|
<None Remove="installer-86.iss" />
|
||||||
<None Remove="MessageBoxForm.cs~RF23baea0b.TMP" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="RyzStudio" Version="8.1.2.249" />
|
<PackageReference Include="RyzStudio" Version="8.1.2.249" />
|
||||||
<PackageReference Include="RyzStudio.Windows.Forms" Version="8.1.3.614" />
|
<PackageReference Include="RyzStudio.Windows.Forms" Version="8.1.3.87" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
#define MyAppName "RokettoLaunch"
|
#define MyAppName "RokettoLaunch"
|
||||||
#define MyAppVersion "0.3.4.163"
|
#define MyAppVersion "0.3.0.153"
|
||||||
#define MyAppPublisher "Hi, I'm Ray"
|
#define MyAppPublisher "Hi, I'm Ray"
|
||||||
#define MyAppURL "https://www.hiimray.co.uk/software-fizzy-launcher"
|
#define MyAppURL "https://www.hiimray.co.uk/software-fizzy-launcher"
|
||||||
#define MyAppExeName "rokettolaunch.exe"
|
#define MyAppExeName "rokettolaunch.exe"
|
||||||
|
Reference in New Issue
Block a user