mirror of
https://github.com/SlothDpal/Relaunch-Process.git
synced 2026-02-22 17:27:38 +03:00
add: Autoinsert process name, .exe filter
This commit is contained in:
194
Form1.Designer.cs
generated
194
Form1.Designer.cs
generated
@@ -34,23 +34,23 @@ namespace Process_Auto_Relaunch
|
||||
this.groupBoxActions = new System.Windows.Forms.GroupBox();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.checkBoxCheckProcess = new System.Windows.Forms.CheckBox();
|
||||
this.radioButtonRestartTimer = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonRestartNow = new System.Windows.Forms.RadioButton();
|
||||
this.buttonSetProgramStart = new System.Windows.Forms.Button();
|
||||
this.groupBoxProgramStart = new System.Windows.Forms.GroupBox();
|
||||
this.textBoxArguments = new System.Windows.Forms.TextBox();
|
||||
this.labelArguments = new System.Windows.Forms.Label();
|
||||
this.labelProgramStartPath = new System.Windows.Forms.Label();
|
||||
this.groupBoxProcessName = new System.Windows.Forms.GroupBox();
|
||||
this.textBoxProcessName = new System.Windows.Forms.TextBox();
|
||||
this.groupBoxEnabled = new System.Windows.Forms.GroupBox();
|
||||
this.checkBoxSaveState = new System.Windows.Forms.CheckBox();
|
||||
this.radioButtonEnableWathing = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonDisableWathing = new System.Windows.Forms.RadioButton();
|
||||
this.groupBoxStatus = new System.Windows.Forms.GroupBox();
|
||||
this.labelStatus = new System.Windows.Forms.Label();
|
||||
this.myBackgroundWorker = new System.ComponentModel.BackgroundWorker();
|
||||
this.checkBoxSaveState = new System.Windows.Forms.CheckBox();
|
||||
this.textBoxProcessName = new System.Windows.Forms.TextBox();
|
||||
this.textBoxArguments = new System.Windows.Forms.TextBox();
|
||||
this.labelProgramStartPath = new System.Windows.Forms.Label();
|
||||
this.checkBoxCheckProcess = new System.Windows.Forms.CheckBox();
|
||||
this.radioButtonRestartNow = new System.Windows.Forms.RadioButton();
|
||||
this.groupBoxHistory = new System.Windows.Forms.GroupBox();
|
||||
this.richTextBoxHistory = new System.Windows.Forms.RichTextBox();
|
||||
this.groupBoxActions.SuspendLayout();
|
||||
@@ -72,9 +72,9 @@ namespace Process_Auto_Relaunch
|
||||
this.groupBoxActions.Controls.Add(this.radioButtonRestartTimer);
|
||||
this.groupBoxActions.Controls.Add(this.radioButtonRestartNow);
|
||||
this.groupBoxActions.Location = new System.Drawing.Point(13, 79);
|
||||
this.groupBoxActions.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxActions.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxActions.Name = "groupBoxActions";
|
||||
this.groupBoxActions.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxActions.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxActions.Size = new System.Drawing.Size(383, 111);
|
||||
this.groupBoxActions.TabIndex = 0;
|
||||
this.groupBoxActions.TabStop = false;
|
||||
@@ -88,7 +88,7 @@ namespace Process_Auto_Relaunch
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(199, 23);
|
||||
this.numericUpDown1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.numericUpDown1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
1800,
|
||||
0,
|
||||
@@ -119,12 +119,26 @@ namespace Process_Auto_Relaunch
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "секунд";
|
||||
//
|
||||
// checkBoxCheckProcess
|
||||
//
|
||||
this.checkBoxCheckProcess.AutoSize = true;
|
||||
this.checkBoxCheckProcess.Checked = global::RelaunchProcess.Properties.Settings.Default.checkBeforeStart;
|
||||
this.checkBoxCheckProcess.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBoxCheckProcess.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::RelaunchProcess.Properties.Settings.Default, "checkBeforeStart", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.checkBoxCheckProcess.Location = new System.Drawing.Point(11, 78);
|
||||
this.checkBoxCheckProcess.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.checkBoxCheckProcess.Name = "checkBoxCheckProcess";
|
||||
this.checkBoxCheckProcess.Size = new System.Drawing.Size(265, 20);
|
||||
this.checkBoxCheckProcess.TabIndex = 2;
|
||||
this.checkBoxCheckProcess.Text = "Проверять наличие перед запуском";
|
||||
this.checkBoxCheckProcess.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radioButtonRestartTimer
|
||||
//
|
||||
this.radioButtonRestartTimer.AutoSize = true;
|
||||
this.radioButtonRestartTimer.Checked = true;
|
||||
this.radioButtonRestartTimer.Location = new System.Drawing.Point(12, 23);
|
||||
this.radioButtonRestartTimer.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.radioButtonRestartTimer.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.radioButtonRestartTimer.Name = "radioButtonRestartTimer";
|
||||
this.radioButtonRestartTimer.Size = new System.Drawing.Size(170, 20);
|
||||
this.radioButtonRestartTimer.TabIndex = 1;
|
||||
@@ -132,10 +146,23 @@ namespace Process_Auto_Relaunch
|
||||
this.radioButtonRestartTimer.Text = "Перезапустить через";
|
||||
this.radioButtonRestartTimer.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radioButtonRestartNow
|
||||
//
|
||||
this.radioButtonRestartNow.AutoSize = true;
|
||||
this.radioButtonRestartNow.Checked = global::RelaunchProcess.Properties.Settings.Default.restartNow;
|
||||
this.radioButtonRestartNow.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::RelaunchProcess.Properties.Settings.Default, "restartNow", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.radioButtonRestartNow.Location = new System.Drawing.Point(11, 50);
|
||||
this.radioButtonRestartNow.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.radioButtonRestartNow.Name = "radioButtonRestartNow";
|
||||
this.radioButtonRestartNow.Size = new System.Drawing.Size(169, 20);
|
||||
this.radioButtonRestartNow.TabIndex = 0;
|
||||
this.radioButtonRestartNow.Text = "Перезапускать сразу";
|
||||
this.radioButtonRestartNow.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// buttonSetProgramStart
|
||||
//
|
||||
this.buttonSetProgramStart.Location = new System.Drawing.Point(5, 23);
|
||||
this.buttonSetProgramStart.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.buttonSetProgramStart.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.buttonSetProgramStart.Name = "buttonSetProgramStart";
|
||||
this.buttonSetProgramStart.Size = new System.Drawing.Size(89, 34);
|
||||
this.buttonSetProgramStart.TabIndex = 1;
|
||||
@@ -152,14 +179,24 @@ namespace Process_Auto_Relaunch
|
||||
this.groupBoxProgramStart.Controls.Add(this.labelProgramStartPath);
|
||||
this.groupBoxProgramStart.Controls.Add(this.buttonSetProgramStart);
|
||||
this.groupBoxProgramStart.Location = new System.Drawing.Point(13, 198);
|
||||
this.groupBoxProgramStart.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxProgramStart.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxProgramStart.Name = "groupBoxProgramStart";
|
||||
this.groupBoxProgramStart.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxProgramStart.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxProgramStart.Size = new System.Drawing.Size(383, 139);
|
||||
this.groupBoxProgramStart.TabIndex = 6;
|
||||
this.groupBoxProgramStart.TabStop = false;
|
||||
this.groupBoxProgramStart.Text = "Запуск программы";
|
||||
//
|
||||
// textBoxArguments
|
||||
//
|
||||
this.textBoxArguments.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::RelaunchProcess.Properties.Settings.Default, "arguments", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.textBoxArguments.Location = new System.Drawing.Point(7, 108);
|
||||
this.textBoxArguments.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.textBoxArguments.Name = "textBoxArguments";
|
||||
this.textBoxArguments.Size = new System.Drawing.Size(365, 22);
|
||||
this.textBoxArguments.TabIndex = 4;
|
||||
this.textBoxArguments.Text = global::RelaunchProcess.Properties.Settings.Default.arguments;
|
||||
//
|
||||
// labelArguments
|
||||
//
|
||||
this.labelArguments.AutoSize = true;
|
||||
@@ -170,20 +207,43 @@ namespace Process_Auto_Relaunch
|
||||
this.labelArguments.TabIndex = 3;
|
||||
this.labelArguments.Text = "Дополнительные аргументы";
|
||||
//
|
||||
// labelProgramStartPath
|
||||
//
|
||||
this.labelProgramStartPath.AutoSize = true;
|
||||
this.labelProgramStartPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::RelaunchProcess.Properties.Settings.Default, "startProgramPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.labelProgramStartPath.Location = new System.Drawing.Point(7, 62);
|
||||
this.labelProgramStartPath.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.labelProgramStartPath.Name = "labelProgramStartPath";
|
||||
this.labelProgramStartPath.Size = new System.Drawing.Size(0, 16);
|
||||
this.labelProgramStartPath.TabIndex = 2;
|
||||
this.labelProgramStartPath.Text = global::RelaunchProcess.Properties.Settings.Default.startProgramPath;
|
||||
//
|
||||
// groupBoxProcessName
|
||||
//
|
||||
this.groupBoxProcessName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.groupBoxProcessName.Controls.Add(this.textBoxProcessName);
|
||||
this.groupBoxProcessName.Location = new System.Drawing.Point(13, 12);
|
||||
this.groupBoxProcessName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxProcessName.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxProcessName.Name = "groupBoxProcessName";
|
||||
this.groupBoxProcessName.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxProcessName.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxProcessName.Size = new System.Drawing.Size(383, 62);
|
||||
this.groupBoxProcessName.TabIndex = 8;
|
||||
this.groupBoxProcessName.TabStop = false;
|
||||
this.groupBoxProcessName.Text = "Название наблюдаемого процесса (без расширения)";
|
||||
//
|
||||
// textBoxProcessName
|
||||
//
|
||||
this.textBoxProcessName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxProcessName.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::RelaunchProcess.Properties.Settings.Default, "processName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.textBoxProcessName.Location = new System.Drawing.Point(7, 25);
|
||||
this.textBoxProcessName.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.textBoxProcessName.Name = "textBoxProcessName";
|
||||
this.textBoxProcessName.Size = new System.Drawing.Size(368, 22);
|
||||
this.textBoxProcessName.TabIndex = 3;
|
||||
this.textBoxProcessName.Text = global::RelaunchProcess.Properties.Settings.Default.processName;
|
||||
//
|
||||
// groupBoxEnabled
|
||||
//
|
||||
this.groupBoxEnabled.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
@@ -193,20 +253,35 @@ namespace Process_Auto_Relaunch
|
||||
this.groupBoxEnabled.Controls.Add(this.radioButtonDisableWathing);
|
||||
this.groupBoxEnabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.groupBoxEnabled.Location = new System.Drawing.Point(13, 345);
|
||||
this.groupBoxEnabled.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxEnabled.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxEnabled.Name = "groupBoxEnabled";
|
||||
this.groupBoxEnabled.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxEnabled.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxEnabled.Size = new System.Drawing.Size(383, 89);
|
||||
this.groupBoxEnabled.TabIndex = 9;
|
||||
this.groupBoxEnabled.TabStop = false;
|
||||
this.groupBoxEnabled.Text = "Состояние";
|
||||
//
|
||||
// checkBoxSaveState
|
||||
//
|
||||
this.checkBoxSaveState.AutoSize = true;
|
||||
this.checkBoxSaveState.Checked = global::RelaunchProcess.Properties.Settings.Default.saveOldState;
|
||||
this.checkBoxSaveState.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBoxSaveState.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::RelaunchProcess.Properties.Settings.Default, "saveOldState", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.checkBoxSaveState.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.checkBoxSaveState.Location = new System.Drawing.Point(20, 50);
|
||||
this.checkBoxSaveState.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.checkBoxSaveState.Name = "checkBoxSaveState";
|
||||
this.checkBoxSaveState.Size = new System.Drawing.Size(251, 20);
|
||||
this.checkBoxSaveState.TabIndex = 2;
|
||||
this.checkBoxSaveState.Text = "Запоминать последнее состояние";
|
||||
this.checkBoxSaveState.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radioButtonEnableWathing
|
||||
//
|
||||
this.radioButtonEnableWathing.AutoSize = true;
|
||||
this.radioButtonEnableWathing.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.radioButtonEnableWathing.Location = new System.Drawing.Point(141, 23);
|
||||
this.radioButtonEnableWathing.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.radioButtonEnableWathing.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.radioButtonEnableWathing.Name = "radioButtonEnableWathing";
|
||||
this.radioButtonEnableWathing.Size = new System.Drawing.Size(91, 20);
|
||||
this.radioButtonEnableWathing.TabIndex = 1;
|
||||
@@ -220,7 +295,7 @@ namespace Process_Auto_Relaunch
|
||||
this.radioButtonDisableWathing.Checked = true;
|
||||
this.radioButtonDisableWathing.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.radioButtonDisableWathing.Location = new System.Drawing.Point(11, 23);
|
||||
this.radioButtonDisableWathing.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.radioButtonDisableWathing.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.radioButtonDisableWathing.Name = "radioButtonDisableWathing";
|
||||
this.radioButtonDisableWathing.Size = new System.Drawing.Size(100, 20);
|
||||
this.radioButtonDisableWathing.TabIndex = 0;
|
||||
@@ -235,9 +310,9 @@ namespace Process_Auto_Relaunch
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.groupBoxStatus.Controls.Add(this.labelStatus);
|
||||
this.groupBoxStatus.Location = new System.Drawing.Point(13, 442);
|
||||
this.groupBoxStatus.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxStatus.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxStatus.Name = "groupBoxStatus";
|
||||
this.groupBoxStatus.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBoxStatus.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBoxStatus.Size = new System.Drawing.Size(383, 64);
|
||||
this.groupBoxStatus.TabIndex = 10;
|
||||
this.groupBoxStatus.TabStop = false;
|
||||
@@ -258,81 +333,6 @@ namespace Process_Auto_Relaunch
|
||||
this.myBackgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.BackgroundWorkerDoWork);
|
||||
this.myBackgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);
|
||||
//
|
||||
// checkBoxSaveState
|
||||
//
|
||||
this.checkBoxSaveState.AutoSize = true;
|
||||
this.checkBoxSaveState.Checked = global::RelaunchProcess.Properties.Settings.Default.saveOldState;
|
||||
this.checkBoxSaveState.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBoxSaveState.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::RelaunchProcess.Properties.Settings.Default, "saveOldState", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.checkBoxSaveState.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.checkBoxSaveState.Location = new System.Drawing.Point(20, 50);
|
||||
this.checkBoxSaveState.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.checkBoxSaveState.Name = "checkBoxSaveState";
|
||||
this.checkBoxSaveState.Size = new System.Drawing.Size(251, 20);
|
||||
this.checkBoxSaveState.TabIndex = 2;
|
||||
this.checkBoxSaveState.Text = "Запоминать последнее состояние";
|
||||
this.checkBoxSaveState.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// textBoxProcessName
|
||||
//
|
||||
this.textBoxProcessName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxProcessName.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::RelaunchProcess.Properties.Settings.Default, "processName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.textBoxProcessName.Location = new System.Drawing.Point(7, 25);
|
||||
this.textBoxProcessName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.textBoxProcessName.Name = "textBoxProcessName";
|
||||
this.textBoxProcessName.Size = new System.Drawing.Size(368, 22);
|
||||
this.textBoxProcessName.TabIndex = 3;
|
||||
this.textBoxProcessName.Text = global::RelaunchProcess.Properties.Settings.Default.processName;
|
||||
//
|
||||
// textBoxArguments
|
||||
//
|
||||
this.textBoxArguments.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::RelaunchProcess.Properties.Settings.Default, "arguments", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.textBoxArguments.Location = new System.Drawing.Point(7, 108);
|
||||
this.textBoxArguments.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.textBoxArguments.Name = "textBoxArguments";
|
||||
this.textBoxArguments.Size = new System.Drawing.Size(365, 22);
|
||||
this.textBoxArguments.TabIndex = 4;
|
||||
this.textBoxArguments.Text = global::RelaunchProcess.Properties.Settings.Default.arguments;
|
||||
//
|
||||
// labelProgramStartPath
|
||||
//
|
||||
this.labelProgramStartPath.AutoSize = true;
|
||||
this.labelProgramStartPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::RelaunchProcess.Properties.Settings.Default, "startProgramPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.labelProgramStartPath.Location = new System.Drawing.Point(7, 62);
|
||||
this.labelProgramStartPath.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.labelProgramStartPath.Name = "labelProgramStartPath";
|
||||
this.labelProgramStartPath.Size = new System.Drawing.Size(0, 16);
|
||||
this.labelProgramStartPath.TabIndex = 2;
|
||||
this.labelProgramStartPath.Text = global::RelaunchProcess.Properties.Settings.Default.startProgramPath;
|
||||
//
|
||||
// checkBoxCheckProcess
|
||||
//
|
||||
this.checkBoxCheckProcess.AutoSize = true;
|
||||
this.checkBoxCheckProcess.Checked = global::RelaunchProcess.Properties.Settings.Default.checkBeforeStart;
|
||||
this.checkBoxCheckProcess.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBoxCheckProcess.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::RelaunchProcess.Properties.Settings.Default, "checkBeforeStart", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.checkBoxCheckProcess.Location = new System.Drawing.Point(11, 78);
|
||||
this.checkBoxCheckProcess.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.checkBoxCheckProcess.Name = "checkBoxCheckProcess";
|
||||
this.checkBoxCheckProcess.Size = new System.Drawing.Size(265, 20);
|
||||
this.checkBoxCheckProcess.TabIndex = 2;
|
||||
this.checkBoxCheckProcess.Text = "Проверять наличие перед запуском";
|
||||
this.checkBoxCheckProcess.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radioButtonRestartNow
|
||||
//
|
||||
this.radioButtonRestartNow.AutoSize = true;
|
||||
this.radioButtonRestartNow.Checked = global::RelaunchProcess.Properties.Settings.Default.restartNow;
|
||||
this.radioButtonRestartNow.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::RelaunchProcess.Properties.Settings.Default, "restartNow", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.radioButtonRestartNow.Location = new System.Drawing.Point(11, 50);
|
||||
this.radioButtonRestartNow.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.radioButtonRestartNow.Name = "radioButtonRestartNow";
|
||||
this.radioButtonRestartNow.Size = new System.Drawing.Size(169, 20);
|
||||
this.radioButtonRestartNow.TabIndex = 0;
|
||||
this.radioButtonRestartNow.Text = "Перезапускать сразу";
|
||||
this.radioButtonRestartNow.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBoxHistory
|
||||
//
|
||||
this.groupBoxHistory.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -370,7 +370,7 @@ namespace Process_Auto_Relaunch
|
||||
this.Controls.Add(this.groupBoxActions);
|
||||
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "Form1";
|
||||
this.Text = "Relaunch Process";
|
||||
|
||||
Reference in New Issue
Block a user