Changed: clean-up
This commit is contained in:
parent
7722340560
commit
c34e4f054b
@ -80,53 +80,47 @@
|
|||||||
<Compile Include="RyzStudio\Windows\Forms\ImageBox.cs">
|
<Compile Include="RyzStudio\Windows\Forms\ImageBox.cs">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\Button.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TButton.cs">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\Button.designer.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TButton.designer.cs">
|
||||||
<DependentUpon>Button.cs</DependentUpon>
|
<DependentUpon>TButton.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\DialogForm.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TDialogForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\DialogForm.Designer.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TDialogForm.Designer.cs">
|
||||||
<DependentUpon>DialogForm.cs</DependentUpon>
|
<DependentUpon>TDialogForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\BorderlessToolForm.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TListBox.cs">
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\BorderlessToolForm.Designer.cs">
|
|
||||||
<DependentUpon>BorderlessToolForm.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\Form.cs">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\Form.Designer.cs">
|
|
||||||
<DependentUpon>Form.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\PickerBox.cs">
|
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\PickerBox.designer.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TListBox.designer.cs">
|
||||||
<DependentUpon>PickerBox.cs</DependentUpon>
|
<DependentUpon>TListBox.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\TextBox.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TPickerBox.cs">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\TextBox.designer.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TPickerBox.designer.cs">
|
||||||
<DependentUpon>TextBox.cs</DependentUpon>
|
<DependentUpon>TPickerBox.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\TextButtonBox.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TTextBox.cs">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\TextButtonBox.designer.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TTextBox.designer.cs">
|
||||||
<DependentUpon>TextButtonBox.cs</DependentUpon>
|
<DependentUpon>TTextBox.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\UserControl.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TButtonTextBox.cs">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="RyzStudio\Windows\ThemedForms\UserControl.designer.cs">
|
<Compile Include="RyzStudio\Windows\ThemedForms\TButtonTextBox.designer.cs">
|
||||||
<DependentUpon>UserControl.cs</DependentUpon>
|
<DependentUpon>TButtonTextBox.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="RyzStudio\Windows\ThemedForms\TUserControl.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="RyzStudio\Windows\ThemedForms\TUserControl.designer.cs">
|
||||||
|
<DependentUpon>TUserControl.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Windows\Forms\Tile\AddListTileForm.cs">
|
<Compile Include="Windows\Forms\Tile\AddListTileForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
@ -183,26 +177,23 @@
|
|||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\Button.resx">
|
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\TButton.resx">
|
||||||
<DependentUpon>Button.cs</DependentUpon>
|
<DependentUpon>TButton.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\DialogForm.resx">
|
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\TDialogForm.resx">
|
||||||
<DependentUpon>DialogForm.cs</DependentUpon>
|
<DependentUpon>TDialogForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\BorderlessToolForm.resx">
|
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\TListBox.resx">
|
||||||
<DependentUpon>BorderlessToolForm.cs</DependentUpon>
|
<DependentUpon>TListBox.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\Form.resx">
|
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\TPickerBox.resx">
|
||||||
<DependentUpon>Form.cs</DependentUpon>
|
<DependentUpon>TPickerBox.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\PickerBox.resx">
|
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\TTextBox.resx">
|
||||||
<DependentUpon>PickerBox.cs</DependentUpon>
|
<DependentUpon>TTextBox.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\TextBox.resx">
|
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\TButtonTextBox.resx">
|
||||||
<DependentUpon>TextBox.cs</DependentUpon>
|
<DependentUpon>TButtonTextBox.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="RyzStudio\Windows\ThemedForms\TextButtonBox.resx">
|
|
||||||
<DependentUpon>TextButtonBox.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Windows\Forms\Tile\AddListTileForm.resx">
|
<EmbeddedResource Include="Windows\Forms\Tile\AddListTileForm.resx">
|
||||||
<DependentUpon>AddListTileForm.cs</DependentUpon>
|
<DependentUpon>AddListTileForm.cs</DependentUpon>
|
||||||
|
@ -259,7 +259,7 @@
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetValue(TextBox sender)
|
public string GetValue(TTextBox sender)
|
||||||
{
|
{
|
||||||
string rv = string.Empty;
|
string rv = string.Empty;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
public partial class Button : RyzStudio.Windows.ThemedForms.UserControl
|
public partial class TButton : RyzStudio.Windows.ThemedForms.TUserControl
|
||||||
{
|
{
|
||||||
public class Style
|
public class Style
|
||||||
{
|
{
|
||||||
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
protected State controlState = State.Idle;
|
protected State controlState = State.Idle;
|
||||||
|
|
||||||
public Button() : base()
|
public TButton() : base()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
namespace RyzStudio.Windows.ThemedForms
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
{
|
{
|
||||||
partial class Button
|
partial class TButton
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
@ -6,11 +6,11 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
public partial class ButtonTextBox : RyzStudio.Windows.ThemedForms.UserControl
|
public partial class TButtonTextBox : RyzStudio.Windows.ThemedForms.TUserControl
|
||||||
{
|
{
|
||||||
protected readonly Padding textboxPadding = new Padding(6, 6, 6, 6);
|
protected readonly Padding textboxPadding = new Padding(6, 6, 6, 6);
|
||||||
|
|
||||||
public ButtonTextBox() : base()
|
public TButtonTextBox() : base()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
@ -107,7 +107,7 @@
|
|||||||
|
|
||||||
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||||
[Category("Appearance")]
|
[Category("Appearance")]
|
||||||
public Button SubmitButton { get; set; } = null;
|
public TButton SubmitButton { get; set; } = null;
|
||||||
|
|
||||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||||
public new Padding Margin { get { return base.Margin; } set { base.Margin = value; } }
|
public new Padding Margin { get { return base.Margin; } set { base.Margin = value; } }
|
@ -1,6 +1,6 @@
|
|||||||
namespace RyzStudio.Windows.ThemedForms
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
{
|
{
|
||||||
partial class ButtonTextBox
|
partial class TButtonTextBox
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
@ -1,6 +1,6 @@
|
|||||||
namespace RyzStudio.Windows.ThemedForms
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
{
|
{
|
||||||
partial class DialogForm
|
partial class TDialogForm
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
@ -7,7 +7,7 @@
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Resources = AppLauncher.Properties.Resources;
|
using Resources = AppLauncher.Properties.Resources;
|
||||||
|
|
||||||
public partial class DialogForm : System.Windows.Forms.Form
|
public partial class TDialogForm : System.Windows.Forms.Form
|
||||||
{
|
{
|
||||||
protected bool isBusy = false;
|
protected bool isBusy = false;
|
||||||
|
|
||||||
@ -19,7 +19,7 @@
|
|||||||
private Point windowOffset = new Point();
|
private Point windowOffset = new Point();
|
||||||
private Point windowSize = new Point();
|
private Point windowSize = new Point();
|
||||||
|
|
||||||
public DialogForm() : base()
|
public TDialogForm() : base()
|
||||||
{
|
{
|
||||||
this.InitializeComponent();
|
this.InitializeComponent();
|
||||||
|
|
||||||
@ -187,7 +187,7 @@
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetValue(TextBox sender)
|
public string GetValue(TTextBox sender)
|
||||||
{
|
{
|
||||||
string rv = string.Empty;
|
string rv = string.Empty;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
namespace RyzStudio.Windows.ThemedForms
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
{
|
{
|
||||||
partial class Form
|
partial class TForm
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
@ -5,7 +5,7 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
public partial class Form : System.Windows.Forms.Form
|
public partial class TForm : System.Windows.Forms.Form
|
||||||
{
|
{
|
||||||
protected Color topFillColour = Color.FromArgb(15, 15, 15);
|
protected Color topFillColour = Color.FromArgb(15, 15, 15);
|
||||||
protected int topFillHeight = 52;
|
protected int topFillHeight = 52;
|
||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
protected int borderWidth = 1;
|
protected int borderWidth = 1;
|
||||||
|
|
||||||
public Form()
|
public TForm()
|
||||||
{
|
{
|
||||||
this.InitializeComponent();
|
this.InitializeComponent();
|
||||||
|
|
||||||
@ -138,7 +138,7 @@
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetValue(TextBox sender)
|
public string GetValue(TTextBox sender)
|
||||||
{
|
{
|
||||||
string rv = string.Empty;
|
string rv = string.Empty;
|
||||||
|
|
@ -6,11 +6,11 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
public partial class PickerBox : RyzStudio.Windows.ThemedForms.UserControl
|
public partial class TListBox : RyzStudio.Windows.ThemedForms.TUserControl
|
||||||
{
|
{
|
||||||
protected readonly Padding textboxPadding = new Padding(6, 2, 4, 2);
|
protected readonly Padding textboxPadding = new Padding(6, 2, 4, 2);
|
||||||
|
|
||||||
public PickerBox() : base()
|
public TListBox() : base()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||||
[Category("Appearance")]
|
[Category("Appearance")]
|
||||||
public Button SubmitButton { get; set; } = null;
|
public TButton SubmitButton { get; set; } = null;
|
||||||
|
|
||||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||||
public new Padding Margin { get => base.Margin; set => base.Margin = value; }
|
public new Padding Margin { get => base.Margin; set => base.Margin = value; }
|
@ -1,6 +1,6 @@
|
|||||||
namespace RyzStudio.Windows.ThemedForms
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
{
|
{
|
||||||
partial class PickerBox
|
partial class TListBox
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
98
RyzStudio/Windows/ThemedForms/TPickerBox.cs
Normal file
98
RyzStudio/Windows/ThemedForms/TPickerBox.cs
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
|
{
|
||||||
|
using RyzStudio.Drawing;
|
||||||
|
using System;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
public partial class TPickerBox : RyzStudio.Windows.ThemedForms.TUserControl
|
||||||
|
{
|
||||||
|
protected readonly Padding textboxPadding = new Padding(6, 2, 4, 2);
|
||||||
|
|
||||||
|
public TPickerBox() : base()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
this.Font = new Font(this.Font, FontStyle.Regular);
|
||||||
|
this.Margin = new Padding(10, 4, 10, 4);
|
||||||
|
|
||||||
|
comboBox1.Font = this.Font;
|
||||||
|
comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||||
|
comboBox1.PreviewKeyDown += textBox_PreviewKeyDown;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnResize(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnResize(e);
|
||||||
|
|
||||||
|
int b = (styleActive.BorderWidth + 1) + styleActive.BorderPadding;
|
||||||
|
|
||||||
|
this.Height = comboBox1.Height + (b + textboxPadding.Top) + ((b - 1) + textboxPadding.Bottom);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnGotFocus(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnGotFocus(e);
|
||||||
|
|
||||||
|
comboBox1.Focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void textBox_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
|
||||||
|
{
|
||||||
|
switch (e.KeyCode)
|
||||||
|
{
|
||||||
|
case Keys.Enter:
|
||||||
|
if (this.SubmitButton != null)
|
||||||
|
{
|
||||||
|
this.SubmitButton.PerformClick();
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
case Keys.Escape:
|
||||||
|
close();
|
||||||
|
break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||||
|
[Category("Appearance")]
|
||||||
|
public System.Windows.Forms.ComboBox ComboBox { get => comboBox1; set => comboBox1 = value; }
|
||||||
|
|
||||||
|
//[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||||
|
//[Category("Appearance")]
|
||||||
|
//public new string Text
|
||||||
|
//{
|
||||||
|
// get => textBox1.Text;
|
||||||
|
// set
|
||||||
|
// {
|
||||||
|
// textBox1.Text = value;
|
||||||
|
// textBox1.SelectionStart = textBox1.Text.Length;
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
||||||
|
//[Browsable(true)]
|
||||||
|
//[Category("Appearance")]
|
||||||
|
//public ComboBox.ObjectCollection Items { get => comboBox1.Items; set => comboBox1.Items = value; }
|
||||||
|
|
||||||
|
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||||
|
[Category("Appearance")]
|
||||||
|
public TButton SubmitButton { get; set; } = null;
|
||||||
|
|
||||||
|
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||||
|
public new Padding Margin { get => base.Margin; set => base.Margin = value; }
|
||||||
|
|
||||||
|
protected override void updateBackground(Graphics g, Style style)
|
||||||
|
{
|
||||||
|
int b = (styleActive.BorderWidth + 1) + styleActive.BorderPadding;
|
||||||
|
|
||||||
|
this.Padding = new Padding((b + textboxPadding.Left), (b + textboxPadding.Top), ((b - 1) + textboxPadding.Right), ((b - 1) + textboxPadding.Bottom));
|
||||||
|
|
||||||
|
Rectangoid area = new Rectangoid(this.ClientRectangle, style.BorderRadius, style.BorderWidth);
|
||||||
|
g.FillPath(new SolidBrush(style.BackColour), area.ToGraphicsPath());
|
||||||
|
g.DrawPath(new Pen(new SolidBrush(style.BorderColour), style.BorderWidth), area.ToGraphicsPath());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
59
RyzStudio/Windows/ThemedForms/TPickerBox.designer.cs
generated
Normal file
59
RyzStudio/Windows/ThemedForms/TPickerBox.designer.cs
generated
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
|
{
|
||||||
|
partial class TPickerBox
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Component Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// comboBox1
|
||||||
|
//
|
||||||
|
this.comboBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.comboBox1.FormattingEnabled = true;
|
||||||
|
this.comboBox1.Location = new System.Drawing.Point(4, 4);
|
||||||
|
this.comboBox1.Name = "comboBox1";
|
||||||
|
this.comboBox1.Size = new System.Drawing.Size(121, 21);
|
||||||
|
this.comboBox1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// PickerBox
|
||||||
|
//
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
|
this.Controls.Add(this.comboBox1);
|
||||||
|
this.Name = "PickerBox";
|
||||||
|
this.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||||
|
this.Size = new System.Drawing.Size(128, 32);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.ComboBox comboBox1;
|
||||||
|
}
|
||||||
|
}
|
@ -6,11 +6,11 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
public partial class TextBox : RyzStudio.Windows.ThemedForms.UserControl
|
public partial class TTextBox : RyzStudio.Windows.ThemedForms.TUserControl
|
||||||
{
|
{
|
||||||
protected readonly Padding textboxPadding = new Padding(6, 6, 6, 6);
|
protected readonly Padding textboxPadding = new Padding(6, 6, 6, 6);
|
||||||
|
|
||||||
public TextBox() : base()
|
public TTextBox() : base()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||||
[Category("Appearance")]
|
[Category("Appearance")]
|
||||||
public Button SubmitButton { get; set; } = null;
|
public TButton SubmitButton { get; set; } = null;
|
||||||
|
|
||||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||||
public new Padding Margin { get { return base.Margin; } set { base.Margin = value; } }
|
public new Padding Margin { get { return base.Margin; } set { base.Margin = value; } }
|
@ -1,6 +1,6 @@
|
|||||||
namespace RyzStudio.Windows.ThemedForms
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
{
|
{
|
||||||
partial class TextBox
|
partial class TTextBox
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
120
RyzStudio/Windows/ThemedForms/TTextBox.resx
Normal file
120
RyzStudio/Windows/ThemedForms/TTextBox.resx
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
@ -6,7 +6,7 @@ using System.ComponentModel;
|
|||||||
|
|
||||||
namespace RyzStudio.Windows.ThemedForms
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
{
|
{
|
||||||
public partial class UserControl : System.Windows.Forms.UserControl
|
public partial class TUserControl : System.Windows.Forms.UserControl
|
||||||
{
|
{
|
||||||
public class Style
|
public class Style
|
||||||
{
|
{
|
||||||
@ -40,7 +40,7 @@ namespace RyzStudio.Windows.ThemedForms
|
|||||||
|
|
||||||
protected Style styleActive = new Style(1, 3, 2, Color.FromArgb(212, 212, 212), Color.White);
|
protected Style styleActive = new Style(1, 3, 2, Color.FromArgb(212, 212, 212), Color.White);
|
||||||
|
|
||||||
public UserControl()
|
public TUserControl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
namespace RyzStudio.Windows.ThemedForms
|
namespace RyzStudio.Windows.ThemedForms
|
||||||
{
|
{
|
||||||
partial class UserControl
|
partial class TUserControl
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
@ -4,7 +4,7 @@ using System;
|
|||||||
|
|
||||||
namespace AppLauncher.Windows.Forms
|
namespace AppLauncher.Windows.Forms
|
||||||
{
|
{
|
||||||
public class AddListTileForm : DialogForm
|
public class AddListTileForm : TDialogForm
|
||||||
{
|
{
|
||||||
public static void ShowDialog(TileLayoutPanel panel)
|
public static void ShowDialog(TileLayoutPanel panel)
|
||||||
{
|
{
|
||||||
@ -13,9 +13,9 @@ namespace AppLauncher.Windows.Forms
|
|||||||
}
|
}
|
||||||
|
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private Button button1;
|
private TButton button1;
|
||||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator1;
|
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator1;
|
||||||
private TextBox textBox1;
|
private TTextBox textBox1;
|
||||||
protected TileLayoutPanel parentPanel = null;
|
protected TileLayoutPanel parentPanel = null;
|
||||||
|
|
||||||
public AddListTileForm() : base()
|
public AddListTileForm() : base()
|
||||||
@ -33,12 +33,12 @@ namespace AppLauncher.Windows.Forms
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddListTileForm));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddListTileForm));
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style4 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style4 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style5 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style5 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style6 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style6 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TextBox();
|
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.button1 = new RyzStudio.Windows.ThemedForms.Button();
|
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||||
this.horizontalSeparator1 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
this.horizontalSeparator1 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace AppLauncher.Windows.Forms
|
namespace AppLauncher.Windows.Forms
|
||||||
{
|
{
|
||||||
public class AddTileForm : DialogForm
|
public class AddTileForm : TDialogForm
|
||||||
{
|
{
|
||||||
public static void ShowDialog(TileLayoutPanel panel)
|
public static void ShowDialog(TileLayoutPanel panel)
|
||||||
{
|
{
|
||||||
@ -23,15 +23,15 @@ namespace AppLauncher.Windows.Forms
|
|||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private ButtonTextBox textBox2;
|
private TButtonTextBox textBox2;
|
||||||
private TextBox textBox3;
|
private TTextBox textBox3;
|
||||||
private ButtonTextBox textBox4;
|
private TButtonTextBox textBox4;
|
||||||
private Button button1;
|
private TButton button1;
|
||||||
private PickerBox pickerBox1;
|
private TPickerBox pickerBox1;
|
||||||
private PickerBox pickerBox2;
|
private TPickerBox pickerBox2;
|
||||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator1;
|
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator1;
|
||||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
||||||
private TextBox textBox1;
|
private TTextBox textBox1;
|
||||||
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
|
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
|
||||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||||
protected TileLayoutPanel parentPanel = null;
|
protected TileLayoutPanel parentPanel = null;
|
||||||
@ -53,22 +53,22 @@ namespace AppLauncher.Windows.Forms
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddTileForm));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddTileForm));
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style1 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style1 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style2 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style2 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style3 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style3 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TextBox();
|
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
this.label7 = new System.Windows.Forms.Label();
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.textBox2 = new RyzStudio.Windows.ThemedForms.ButtonTextBox();
|
this.textBox2 = new RyzStudio.Windows.ThemedForms.TButtonTextBox();
|
||||||
this.textBox3 = new RyzStudio.Windows.ThemedForms.TextBox();
|
this.textBox3 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||||
this.textBox4 = new RyzStudio.Windows.ThemedForms.ButtonTextBox();
|
this.textBox4 = new RyzStudio.Windows.ThemedForms.TButtonTextBox();
|
||||||
this.button1 = new RyzStudio.Windows.ThemedForms.Button();
|
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||||
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.PickerBox();
|
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||||
this.pickerBox2 = new RyzStudio.Windows.ThemedForms.PickerBox();
|
this.pickerBox2 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||||
this.horizontalSeparator1 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
this.horizontalSeparator1 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||||
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||||
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
|
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
|
||||||
|
@ -4,13 +4,13 @@ using System;
|
|||||||
|
|
||||||
namespace AppLauncher.Windows.Forms
|
namespace AppLauncher.Windows.Forms
|
||||||
{
|
{
|
||||||
public class EditGroupForm : DialogForm
|
public class EditGroupForm : TDialogForm
|
||||||
{
|
{
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private Button button1;
|
private TButton button1;
|
||||||
private PickerBox pickerBox1;
|
private TPickerBox pickerBox1;
|
||||||
private TextBox textBox1;
|
private TTextBox textBox1;
|
||||||
protected TileLayoutContainer parentContainer = null;
|
protected TileLayoutContainer parentContainer = null;
|
||||||
|
|
||||||
public EditGroupForm() : base()
|
public EditGroupForm() : base()
|
||||||
@ -30,11 +30,11 @@ namespace AppLauncher.Windows.Forms
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditGroupForm));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditGroupForm));
|
||||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TextBox();
|
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.button1 = new RyzStudio.Windows.ThemedForms.Button();
|
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||||
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.PickerBox();
|
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
|
@ -4,7 +4,7 @@ using System;
|
|||||||
|
|
||||||
namespace AppLauncher.Windows.Forms
|
namespace AppLauncher.Windows.Forms
|
||||||
{
|
{
|
||||||
public class EditListTileForm : DialogForm
|
public class EditListTileForm : TDialogForm
|
||||||
{
|
{
|
||||||
public static void ShowDialog(TilePanel panel)
|
public static void ShowDialog(TilePanel panel)
|
||||||
{
|
{
|
||||||
@ -13,9 +13,10 @@ namespace AppLauncher.Windows.Forms
|
|||||||
}
|
}
|
||||||
|
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private Button button1;
|
private TButton button1;
|
||||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
||||||
private TextBox textBox1;
|
private TTextBox textBox1;
|
||||||
|
private TPickerBox pickerBox1;
|
||||||
protected TilePanel parentPanel = null;
|
protected TilePanel parentPanel = null;
|
||||||
|
|
||||||
public EditListTileForm() : base()
|
public EditListTileForm() : base()
|
||||||
@ -33,13 +34,14 @@ namespace AppLauncher.Windows.Forms
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditListTileForm));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditListTileForm));
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style4 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style1 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style5 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style2 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
RyzStudio.Windows.ThemedForms.Button.Style style6 = new RyzStudio.Windows.ThemedForms.Button.Style();
|
RyzStudio.Windows.ThemedForms.TButton.Style style3 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TextBox();
|
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.button1 = new RyzStudio.Windows.ThemedForms.Button();
|
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||||
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||||
|
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
@ -101,18 +103,18 @@ namespace AppLauncher.Windows.Forms
|
|||||||
this.button1.OverImage = null;
|
this.button1.OverImage = null;
|
||||||
this.button1.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
this.button1.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||||
this.button1.Size = new System.Drawing.Size(128, 32);
|
this.button1.Size = new System.Drawing.Size(128, 32);
|
||||||
style4.BackColour = System.Drawing.Color.White;
|
style1.BackColour = System.Drawing.Color.White;
|
||||||
style4.ForeImage = null;
|
style1.ForeImage = null;
|
||||||
style4.PenColour = System.Drawing.Color.Black;
|
style1.PenColour = System.Drawing.Color.Black;
|
||||||
this.button1.StyleDefault = style4;
|
this.button1.StyleDefault = style1;
|
||||||
style5.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
style2.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||||
style5.ForeImage = null;
|
style2.ForeImage = null;
|
||||||
style5.PenColour = System.Drawing.Color.Black;
|
style2.PenColour = System.Drawing.Color.Black;
|
||||||
this.button1.StyleDown = style5;
|
this.button1.StyleDown = style2;
|
||||||
style6.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
style3.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||||
style6.ForeImage = null;
|
style3.ForeImage = null;
|
||||||
style6.PenColour = System.Drawing.Color.White;
|
style3.PenColour = System.Drawing.Color.White;
|
||||||
this.button1.StyleOver = style6;
|
this.button1.StyleOver = style3;
|
||||||
this.button1.TabIndex = 173;
|
this.button1.TabIndex = 173;
|
||||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
//
|
//
|
||||||
@ -126,9 +128,24 @@ namespace AppLauncher.Windows.Forms
|
|||||||
this.horizontalSeparator2.Size = new System.Drawing.Size(380, 2);
|
this.horizontalSeparator2.Size = new System.Drawing.Size(380, 2);
|
||||||
this.horizontalSeparator2.TabIndex = 177;
|
this.horizontalSeparator2.TabIndex = 177;
|
||||||
//
|
//
|
||||||
|
// pickerBox1
|
||||||
|
//
|
||||||
|
this.pickerBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.pickerBox1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.pickerBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||||
|
this.pickerBox1.Location = new System.Drawing.Point(159, 173);
|
||||||
|
this.pickerBox1.Margin = new System.Windows.Forms.Padding(10, 4, 10, 4);
|
||||||
|
this.pickerBox1.Name = "pickerBox1";
|
||||||
|
this.pickerBox1.Padding = new System.Windows.Forms.Padding(10, 6, 7, 5);
|
||||||
|
this.pickerBox1.Size = new System.Drawing.Size(220, 32);
|
||||||
|
this.pickerBox1.SubmitButton = null;
|
||||||
|
this.pickerBox1.TabIndex = 178;
|
||||||
|
//
|
||||||
// EditListTileForm
|
// EditListTileForm
|
||||||
//
|
//
|
||||||
this.ClientSize = new System.Drawing.Size(400, 480);
|
this.ClientSize = new System.Drawing.Size(400, 480);
|
||||||
|
this.Controls.Add(this.pickerBox1);
|
||||||
this.Controls.Add(this.horizontalSeparator2);
|
this.Controls.Add(this.horizontalSeparator2);
|
||||||
this.Controls.Add(this.button1);
|
this.Controls.Add(this.button1);
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
@ -143,6 +160,7 @@ namespace AppLauncher.Windows.Forms
|
|||||||
this.Controls.SetChildIndex(this.label1, 0);
|
this.Controls.SetChildIndex(this.label1, 0);
|
||||||
this.Controls.SetChildIndex(this.button1, 0);
|
this.Controls.SetChildIndex(this.button1, 0);
|
||||||
this.Controls.SetChildIndex(this.horizontalSeparator2, 0);
|
this.Controls.SetChildIndex(this.horizontalSeparator2, 0);
|
||||||
|
this.Controls.SetChildIndex(this.pickerBox1, 0);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ using System.IO;
|
|||||||
|
|
||||||
namespace AppLauncher.Windows.Forms
|
namespace AppLauncher.Windows.Forms
|
||||||
{
|
{
|
||||||
public class EditTileForm : DialogForm
|
public class EditTileForm : TDialogForm
|
||||||
{
|
{
|
||||||
public static void ShowDialog(TilePanel panel)
|
public static void ShowDialog(TilePanel panel)
|
||||||
{
|
{
|
||||||
@ -19,15 +19,15 @@ namespace AppLauncher.Windows.Forms
|
|||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private ButtonTextBox textBox2;
|
private TButtonTextBox textBox2;
|
||||||
private TextBox textBox3;
|
private TTextBox textBox3;
|
||||||
private ButtonTextBox textBox4;
|
private TButtonTextBox textBox4;
|
||||||
private Button button1;
|
private TButton button1;
|
||||||
private PickerBox pickerBox1;
|
private TPickerBox pickerBox1;
|
||||||
private PickerBox pickerBox2;
|
private TPickerBox pickerBox2;
|
||||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator1;
|
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator1;
|
||||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
||||||
private TextBox textBox1;
|
private TTextBox textBox1;
|
||||||
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
|
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
|
||||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||||
protected TilePanel parentPanel = null;
|
protected TilePanel parentPanel = null;
|
||||||
@ -49,19 +49,19 @@ namespace AppLauncher.Windows.Forms
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditTileForm));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditTileForm));
|
||||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TextBox();
|
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
this.label7 = new System.Windows.Forms.Label();
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.textBox2 = new RyzStudio.Windows.ThemedForms.ButtonTextBox();
|
this.textBox2 = new RyzStudio.Windows.ThemedForms.TButtonTextBox();
|
||||||
this.textBox3 = new RyzStudio.Windows.ThemedForms.TextBox();
|
this.textBox3 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||||
this.textBox4 = new RyzStudio.Windows.ThemedForms.ButtonTextBox();
|
this.textBox4 = new RyzStudio.Windows.ThemedForms.TButtonTextBox();
|
||||||
this.button1 = new RyzStudio.Windows.ThemedForms.Button();
|
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||||
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.PickerBox();
|
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||||
this.pickerBox2 = new RyzStudio.Windows.ThemedForms.PickerBox();
|
this.pickerBox2 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||||
this.horizontalSeparator1 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
this.horizontalSeparator1 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||||
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||||
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
|
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
|
||||||
|
Reference in New Issue
Block a user