2024-07-01 00:55:19 +00:00
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
using FizzyLauncher.Models;
|
|
|
|
|
using RyzStudio.Windows.Forms;
|
2021-07-22 23:45:30 +00:00
|
|
|
|
using RyzStudio.Windows.ThemedForms;
|
2022-12-26 23:37:53 +00:00
|
|
|
|
using RyzStudio.Windows.ThemedForms.ButtonTextBox;
|
2024-07-05 21:43:19 +00:00
|
|
|
|
using RyzStudio.Windows.ThemedForms.PickerBox;
|
|
|
|
|
using static RyzStudio.Windows.ThemedForms.ButtonTextBox.ThKeyCodeTextBox;
|
2021-07-22 23:45:30 +00:00
|
|
|
|
|
2024-07-05 21:43:19 +00:00
|
|
|
|
namespace FizzyLauncher
|
2021-07-22 23:45:30 +00:00
|
|
|
|
{
|
2024-07-01 00:55:19 +00:00
|
|
|
|
public class EditTileForm : TDialog
|
2021-07-22 23:45:30 +00:00
|
|
|
|
{
|
2024-07-05 21:43:19 +00:00
|
|
|
|
private Label label6;
|
|
|
|
|
private Label label7;
|
|
|
|
|
private Label label4;
|
|
|
|
|
private Label label3;
|
|
|
|
|
private Label label2;
|
|
|
|
|
private Label label1;
|
2024-07-01 00:55:19 +00:00
|
|
|
|
private ThPathDialogTextBox textBox2;
|
2024-07-05 21:43:19 +00:00
|
|
|
|
private ThClearableTextBox textBox3;
|
2024-07-01 00:55:19 +00:00
|
|
|
|
private ThPathDialogTextBox textBox4;
|
|
|
|
|
private ThButton button1;
|
|
|
|
|
private ThPickerBox pickerBox1;
|
2024-07-05 21:43:19 +00:00
|
|
|
|
private ThYesNoPickerBox pickerBox2;
|
|
|
|
|
private THorizontalSeparator horizontalSeparator1;
|
|
|
|
|
private THorizontalSeparator horizontalSeparator2;
|
|
|
|
|
private ThClearableTextBox textBox1;
|
|
|
|
|
|
|
|
|
|
private TileModel result = null;
|
2021-07-22 23:45:30 +00:00
|
|
|
|
|
|
|
|
|
|
2024-07-01 00:55:19 +00:00
|
|
|
|
public EditTileForm(TileModel model = null)
|
2021-07-22 23:45:30 +00:00
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
2024-07-05 21:43:19 +00:00
|
|
|
|
StartPosition = FormStartPosition.WindowsDefaultLocation;
|
|
|
|
|
OkButton = button1;
|
|
|
|
|
|
|
|
|
|
result = model;
|
2021-07-22 23:45:30 +00:00
|
|
|
|
|
|
|
|
|
pickerBox1.ComboBox.Items.Clear();
|
|
|
|
|
pickerBox1.ComboBox.Items.AddRange(new string[] { "Normal", "Hidden", "Minimized", "Maximized" });
|
2024-07-01 00:55:19 +00:00
|
|
|
|
if (pickerBox1.ComboBox.Items.Count > 0)
|
|
|
|
|
{
|
|
|
|
|
pickerBox1.ComboBox.SelectedIndex = 0;
|
|
|
|
|
}
|
2021-07-22 23:45:30 +00:00
|
|
|
|
|
2024-07-05 21:43:19 +00:00
|
|
|
|
if (result != null)
|
2024-07-01 00:55:19 +00:00
|
|
|
|
{
|
2024-07-05 21:43:19 +00:00
|
|
|
|
Text = "Edit Tile";
|
2024-07-01 00:55:19 +00:00
|
|
|
|
|
2024-07-05 21:43:19 +00:00
|
|
|
|
textBox1.Text = result?.Title ?? string.Empty;
|
|
|
|
|
textBox2.Text = result?.ProcessFilename ?? string.Empty;
|
|
|
|
|
textBox3.Text = result?.ProcessArgument ?? string.Empty;
|
|
|
|
|
textBox4.Text = result?.ProcessWorkingDirectory ?? string.Empty;
|
|
|
|
|
pickerBox1.ComboBox.SelectedIndex = (int)result.ProcessWindowStyle;
|
|
|
|
|
pickerBox2.Value = result.ProcessAsAdmin;
|
2024-07-01 00:55:19 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2024-07-05 21:43:19 +00:00
|
|
|
|
Text = "Add Tile";
|
2024-07-01 00:55:19 +00:00
|
|
|
|
}
|
2021-07-22 23:45:30 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2024-07-05 21:43:19 +00:00
|
|
|
|
textBox1 = new ThClearableTextBox();
|
2024-07-01 00:55:19 +00:00
|
|
|
|
label6 = new Label();
|
|
|
|
|
label7 = new Label();
|
|
|
|
|
label4 = new Label();
|
|
|
|
|
label3 = new Label();
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
textBox2 = new ThPathDialogTextBox();
|
2024-07-05 21:43:19 +00:00
|
|
|
|
textBox3 = new ThClearableTextBox();
|
2024-07-01 00:55:19 +00:00
|
|
|
|
textBox4 = new ThPathDialogTextBox();
|
|
|
|
|
button1 = new ThButton();
|
|
|
|
|
pickerBox1 = new ThPickerBox();
|
2024-07-05 21:43:19 +00:00
|
|
|
|
pickerBox2 = new ThYesNoPickerBox();
|
|
|
|
|
horizontalSeparator1 = new THorizontalSeparator();
|
|
|
|
|
horizontalSeparator2 = new THorizontalSeparator();
|
2024-07-01 00:55:19 +00:00
|
|
|
|
SuspendLayout();
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// textBox1
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
textBox1.BackColor = Color.Transparent;
|
|
|
|
|
textBox1.EnableReactiveVisual = true;
|
|
|
|
|
textBox1.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
textBox1.Location = new Point(126, 20);
|
|
|
|
|
textBox1.Name = "textBox1";
|
|
|
|
|
textBox1.Size = new Size(243, 35);
|
|
|
|
|
textBox1.TabIndex = 152;
|
|
|
|
|
textBox1.TabStop = false;
|
|
|
|
|
textBox1.UseSystemPasswordChar = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// label6
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
label6.AutoSize = true;
|
|
|
|
|
label6.BackColor = Color.Transparent;
|
|
|
|
|
label6.ForeColor = SystemColors.ControlText;
|
|
|
|
|
label6.Location = new Point(10, 250);
|
|
|
|
|
label6.Name = "label6";
|
|
|
|
|
label6.Padding = new Padding(0, 9, 0, 10);
|
|
|
|
|
label6.Size = new Size(83, 34);
|
|
|
|
|
label6.TabIndex = 163;
|
|
|
|
|
label6.Text = "Run As Admin";
|
|
|
|
|
label6.TextAlign = ContentAlignment.MiddleLeft;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// label7
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
label7.AutoSize = true;
|
|
|
|
|
label7.BackColor = Color.Transparent;
|
|
|
|
|
label7.ForeColor = SystemColors.ControlText;
|
|
|
|
|
label7.Location = new Point(10, 209);
|
|
|
|
|
label7.Name = "label7";
|
|
|
|
|
label7.Padding = new Padding(0, 9, 0, 10);
|
|
|
|
|
label7.Size = new Size(79, 34);
|
|
|
|
|
label7.TabIndex = 161;
|
|
|
|
|
label7.Text = "Window Style";
|
|
|
|
|
label7.TextAlign = ContentAlignment.MiddleLeft;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// label4
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
label4.AutoSize = true;
|
|
|
|
|
label4.BackColor = Color.Transparent;
|
|
|
|
|
label4.ForeColor = SystemColors.ControlText;
|
|
|
|
|
label4.Location = new Point(10, 144);
|
|
|
|
|
label4.Name = "label4";
|
|
|
|
|
label4.Padding = new Padding(0, 9, 0, 10);
|
|
|
|
|
label4.Size = new Size(103, 34);
|
|
|
|
|
label4.TabIndex = 159;
|
|
|
|
|
label4.Text = "Working Directory";
|
|
|
|
|
label4.TextAlign = ContentAlignment.MiddleLeft;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// label3
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
label3.AutoSize = true;
|
|
|
|
|
label3.BackColor = Color.Transparent;
|
|
|
|
|
label3.ForeColor = SystemColors.ControlText;
|
|
|
|
|
label3.Location = new Point(10, 103);
|
|
|
|
|
label3.Name = "label3";
|
|
|
|
|
label3.Padding = new Padding(0, 9, 0, 10);
|
|
|
|
|
label3.Size = new Size(61, 34);
|
|
|
|
|
label3.TabIndex = 157;
|
|
|
|
|
label3.Text = "Argument";
|
|
|
|
|
label3.TextAlign = ContentAlignment.MiddleLeft;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// label2
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.BackColor = Color.Transparent;
|
|
|
|
|
label2.ForeColor = SystemColors.ControlText;
|
|
|
|
|
label2.Location = new Point(10, 62);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Padding = new Padding(0, 9, 0, 10);
|
|
|
|
|
label2.Size = new Size(55, 34);
|
|
|
|
|
label2.TabIndex = 155;
|
|
|
|
|
label2.Text = "Filename";
|
|
|
|
|
label2.TextAlign = ContentAlignment.MiddleLeft;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// label1
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.BackColor = Color.Transparent;
|
|
|
|
|
label1.ForeColor = SystemColors.ControlText;
|
|
|
|
|
label1.Location = new Point(10, 21);
|
|
|
|
|
label1.Margin = new Padding(0);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Padding = new Padding(0, 9, 0, 10);
|
|
|
|
|
label1.Size = new Size(29, 34);
|
|
|
|
|
label1.TabIndex = 153;
|
|
|
|
|
label1.Text = "Title";
|
|
|
|
|
label1.TextAlign = ContentAlignment.MiddleLeft;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// textBox2
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
textBox2.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
textBox2.BackColor = Color.Transparent;
|
|
|
|
|
textBox2.DialogMode = ThPathDialogTextBox.DialogType.OpenFile;
|
|
|
|
|
textBox2.EnableReactiveVisual = true;
|
|
|
|
|
textBox2.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
textBox2.Location = new Point(126, 61);
|
|
|
|
|
textBox2.Margin = new Padding(10, 10, 10, 0);
|
|
|
|
|
textBox2.Name = "textBox2";
|
|
|
|
|
textBox2.Size = new Size(243, 32);
|
|
|
|
|
textBox2.TabIndex = 170;
|
|
|
|
|
textBox2.TabStop = false;
|
|
|
|
|
textBox2.UseSystemPasswordChar = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// textBox3
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
textBox3.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
textBox3.BackColor = Color.Transparent;
|
|
|
|
|
textBox3.EnableReactiveVisual = true;
|
|
|
|
|
textBox3.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
textBox3.Location = new Point(147, 102);
|
|
|
|
|
textBox3.Name = "textBox3";
|
|
|
|
|
textBox3.Size = new Size(222, 35);
|
|
|
|
|
textBox3.TabIndex = 171;
|
|
|
|
|
textBox3.TabStop = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// textBox4
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
textBox4.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
textBox4.BackColor = Color.Transparent;
|
|
|
|
|
textBox4.DialogMode = ThPathDialogTextBox.DialogType.FolderBrowser;
|
|
|
|
|
textBox4.EnableReactiveVisual = true;
|
|
|
|
|
textBox4.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
textBox4.Location = new Point(147, 143);
|
|
|
|
|
textBox4.Name = "textBox4";
|
|
|
|
|
textBox4.Size = new Size(222, 32);
|
|
|
|
|
textBox4.TabIndex = 172;
|
|
|
|
|
textBox4.TabStop = false;
|
|
|
|
|
textBox4.UseSystemPasswordChar = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// button1
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
button1.AcceptButton = null;
|
|
|
|
|
button1.ActiveImage = null;
|
|
|
|
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
button1.BackColor = Color.Transparent;
|
|
|
|
|
button1.EnableMenuOnClick = false;
|
|
|
|
|
button1.EnableReactiveVisual = true;
|
|
|
|
|
button1.HoverImage = null;
|
|
|
|
|
button1.IdleImage = null;
|
|
|
|
|
button1.LabelText = "&Save";
|
|
|
|
|
button1.Location = new Point(241, 469);
|
|
|
|
|
button1.Margin = new Padding(10, 10, 10, 0);
|
|
|
|
|
button1.Name = "button1";
|
|
|
|
|
button1.Padding = new Padding(4, 4, 3, 3);
|
|
|
|
|
button1.Size = new Size(128, 32);
|
|
|
|
|
button1.TabIndex = 173;
|
|
|
|
|
button1.TabStop = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// pickerBox1
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
pickerBox1.AcceptButton = null;
|
|
|
|
|
pickerBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
pickerBox1.BackColor = Color.Transparent;
|
|
|
|
|
pickerBox1.EnableReactiveVisual = true;
|
|
|
|
|
pickerBox1.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
pickerBox1.Location = new Point(241, 209);
|
|
|
|
|
pickerBox1.Margin = new Padding(10, 10, 10, 0);
|
|
|
|
|
pickerBox1.Name = "pickerBox1";
|
|
|
|
|
pickerBox1.Padding = new Padding(4, 4, 3, 3);
|
|
|
|
|
pickerBox1.SelectedIndex = -1;
|
|
|
|
|
pickerBox1.Size = new Size(128, 34);
|
|
|
|
|
pickerBox1.TabIndex = 174;
|
|
|
|
|
pickerBox1.TabStop = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// pickerBox2
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
pickerBox2.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
pickerBox2.BackColor = Color.Transparent;
|
|
|
|
|
pickerBox2.EnableReactiveVisual = true;
|
|
|
|
|
pickerBox2.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
pickerBox2.Location = new Point(285, 250);
|
|
|
|
|
pickerBox2.Name = "pickerBox2";
|
|
|
|
|
pickerBox2.Size = new Size(84, 34);
|
|
|
|
|
pickerBox2.TabIndex = 175;
|
|
|
|
|
pickerBox2.TabStop = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// horizontalSeparator1
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
horizontalSeparator1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
horizontalSeparator1.AutoScrollMargin = new Size(0, 0);
|
|
|
|
|
horizontalSeparator1.AutoScrollMinSize = new Size(0, 0);
|
|
|
|
|
horizontalSeparator1.BackColor = Color.Transparent;
|
|
|
|
|
horizontalSeparator1.Location = new Point(10, 181);
|
|
|
|
|
horizontalSeparator1.Margin = new Padding(0, 10, 0, 0);
|
|
|
|
|
horizontalSeparator1.MaximumSize = new Size(4920, 2);
|
|
|
|
|
horizontalSeparator1.MinimumSize = new Size(0, 22);
|
|
|
|
|
horizontalSeparator1.Name = "horizontalSeparator1";
|
|
|
|
|
horizontalSeparator1.Size = new Size(364, 22);
|
|
|
|
|
horizontalSeparator1.TabIndex = 176;
|
|
|
|
|
horizontalSeparator1.TabStop = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-07-22 23:45:30 +00:00
|
|
|
|
// horizontalSeparator2
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
horizontalSeparator2.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
horizontalSeparator2.AutoScrollMargin = new Size(0, 0);
|
|
|
|
|
horizontalSeparator2.AutoScrollMinSize = new Size(0, 0);
|
|
|
|
|
horizontalSeparator2.BackColor = Color.Transparent;
|
|
|
|
|
horizontalSeparator2.Location = new Point(10, 437);
|
|
|
|
|
horizontalSeparator2.Margin = new Padding(0, 10, 0, 0);
|
|
|
|
|
horizontalSeparator2.MaximumSize = new Size(4920, 2);
|
|
|
|
|
horizontalSeparator2.MinimumSize = new Size(0, 22);
|
|
|
|
|
horizontalSeparator2.Name = "horizontalSeparator2";
|
|
|
|
|
horizontalSeparator2.Size = new Size(364, 22);
|
|
|
|
|
horizontalSeparator2.TabIndex = 177;
|
|
|
|
|
horizontalSeparator2.TabStop = false;
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2021-08-01 14:25:33 +00:00
|
|
|
|
// EditTileForm
|
2021-08-01 15:00:20 +00:00
|
|
|
|
//
|
2024-07-01 00:55:19 +00:00
|
|
|
|
ClientSize = new Size(384, 521);
|
|
|
|
|
Controls.Add(horizontalSeparator2);
|
|
|
|
|
Controls.Add(horizontalSeparator1);
|
|
|
|
|
Controls.Add(pickerBox2);
|
|
|
|
|
Controls.Add(pickerBox1);
|
|
|
|
|
Controls.Add(button1);
|
|
|
|
|
Controls.Add(textBox4);
|
|
|
|
|
Controls.Add(textBox3);
|
|
|
|
|
Controls.Add(textBox2);
|
|
|
|
|
Controls.Add(label6);
|
|
|
|
|
Controls.Add(label7);
|
|
|
|
|
Controls.Add(label4);
|
|
|
|
|
Controls.Add(label3);
|
|
|
|
|
Controls.Add(label2);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(textBox1);
|
|
|
|
|
MinimumSize = new Size(400, 560);
|
|
|
|
|
Name = "EditTileForm";
|
|
|
|
|
Text = "Add Tile";
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2021-07-22 23:45:30 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-07-01 00:55:19 +00:00
|
|
|
|
public TileModel Result
|
2021-07-22 23:45:30 +00:00
|
|
|
|
{
|
2024-07-05 21:43:19 +00:00
|
|
|
|
get
|
2021-07-22 23:45:30 +00:00
|
|
|
|
{
|
2024-07-05 21:43:19 +00:00
|
|
|
|
if (result == null)
|
|
|
|
|
{
|
|
|
|
|
result = new TileModel();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
result.Title = textBox1.Text?.Trim() ?? string.Empty;
|
|
|
|
|
result.ProcessFilename = textBox2.Text?.Trim() ?? string.Empty;
|
|
|
|
|
result.ProcessArgument = textBox3.Text?.Trim() ?? string.Empty;
|
|
|
|
|
result.ProcessWorkingDirectory = textBox4.Text?.Trim();
|
|
|
|
|
result.ProcessWindowStyle = (System.Diagnostics.ProcessWindowStyle)pickerBox1.ComboBox.SelectedIndex;
|
|
|
|
|
result.ProcessAsAdmin = pickerBox2.Value;
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2021-07-22 23:45:30 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2024-07-01 00:55:19 +00:00
|
|
|
|
}
|