Archived
WIP: themed controls
This commit is contained in:
1 parent
c34e4f054b
commit
5ad779ddab
37 files changed
+1609
-435
No files matched your search
@@ -33,9 +33,9 @@ namespace AppLauncher.Windows.Forms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddListTileForm));
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style4 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style5 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style6 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle style4 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle style5 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle style6 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||
|
||||
@@ -23,17 +23,15 @@ namespace AppLauncher.Windows.Forms
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private TButtonTextBox textBox2;
|
||||
private TOpenFileTextBox textBox2;
|
||||
private TTextBox textBox3;
|
||||
private TButtonTextBox textBox4;
|
||||
private TFolderTextBox textBox4;
|
||||
private TButton button1;
|
||||
private TPickerBox pickerBox1;
|
||||
private TPickerBox pickerBox2;
|
||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator1;
|
||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
||||
private TTextBox textBox1;
|
||||
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
|
||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||
protected TileLayoutPanel parentPanel = null;
|
||||
|
||||
public AddTileForm() : base()
|
||||
@@ -53,9 +51,9 @@ namespace AppLauncher.Windows.Forms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddTileForm));
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style1 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style2 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style3 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle1 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle2 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle3 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
@@ -63,41 +61,39 @@ namespace AppLauncher.Windows.Forms
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new RyzStudio.Windows.ThemedForms.TButtonTextBox();
|
||||
this.textBox2 = new RyzStudio.Windows.ThemedForms.TOpenFileTextBox();
|
||||
this.textBox3 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||
this.textBox4 = new RyzStudio.Windows.ThemedForms.TButtonTextBox();
|
||||
this.textBox4 = new RyzStudio.Windows.ThemedForms.TFolderTextBox();
|
||||
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||
this.pickerBox2 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||
this.horizontalSeparator1 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
//
|
||||
// imgbxClose
|
||||
//
|
||||
//
|
||||
this.imgbxClose.Image = ((System.Drawing.Image)(resources.GetObject("imgbxClose.Image")));
|
||||
this.imgbxClose.Location = new System.Drawing.Point(367, 5);
|
||||
//
|
||||
//
|
||||
// lblDescription
|
||||
//
|
||||
//
|
||||
this.lblDescription.Size = new System.Drawing.Size(359, 30);
|
||||
this.lblDescription.Text = "Add Tile";
|
||||
//
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
//
|
||||
this.panel1.Location = new System.Drawing.Point(394, 474);
|
||||
//
|
||||
//
|
||||
// area1
|
||||
//
|
||||
//
|
||||
this.area1.Location = new System.Drawing.Point(1, 474);
|
||||
this.area1.Size = new System.Drawing.Size(392, 5);
|
||||
//
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
//
|
||||
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
@@ -109,9 +105,9 @@ namespace AppLauncher.Windows.Forms
|
||||
this.textBox1.SubmitButton = null;
|
||||
this.textBox1.TabIndex = 152;
|
||||
this.textBox1.UseSystemPasswordChar = false;
|
||||
//
|
||||
//
|
||||
// label6
|
||||
//
|
||||
//
|
||||
this.label6.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(99)))), ((int)(((byte)(104)))));
|
||||
this.label6.Location = new System.Drawing.Point(18, 268);
|
||||
@@ -120,9 +116,9 @@ namespace AppLauncher.Windows.Forms
|
||||
this.label6.TabIndex = 163;
|
||||
this.label6.Text = "Run As Admin";
|
||||
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
//
|
||||
// label7
|
||||
//
|
||||
//
|
||||
this.label7.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(99)))), ((int)(((byte)(104)))));
|
||||
this.label7.Location = new System.Drawing.Point(18, 227);
|
||||
@@ -131,9 +127,9 @@ namespace AppLauncher.Windows.Forms
|
||||
this.label7.TabIndex = 161;
|
||||
this.label7.Text = "Window Style";
|
||||
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
//
|
||||
// label4
|
||||
//
|
||||
//
|
||||
this.label4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(99)))), ((int)(((byte)(104)))));
|
||||
this.label4.Location = new System.Drawing.Point(18, 173);
|
||||
@@ -142,9 +138,9 @@ namespace AppLauncher.Windows.Forms
|
||||
this.label4.TabIndex = 159;
|
||||
this.label4.Text = "Working Directory";
|
||||
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
//
|
||||
// label3
|
||||
//
|
||||
//
|
||||
this.label3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(99)))), ((int)(((byte)(104)))));
|
||||
this.label3.Location = new System.Drawing.Point(18, 132);
|
||||
@@ -153,9 +149,9 @@ namespace AppLauncher.Windows.Forms
|
||||
this.label3.TabIndex = 157;
|
||||
this.label3.Text = "Argument";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
//
|
||||
// label2
|
||||
//
|
||||
//
|
||||
this.label2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(99)))), ((int)(((byte)(104)))));
|
||||
this.label2.Location = new System.Drawing.Point(18, 91);
|
||||
@@ -164,9 +160,9 @@ namespace AppLauncher.Windows.Forms
|
||||
this.label2.TabIndex = 155;
|
||||
this.label2.Text = "Filename";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
//
|
||||
// label1
|
||||
//
|
||||
//
|
||||
this.label1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(99)))), ((int)(((byte)(104)))));
|
||||
this.label1.Location = new System.Drawing.Point(18, 50);
|
||||
@@ -176,28 +172,28 @@ namespace AppLauncher.Windows.Forms
|
||||
this.label1.TabIndex = 153;
|
||||
this.label1.Text = "Title";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
//
|
||||
this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.textBox2.FileDialog = null;
|
||||
this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.textBox2.HighlightImage = global::AppLauncher.Properties.Resources.button16_file_add2;
|
||||
this.textBox2.HighlightImage = ((System.Drawing.Image)(resources.GetObject("textBox2.HighlightImage")));
|
||||
this.textBox2.Location = new System.Drawing.Point(159, 91);
|
||||
this.textBox2.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.NormalImage = global::AppLauncher.Properties.Resources.button16_file_add;
|
||||
this.textBox2.NormalImage = ((System.Drawing.Image)(resources.GetObject("textBox2.NormalImage")));
|
||||
this.textBox2.Padding = new System.Windows.Forms.Padding(10, 10, 9, 9);
|
||||
this.textBox2.Size = new System.Drawing.Size(220, 32);
|
||||
this.textBox2.SubmitButton = null;
|
||||
this.textBox2.TabIndex = 170;
|
||||
this.textBox2.UseSystemPasswordChar = false;
|
||||
this.textBox2.OnButtonClick += new System.EventHandler(this.textBox2_OnButtonClick);
|
||||
//
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
//
|
||||
this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.textBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
@@ -209,27 +205,27 @@ namespace AppLauncher.Windows.Forms
|
||||
this.textBox3.SubmitButton = null;
|
||||
this.textBox3.TabIndex = 171;
|
||||
this.textBox3.UseSystemPasswordChar = false;
|
||||
//
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
//
|
||||
this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.textBox4.FolderDialog = null;
|
||||
this.textBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.textBox4.HighlightImage = global::AppLauncher.Properties.Resources.button16_folder_add2;
|
||||
this.textBox4.HighlightImage = ((System.Drawing.Image)(resources.GetObject("textBox4.HighlightImage")));
|
||||
this.textBox4.Location = new System.Drawing.Point(159, 173);
|
||||
this.textBox4.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.textBox4.Name = "textBox4";
|
||||
this.textBox4.NormalImage = global::AppLauncher.Properties.Resources.button16_folder_add;
|
||||
this.textBox4.NormalImage = ((System.Drawing.Image)(resources.GetObject("textBox4.NormalImage")));
|
||||
this.textBox4.Padding = new System.Windows.Forms.Padding(10, 10, 9, 9);
|
||||
this.textBox4.Size = new System.Drawing.Size(220, 32);
|
||||
this.textBox4.SubmitButton = null;
|
||||
this.textBox4.TabIndex = 172;
|
||||
this.textBox4.UseSystemPasswordChar = false;
|
||||
this.textBox4.OnButtonClick += new System.EventHandler(this.textBox4_OnButtonClick);
|
||||
//
|
||||
//
|
||||
// button1
|
||||
//
|
||||
//
|
||||
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.button1.DefaultImage = null;
|
||||
@@ -240,24 +236,24 @@ namespace AppLauncher.Windows.Forms
|
||||
this.button1.OverImage = null;
|
||||
this.button1.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||
this.button1.Size = new System.Drawing.Size(128, 32);
|
||||
style1.BackColour = System.Drawing.Color.White;
|
||||
style1.ForeImage = null;
|
||||
style1.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDefault = style1;
|
||||
style2.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
style2.ForeImage = null;
|
||||
style2.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDown = style2;
|
||||
style3.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
style3.ForeImage = null;
|
||||
style3.PenColour = System.Drawing.Color.White;
|
||||
this.button1.StyleOver = style3;
|
||||
buttonStyle1.BackColour = System.Drawing.Color.White;
|
||||
buttonStyle1.ForeImage = null;
|
||||
buttonStyle1.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDefault = buttonStyle1;
|
||||
buttonStyle2.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
buttonStyle2.ForeImage = null;
|
||||
buttonStyle2.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDown = buttonStyle2;
|
||||
buttonStyle3.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
buttonStyle3.ForeImage = null;
|
||||
buttonStyle3.PenColour = System.Drawing.Color.White;
|
||||
this.button1.StyleOver = buttonStyle3;
|
||||
this.button1.TabIndex = 173;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
//
|
||||
// pickerBox1
|
||||
//
|
||||
this.pickerBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
//
|
||||
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);
|
||||
@@ -268,10 +264,10 @@ namespace AppLauncher.Windows.Forms
|
||||
this.pickerBox1.Size = new System.Drawing.Size(140, 32);
|
||||
this.pickerBox1.SubmitButton = null;
|
||||
this.pickerBox1.TabIndex = 174;
|
||||
//
|
||||
//
|
||||
// pickerBox2
|
||||
//
|
||||
this.pickerBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
//
|
||||
this.pickerBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pickerBox2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pickerBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
@@ -282,38 +278,29 @@ namespace AppLauncher.Windows.Forms
|
||||
this.pickerBox2.Size = new System.Drawing.Size(140, 32);
|
||||
this.pickerBox2.SubmitButton = null;
|
||||
this.pickerBox2.TabIndex = 175;
|
||||
//
|
||||
//
|
||||
// horizontalSeparator1
|
||||
//
|
||||
this.horizontalSeparator1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
//
|
||||
this.horizontalSeparator1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.horizontalSeparator1.Location = new System.Drawing.Point(10, 215);
|
||||
this.horizontalSeparator1.MaximumSize = new System.Drawing.Size(4920, 2);
|
||||
this.horizontalSeparator1.Name = "horizontalSeparator1";
|
||||
this.horizontalSeparator1.Size = new System.Drawing.Size(380, 2);
|
||||
this.horizontalSeparator1.TabIndex = 176;
|
||||
//
|
||||
//
|
||||
// horizontalSeparator2
|
||||
//
|
||||
this.horizontalSeparator2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
//
|
||||
this.horizontalSeparator2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.horizontalSeparator2.Location = new System.Drawing.Point(10, 310);
|
||||
this.horizontalSeparator2.MaximumSize = new System.Drawing.Size(4920, 2);
|
||||
this.horizontalSeparator2.Name = "horizontalSeparator2";
|
||||
this.horizontalSeparator2.Size = new System.Drawing.Size(380, 2);
|
||||
this.horizontalSeparator2.TabIndex = 177;
|
||||
//
|
||||
// folderBrowserDialog1
|
||||
//
|
||||
this.folderBrowserDialog1.Description = "Choose a directory";
|
||||
//
|
||||
// openFileDialog1
|
||||
//
|
||||
this.openFileDialog1.Filter = "All files|*";
|
||||
this.openFileDialog1.Title = "Choose a file";
|
||||
//
|
||||
//
|
||||
// AddTileForm
|
||||
//
|
||||
//
|
||||
this.ClientSize = new System.Drawing.Size(400, 480);
|
||||
this.Controls.Add(this.horizontalSeparator2);
|
||||
this.Controls.Add(this.horizontalSeparator1);
|
||||
@@ -367,21 +354,6 @@ namespace AppLauncher.Windows.Forms
|
||||
if (pickerBox2.ComboBox.Items.Count > 0) pickerBox2.ComboBox.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
//protected override void OnShown(EventArgs e)
|
||||
//{
|
||||
// base.OnShown(e);
|
||||
|
||||
// if (parentPanel != null)
|
||||
// {
|
||||
// textBox1.Text = parentPanel.ModelInfo.Title;
|
||||
// textBox2.Text = parentPanel.ModelInfo.ProcessFilename;
|
||||
// textBox3.Text = parentPanel.ModelInfo.ProcessArgument;
|
||||
// textBox4.Text = parentPanel.ModelInfo.ProcessWorkingDirectory;
|
||||
// pickerBox1.ComboBox.SelectedIndex = (int)parentPanel.ModelInfo.ProcessWindowStyle;
|
||||
// pickerBox2.ComboBox.SelectedIndex = (parentPanel.ModelInfo.ProcessAsAdmin ? 1 : 0);
|
||||
// }
|
||||
//}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
TileModel model = new TileModel()
|
||||
@@ -399,37 +371,5 @@ namespace AppLauncher.Windows.Forms
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void textBox2_OnButtonClick(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(textBox2.Text))
|
||||
{
|
||||
if (File.Exists(textBox2.Text))
|
||||
{
|
||||
openFileDialog1.InitialDirectory = Path.GetDirectoryName(textBox2.Text);
|
||||
}
|
||||
}
|
||||
|
||||
if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
textBox2.Text = openFileDialog1.FileName;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBox4_OnButtonClick(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(textBox4.Text))
|
||||
{
|
||||
if (Directory.Exists(textBox4.Text))
|
||||
{
|
||||
folderBrowserDialog1.SelectedPath = textBox4.Text;
|
||||
}
|
||||
}
|
||||
|
||||
if (folderBrowserDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
textBox4.Text = folderBrowserDialog1.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -128,10 +128,40 @@
|
||||
6dGYH+UCHCTQ9SfV+7pMvJIIaLL0Oudd1x2eUQ8MyeAeq0cAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="folderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>326, 17</value>
|
||||
</metadata>
|
||||
<data name="textBox2.HighlightImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAK9JREFUOE/t0zsKwkAURuGp1BWJK3EhIrgAV+EOLLWwtRQLwQdiIbbiIkwynj+O
|
||||
IVwnyhR2XvjyInNIkXHee8f0cEQBPbDOaKEarSvXhsAJO4wirlB4jipiA3phoIvIrLFChhnKiA3o8Ckw
|
||||
RR93LNBODVwwwRL62kNKYIxNzQ1FSsDOEHk08HrYJMw/8KtA06/cCef6KJDZgDbTFrHNZO3x9idqOyui
|
||||
m2+07bvPgHcPXOhtG3D6cUIAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="textBox2.NormalImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAMZJREFUOE/tk7sNwjAQQF3BRohJGAQhMQBTsAElFLSUiAKJTxIXhBZlCILNuyRG
|
||||
iXEQKeg46fmsO/slhU9Za5XWehiXYcD6JElygZ6qhdwTioVDGo4wDXDjsohXdYkvMDTHVa8R9Hb0tpCz
|
||||
XzqJL5Df/CRYRFE0Yn8nr9M07XcSwBXmXN6QDfncRTCjt6+Rgfla4Adfn3D+ERS4Yht/wY8FxVN2xTac
|
||||
gLP5qyYLAhmmA4SGyeeEoPkSq3EWydsoB4gRDEqBVU/p15ajstHKCgAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="textBox4.HighlightImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
xAAADsQBlSsOGwAAAJtJREFUOE/t0zEKwkAQheEpvILHSLySlTeJ6AnEzpPYi0ERPIKWKtZKNv9LNS5x
|
||||
E6xS+OCDJew8tsgYmeCECsGZo1dKXLBwtnghQ2fe0JDPGHecsW6xwgwjNM8tdIgyxQ0qij2gORV9LejK
|
||||
Bk8dfi3QjGY/C0IISS7/gkEVtP3KfbKEZm0PLZM++IVK0d0rdrAcR8TrnKK7BzPLa7Wb+WX/Nb8PAAAA
|
||||
AElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="textBox4.NormalImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
xAAADsQBlSsOGwAAALZJREFUOE/tkzEKwjAYRjt4BY9hvZKTN1HsCYqbJzGzKBGb9gY6qjgrxvdJK7ZS
|
||||
Gpwc/ODBnzTvg0AT5Xk+hB3cwVc456ZRSIqi2MAeafbGEq5Zlg3KY+1Bvkkql89Ya/vsnUCZN8FJYWyM
|
||||
6ekKnsWkdF9hb8S3I6ioyRnkpa0FXcFbwOXrAjlyawXe+06q/At+qoDh41cOCU4iV8OaQY8pUVEgOnuA
|
||||
VcSzjRm2UHvOHeisdc7FDwDnJKIbLgP9AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -16,7 +16,12 @@ namespace AppLauncher.Windows.Forms
|
||||
private TButton button1;
|
||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
||||
private TTextBox textBox1;
|
||||
private TPickerBox pickerBox1;
|
||||
private TListBox tListBox1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private TButton tButton1;
|
||||
private TButton tButton2;
|
||||
private TButton tButton3;
|
||||
private TButton tButton4;
|
||||
protected TilePanel parentPanel = null;
|
||||
|
||||
public EditListTileForm() : base()
|
||||
@@ -34,14 +39,31 @@ namespace AppLauncher.Windows.Forms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditListTileForm));
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style1 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style2 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.Style style3 = new RyzStudio.Windows.ThemedForms.TButton.Style();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle1 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle2 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle3 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle4 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle5 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle6 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle7 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle8 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle9 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle10 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle11 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle12 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle13 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle14 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle15 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||
this.tListBox1 = new RyzStudio.Windows.ThemedForms.TListBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tButton1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||
this.tButton2 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||
this.tButton3 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||
this.tButton4 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -103,18 +125,18 @@ namespace AppLauncher.Windows.Forms
|
||||
this.button1.OverImage = null;
|
||||
this.button1.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||
this.button1.Size = new System.Drawing.Size(128, 32);
|
||||
style1.BackColour = System.Drawing.Color.White;
|
||||
style1.ForeImage = null;
|
||||
style1.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDefault = style1;
|
||||
style2.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
style2.ForeImage = null;
|
||||
style2.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDown = style2;
|
||||
style3.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
style3.ForeImage = null;
|
||||
style3.PenColour = System.Drawing.Color.White;
|
||||
this.button1.StyleOver = style3;
|
||||
buttonStyle1.BackColour = System.Drawing.Color.White;
|
||||
buttonStyle1.ForeImage = null;
|
||||
buttonStyle1.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDefault = buttonStyle1;
|
||||
buttonStyle2.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
buttonStyle2.ForeImage = null;
|
||||
buttonStyle2.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDown = buttonStyle2;
|
||||
buttonStyle3.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
buttonStyle3.ForeImage = null;
|
||||
buttonStyle3.PenColour = System.Drawing.Color.White;
|
||||
this.button1.StyleOver = buttonStyle3;
|
||||
this.button1.TabIndex = 173;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
@@ -128,24 +150,140 @@ namespace AppLauncher.Windows.Forms
|
||||
this.horizontalSeparator2.Size = new System.Drawing.Size(380, 2);
|
||||
this.horizontalSeparator2.TabIndex = 177;
|
||||
//
|
||||
// pickerBox1
|
||||
// tListBox1
|
||||
//
|
||||
this.pickerBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
this.tListBox1.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;
|
||||
this.tListBox1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tListBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.tListBox1.Location = new System.Drawing.Point(159, 101);
|
||||
this.tListBox1.Margin = new System.Windows.Forms.Padding(10, 4, 10, 4);
|
||||
this.tListBox1.Name = "tListBox1";
|
||||
this.tListBox1.Padding = new System.Windows.Forms.Padding(10, 6, 7, 5);
|
||||
this.tListBox1.Size = new System.Drawing.Size(220, 180);
|
||||
this.tListBox1.SubmitButton = null;
|
||||
this.tListBox1.TabIndex = 180;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(99)))), ((int)(((byte)(104)))));
|
||||
this.label2.Location = new System.Drawing.Point(18, 104);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(131, 32);
|
||||
this.label2.TabIndex = 181;
|
||||
this.label2.Text = "List";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// tButton1
|
||||
//
|
||||
this.tButton1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tButton1.DefaultImage = global::AppLauncher.Resource1.plus;
|
||||
this.tButton1.DownImage = global::AppLauncher.Resource1.plus2;
|
||||
this.tButton1.LabelText = "";
|
||||
this.tButton1.Location = new System.Drawing.Point(159, 288);
|
||||
this.tButton1.Name = "tButton1";
|
||||
this.tButton1.OverImage = global::AppLauncher.Resource1.plus2;
|
||||
this.tButton1.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||
this.tButton1.Size = new System.Drawing.Size(32, 32);
|
||||
buttonStyle4.BackColour = System.Drawing.Color.White;
|
||||
buttonStyle4.ForeImage = null;
|
||||
buttonStyle4.PenColour = System.Drawing.Color.Black;
|
||||
this.tButton1.StyleDefault = buttonStyle4;
|
||||
buttonStyle5.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
buttonStyle5.ForeImage = null;
|
||||
buttonStyle5.PenColour = System.Drawing.Color.Black;
|
||||
this.tButton1.StyleDown = buttonStyle5;
|
||||
buttonStyle6.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
buttonStyle6.ForeImage = null;
|
||||
buttonStyle6.PenColour = System.Drawing.Color.White;
|
||||
this.tButton1.StyleOver = buttonStyle6;
|
||||
this.tButton1.TabIndex = 182;
|
||||
//
|
||||
// tButton2
|
||||
//
|
||||
this.tButton2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tButton2.DefaultImage = null;
|
||||
this.tButton2.DownImage = null;
|
||||
this.tButton2.LabelText = "";
|
||||
this.tButton2.Location = new System.Drawing.Point(197, 288);
|
||||
this.tButton2.Name = "tButton2";
|
||||
this.tButton2.OverImage = null;
|
||||
this.tButton2.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||
this.tButton2.Size = new System.Drawing.Size(32, 32);
|
||||
buttonStyle7.BackColour = System.Drawing.Color.White;
|
||||
buttonStyle7.ForeImage = null;
|
||||
buttonStyle7.PenColour = System.Drawing.Color.Black;
|
||||
this.tButton2.StyleDefault = buttonStyle7;
|
||||
buttonStyle8.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
buttonStyle8.ForeImage = null;
|
||||
buttonStyle8.PenColour = System.Drawing.Color.Black;
|
||||
this.tButton2.StyleDown = buttonStyle8;
|
||||
buttonStyle9.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
buttonStyle9.ForeImage = null;
|
||||
buttonStyle9.PenColour = System.Drawing.Color.White;
|
||||
this.tButton2.StyleOver = buttonStyle9;
|
||||
this.tButton2.TabIndex = 183;
|
||||
//
|
||||
// tButton3
|
||||
//
|
||||
this.tButton3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tButton3.DefaultImage = null;
|
||||
this.tButton3.DownImage = null;
|
||||
this.tButton3.LabelText = "";
|
||||
this.tButton3.Location = new System.Drawing.Point(235, 288);
|
||||
this.tButton3.Name = "tButton3";
|
||||
this.tButton3.OverImage = null;
|
||||
this.tButton3.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||
this.tButton3.Size = new System.Drawing.Size(32, 32);
|
||||
buttonStyle10.BackColour = System.Drawing.Color.White;
|
||||
buttonStyle10.ForeImage = null;
|
||||
buttonStyle10.PenColour = System.Drawing.Color.Black;
|
||||
this.tButton3.StyleDefault = buttonStyle10;
|
||||
buttonStyle11.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
buttonStyle11.ForeImage = null;
|
||||
buttonStyle11.PenColour = System.Drawing.Color.Black;
|
||||
this.tButton3.StyleDown = buttonStyle11;
|
||||
buttonStyle12.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
buttonStyle12.ForeImage = null;
|
||||
buttonStyle12.PenColour = System.Drawing.Color.White;
|
||||
this.tButton3.StyleOver = buttonStyle12;
|
||||
this.tButton3.TabIndex = 184;
|
||||
//
|
||||
// tButton4
|
||||
//
|
||||
this.tButton4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tButton4.DefaultImage = null;
|
||||
this.tButton4.DownImage = null;
|
||||
this.tButton4.LabelText = "";
|
||||
this.tButton4.Location = new System.Drawing.Point(273, 288);
|
||||
this.tButton4.Name = "tButton4";
|
||||
this.tButton4.OverImage = null;
|
||||
this.tButton4.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||
this.tButton4.Size = new System.Drawing.Size(32, 32);
|
||||
buttonStyle13.BackColour = System.Drawing.Color.White;
|
||||
buttonStyle13.ForeImage = null;
|
||||
buttonStyle13.PenColour = System.Drawing.Color.Black;
|
||||
this.tButton4.StyleDefault = buttonStyle13;
|
||||
buttonStyle14.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
buttonStyle14.ForeImage = null;
|
||||
buttonStyle14.PenColour = System.Drawing.Color.Black;
|
||||
this.tButton4.StyleDown = buttonStyle14;
|
||||
buttonStyle15.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
buttonStyle15.ForeImage = null;
|
||||
buttonStyle15.PenColour = System.Drawing.Color.White;
|
||||
this.tButton4.StyleOver = buttonStyle15;
|
||||
this.tButton4.TabIndex = 185;
|
||||
//
|
||||
// EditListTileForm
|
||||
//
|
||||
this.ClientSize = new System.Drawing.Size(400, 480);
|
||||
this.Controls.Add(this.pickerBox1);
|
||||
this.Controls.Add(this.tButton4);
|
||||
this.Controls.Add(this.tButton3);
|
||||
this.Controls.Add(this.tButton2);
|
||||
this.Controls.Add(this.tButton1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.tListBox1);
|
||||
this.Controls.Add(this.horizontalSeparator2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.label1);
|
||||
@@ -160,7 +298,12 @@ namespace AppLauncher.Windows.Forms
|
||||
this.Controls.SetChildIndex(this.label1, 0);
|
||||
this.Controls.SetChildIndex(this.button1, 0);
|
||||
this.Controls.SetChildIndex(this.horizontalSeparator2, 0);
|
||||
this.Controls.SetChildIndex(this.pickerBox1, 0);
|
||||
this.Controls.SetChildIndex(this.tListBox1, 0);
|
||||
this.Controls.SetChildIndex(this.label2, 0);
|
||||
this.Controls.SetChildIndex(this.tButton1, 0);
|
||||
this.Controls.SetChildIndex(this.tButton2, 0);
|
||||
this.Controls.SetChildIndex(this.tButton3, 0);
|
||||
this.Controls.SetChildIndex(this.tButton4, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
|
||||
@@ -19,17 +19,15 @@ namespace AppLauncher.Windows.Forms
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private TButtonTextBox textBox2;
|
||||
private TOpenFileTextBox textBox2;
|
||||
private TTextBox textBox3;
|
||||
private TButtonTextBox textBox4;
|
||||
private TFolderTextBox textBox4;
|
||||
private TButton button1;
|
||||
private TPickerBox pickerBox1;
|
||||
private TPickerBox pickerBox2;
|
||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator1;
|
||||
private RyzStudio.Windows.Forms.HorizontalSeparator horizontalSeparator2;
|
||||
private TTextBox textBox1;
|
||||
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
|
||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||
protected TilePanel parentPanel = null;
|
||||
|
||||
public EditTileForm() : base()
|
||||
@@ -49,6 +47,9 @@ namespace AppLauncher.Windows.Forms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditTileForm));
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle1 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle2 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
RyzStudio.Windows.ThemedForms.TButton.ButtonStyle buttonStyle3 = new RyzStudio.Windows.ThemedForms.TButton.ButtonStyle();
|
||||
this.textBox1 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
@@ -56,16 +57,14 @@ namespace AppLauncher.Windows.Forms
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new RyzStudio.Windows.ThemedForms.TButtonTextBox();
|
||||
this.textBox2 = new RyzStudio.Windows.ThemedForms.TOpenFileTextBox();
|
||||
this.textBox3 = new RyzStudio.Windows.ThemedForms.TTextBox();
|
||||
this.textBox4 = new RyzStudio.Windows.ThemedForms.TButtonTextBox();
|
||||
this.textBox4 = new RyzStudio.Windows.ThemedForms.TFolderTextBox();
|
||||
this.button1 = new RyzStudio.Windows.ThemedForms.TButton();
|
||||
this.pickerBox1 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||
this.pickerBox2 = new RyzStudio.Windows.ThemedForms.TPickerBox();
|
||||
this.horizontalSeparator1 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||
this.horizontalSeparator2 = new RyzStudio.Windows.Forms.HorizontalSeparator();
|
||||
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -175,18 +174,18 @@ namespace AppLauncher.Windows.Forms
|
||||
this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.textBox2.FileDialog = null;
|
||||
this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.textBox2.HighlightImage = global::AppLauncher.Properties.Resources.button16_file_add2;
|
||||
this.textBox2.HighlightImage = ((System.Drawing.Image)(resources.GetObject("textBox2.HighlightImage")));
|
||||
this.textBox2.Location = new System.Drawing.Point(159, 91);
|
||||
this.textBox2.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.NormalImage = global::AppLauncher.Properties.Resources.button16_file_add;
|
||||
this.textBox2.NormalImage = ((System.Drawing.Image)(resources.GetObject("textBox2.NormalImage")));
|
||||
this.textBox2.Padding = new System.Windows.Forms.Padding(10, 10, 9, 9);
|
||||
this.textBox2.Size = new System.Drawing.Size(220, 32);
|
||||
this.textBox2.SubmitButton = null;
|
||||
this.textBox2.TabIndex = 170;
|
||||
this.textBox2.UseSystemPasswordChar = false;
|
||||
this.textBox2.OnButtonClick += new System.EventHandler(this.textBox2_OnButtonClick);
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
@@ -208,18 +207,18 @@ namespace AppLauncher.Windows.Forms
|
||||
this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.textBox4.FolderDialog = null;
|
||||
this.textBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.textBox4.HighlightImage = global::AppLauncher.Properties.Resources.button16_folder_add2;
|
||||
this.textBox4.HighlightImage = ((System.Drawing.Image)(resources.GetObject("textBox4.HighlightImage")));
|
||||
this.textBox4.Location = new System.Drawing.Point(159, 173);
|
||||
this.textBox4.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.textBox4.Name = "textBox4";
|
||||
this.textBox4.NormalImage = global::AppLauncher.Properties.Resources.button16_folder_add;
|
||||
this.textBox4.NormalImage = ((System.Drawing.Image)(resources.GetObject("textBox4.NormalImage")));
|
||||
this.textBox4.Padding = new System.Windows.Forms.Padding(10, 10, 9, 9);
|
||||
this.textBox4.Size = new System.Drawing.Size(220, 32);
|
||||
this.textBox4.SubmitButton = null;
|
||||
this.textBox4.TabIndex = 172;
|
||||
this.textBox4.UseSystemPasswordChar = false;
|
||||
this.textBox4.OnButtonClick += new System.EventHandler(this.textBox4_OnButtonClick);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
@@ -233,6 +232,18 @@ namespace AppLauncher.Windows.Forms
|
||||
this.button1.OverImage = null;
|
||||
this.button1.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
|
||||
this.button1.Size = new System.Drawing.Size(128, 32);
|
||||
buttonStyle1.BackColour = System.Drawing.Color.White;
|
||||
buttonStyle1.ForeImage = null;
|
||||
buttonStyle1.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDefault = buttonStyle1;
|
||||
buttonStyle2.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(179)))), ((int)(((byte)(179)))));
|
||||
buttonStyle2.ForeImage = null;
|
||||
buttonStyle2.PenColour = System.Drawing.Color.Black;
|
||||
this.button1.StyleDown = buttonStyle2;
|
||||
buttonStyle3.BackColour = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
buttonStyle3.ForeImage = null;
|
||||
buttonStyle3.PenColour = System.Drawing.Color.White;
|
||||
this.button1.StyleOver = buttonStyle3;
|
||||
this.button1.TabIndex = 173;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
@@ -284,15 +295,6 @@ namespace AppLauncher.Windows.Forms
|
||||
this.horizontalSeparator2.Size = new System.Drawing.Size(380, 2);
|
||||
this.horizontalSeparator2.TabIndex = 177;
|
||||
//
|
||||
// folderBrowserDialog1
|
||||
//
|
||||
this.folderBrowserDialog1.Description = "Choose a directory";
|
||||
//
|
||||
// openFileDialog1
|
||||
//
|
||||
this.openFileDialog1.Filter = "All files|*";
|
||||
this.openFileDialog1.Title = "Choose a file";
|
||||
//
|
||||
// EditTileForm
|
||||
//
|
||||
this.ClientSize = new System.Drawing.Size(400, 480);
|
||||
@@ -388,37 +390,5 @@ namespace AppLauncher.Windows.Forms
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void textBox2_OnButtonClick(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(textBox2.Text))
|
||||
{
|
||||
if (File.Exists(textBox2.Text))
|
||||
{
|
||||
openFileDialog1.InitialDirectory = Path.GetDirectoryName(textBox2.Text);
|
||||
}
|
||||
}
|
||||
|
||||
if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
textBox2.Text = openFileDialog1.FileName;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBox4_OnButtonClick(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(textBox4.Text))
|
||||
{
|
||||
if (Directory.Exists(textBox4.Text))
|
||||
{
|
||||
folderBrowserDialog1.SelectedPath = textBox4.Text;
|
||||
}
|
||||
}
|
||||
|
||||
if (folderBrowserDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
textBox4.Text = folderBrowserDialog1.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -128,10 +128,40 @@
|
||||
6dGYH+UCHCTQ9SfV+7pMvJIIaLL0Oudd1x2eUQ8MyeAeq0cAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="folderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<data name="textBox2.HighlightImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAK9JREFUOE/t0zsKwkAURuGp1BWJK3EhIrgAV+EOLLWwtRQLwQdiIbbiIkwynj+O
|
||||
IVwnyhR2XvjyInNIkXHee8f0cEQBPbDOaKEarSvXhsAJO4wirlB4jipiA3phoIvIrLFChhnKiA3o8Ckw
|
||||
RR93LNBODVwwwRL62kNKYIxNzQ1FSsDOEHk08HrYJMw/8KtA06/cCef6KJDZgDbTFrHNZO3x9idqOyui
|
||||
m2+07bvPgHcPXOhtG3D6cUIAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="textBox2.NormalImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAMZJREFUOE/tk7sNwjAQQF3BRohJGAQhMQBTsAElFLSUiAKJTxIXhBZlCILNuyRG
|
||||
iXEQKeg46fmsO/slhU9Za5XWehiXYcD6JElygZ6qhdwTioVDGo4wDXDjsohXdYkvMDTHVa8R9Hb0tpCz
|
||||
XzqJL5Df/CRYRFE0Yn8nr9M07XcSwBXmXN6QDfncRTCjt6+Rgfla4Adfn3D+ERS4Yht/wY8FxVN2xTac
|
||||
gLP5qyYLAhmmA4SGyeeEoPkSq3EWydsoB4gRDEqBVU/p15ajstHKCgAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="textBox4.HighlightImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
xAAADsQBlSsOGwAAAJtJREFUOE/t0zEKwkAQheEpvILHSLySlTeJ6AnEzpPYi0ERPIKWKtZKNv9LNS5x
|
||||
E6xS+OCDJew8tsgYmeCECsGZo1dKXLBwtnghQ2fe0JDPGHecsW6xwgwjNM8tdIgyxQ0qij2gORV9LejK
|
||||
Bk8dfi3QjGY/C0IISS7/gkEVtP3KfbKEZm0PLZM++IVK0d0rdrAcR8TrnKK7BzPLa7Wb+WX/Nb8PAAAA
|
||||
AElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="textBox4.NormalImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
xAAADsQBlSsOGwAAALZJREFUOE/tkzEKwjAYRjt4BY9hvZKTN1HsCYqbJzGzKBGb9gY6qjgrxvdJK7ZS
|
||||
Gpwc/ODBnzTvg0AT5Xk+hB3cwVc456ZRSIqi2MAeafbGEq5Zlg3KY+1Bvkkql89Ya/vsnUCZN8FJYWyM
|
||||
6ekKnsWkdF9hb8S3I6ioyRnkpa0FXcFbwOXrAjlyawXe+06q/At+qoDh41cOCU4iV8OaQY8pUVEgOnuA
|
||||
VcSzjRm2UHvOHeisdc7FDwDnJKIbLgP9AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in new issue
Block a user