Font size increased to 10

This commit is contained in:
Vladimir
2024-05-15 18:29:31 +04:00
parent 2af44b8b4b
commit 72b28e2471
+70 -44
View File
@@ -68,9 +68,11 @@ namespace Process_Auto_Relaunch
this.groupBoxActions.Controls.Add(this.checkBoxCheckProcess); this.groupBoxActions.Controls.Add(this.checkBoxCheckProcess);
this.groupBoxActions.Controls.Add(this.radioButtonRestartTimer); this.groupBoxActions.Controls.Add(this.radioButtonRestartTimer);
this.groupBoxActions.Controls.Add(this.radioButtonRestartNow); this.groupBoxActions.Controls.Add(this.radioButtonRestartNow);
this.groupBoxActions.Location = new System.Drawing.Point(10, 64); this.groupBoxActions.Location = new System.Drawing.Point(13, 79);
this.groupBoxActions.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxActions.Name = "groupBoxActions"; this.groupBoxActions.Name = "groupBoxActions";
this.groupBoxActions.Size = new System.Drawing.Size(287, 111); this.groupBoxActions.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxActions.Size = new System.Drawing.Size(383, 111);
this.groupBoxActions.TabIndex = 0; this.groupBoxActions.TabIndex = 0;
this.groupBoxActions.TabStop = false; this.groupBoxActions.TabStop = false;
this.groupBoxActions.Text = "Действие после отсутствия процесса"; this.groupBoxActions.Text = "Действие после отсутствия процесса";
@@ -82,7 +84,8 @@ namespace Process_Auto_Relaunch
0, 0,
0, 0,
0}); 0});
this.numericUpDown1.Location = new System.Drawing.Point(149, 19); this.numericUpDown1.Location = new System.Drawing.Point(199, 23);
this.numericUpDown1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.numericUpDown1.Maximum = new decimal(new int[] { this.numericUpDown1.Maximum = new decimal(new int[] {
1800, 1800,
0, 0,
@@ -94,7 +97,7 @@ namespace Process_Auto_Relaunch
0, 0,
0}); 0});
this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(54, 20); this.numericUpDown1.Size = new System.Drawing.Size(72, 22);
this.numericUpDown1.TabIndex = 5; this.numericUpDown1.TabIndex = 5;
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.numericUpDown1.Value = new decimal(new int[] { this.numericUpDown1.Value = new decimal(new int[] {
@@ -106,9 +109,10 @@ namespace Process_Auto_Relaunch
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(209, 21); this.label1.Location = new System.Drawing.Point(279, 26);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(42, 13); this.label1.Size = new System.Drawing.Size(53, 16);
this.label1.TabIndex = 4; this.label1.TabIndex = 4;
this.label1.Text = "секунд"; this.label1.Text = "секунд";
// //
@@ -116,9 +120,10 @@ namespace Process_Auto_Relaunch
// //
this.radioButtonRestartTimer.AutoSize = true; this.radioButtonRestartTimer.AutoSize = true;
this.radioButtonRestartTimer.Checked = true; this.radioButtonRestartTimer.Checked = true;
this.radioButtonRestartTimer.Location = new System.Drawing.Point(9, 19); this.radioButtonRestartTimer.Location = new System.Drawing.Point(12, 23);
this.radioButtonRestartTimer.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.radioButtonRestartTimer.Name = "radioButtonRestartTimer"; this.radioButtonRestartTimer.Name = "radioButtonRestartTimer";
this.radioButtonRestartTimer.Size = new System.Drawing.Size(134, 17); this.radioButtonRestartTimer.Size = new System.Drawing.Size(170, 20);
this.radioButtonRestartTimer.TabIndex = 1; this.radioButtonRestartTimer.TabIndex = 1;
this.radioButtonRestartTimer.TabStop = true; this.radioButtonRestartTimer.TabStop = true;
this.radioButtonRestartTimer.Text = "Перезапустить через"; this.radioButtonRestartTimer.Text = "Перезапустить через";
@@ -126,9 +131,10 @@ namespace Process_Auto_Relaunch
// //
// buttonSetProgramStart // buttonSetProgramStart
// //
this.buttonSetProgramStart.Location = new System.Drawing.Point(4, 19); this.buttonSetProgramStart.Location = new System.Drawing.Point(5, 23);
this.buttonSetProgramStart.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.buttonSetProgramStart.Name = "buttonSetProgramStart"; this.buttonSetProgramStart.Name = "buttonSetProgramStart";
this.buttonSetProgramStart.Size = new System.Drawing.Size(67, 28); this.buttonSetProgramStart.Size = new System.Drawing.Size(89, 34);
this.buttonSetProgramStart.TabIndex = 1; this.buttonSetProgramStart.TabIndex = 1;
this.buttonSetProgramStart.Text = "Обзор"; this.buttonSetProgramStart.Text = "Обзор";
this.buttonSetProgramStart.UseVisualStyleBackColor = true; this.buttonSetProgramStart.UseVisualStyleBackColor = true;
@@ -142,9 +148,11 @@ namespace Process_Auto_Relaunch
this.groupBoxProgramStart.Controls.Add(this.labelArguments); this.groupBoxProgramStart.Controls.Add(this.labelArguments);
this.groupBoxProgramStart.Controls.Add(this.labelProgramStartPath); this.groupBoxProgramStart.Controls.Add(this.labelProgramStartPath);
this.groupBoxProgramStart.Controls.Add(this.buttonSetProgramStart); this.groupBoxProgramStart.Controls.Add(this.buttonSetProgramStart);
this.groupBoxProgramStart.Location = new System.Drawing.Point(10, 180); this.groupBoxProgramStart.Location = new System.Drawing.Point(13, 198);
this.groupBoxProgramStart.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxProgramStart.Name = "groupBoxProgramStart"; this.groupBoxProgramStart.Name = "groupBoxProgramStart";
this.groupBoxProgramStart.Size = new System.Drawing.Size(287, 113); this.groupBoxProgramStart.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxProgramStart.Size = new System.Drawing.Size(383, 139);
this.groupBoxProgramStart.TabIndex = 6; this.groupBoxProgramStart.TabIndex = 6;
this.groupBoxProgramStart.TabStop = false; this.groupBoxProgramStart.TabStop = false;
this.groupBoxProgramStart.Text = "Запуск программы"; this.groupBoxProgramStart.Text = "Запуск программы";
@@ -152,9 +160,10 @@ namespace Process_Auto_Relaunch
// labelArguments // labelArguments
// //
this.labelArguments.AutoSize = true; this.labelArguments.AutoSize = true;
this.labelArguments.Location = new System.Drawing.Point(4, 72); this.labelArguments.Location = new System.Drawing.Point(5, 89);
this.labelArguments.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelArguments.Name = "labelArguments"; this.labelArguments.Name = "labelArguments";
this.labelArguments.Size = new System.Drawing.Size(153, 13); this.labelArguments.Size = new System.Drawing.Size(193, 16);
this.labelArguments.TabIndex = 3; this.labelArguments.TabIndex = 3;
this.labelArguments.Text = "Дополнительные аргументы"; this.labelArguments.Text = "Дополнительные аргументы";
// //
@@ -163,9 +172,11 @@ namespace Process_Auto_Relaunch
this.groupBoxProcessName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.groupBoxProcessName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxProcessName.Controls.Add(this.textBoxProcessName); this.groupBoxProcessName.Controls.Add(this.textBoxProcessName);
this.groupBoxProcessName.Location = new System.Drawing.Point(10, 10); this.groupBoxProcessName.Location = new System.Drawing.Point(13, 12);
this.groupBoxProcessName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxProcessName.Name = "groupBoxProcessName"; this.groupBoxProcessName.Name = "groupBoxProcessName";
this.groupBoxProcessName.Size = new System.Drawing.Size(287, 50); this.groupBoxProcessName.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxProcessName.Size = new System.Drawing.Size(383, 62);
this.groupBoxProcessName.TabIndex = 8; this.groupBoxProcessName.TabIndex = 8;
this.groupBoxProcessName.TabStop = false; this.groupBoxProcessName.TabStop = false;
this.groupBoxProcessName.Text = "Название наблюдаемого процесса"; this.groupBoxProcessName.Text = "Название наблюдаемого процесса";
@@ -177,10 +188,12 @@ namespace Process_Auto_Relaunch
this.groupBoxEnabled.Controls.Add(this.checkBoxSaveState); this.groupBoxEnabled.Controls.Add(this.checkBoxSaveState);
this.groupBoxEnabled.Controls.Add(this.radioButtonEnableWathing); this.groupBoxEnabled.Controls.Add(this.radioButtonEnableWathing);
this.groupBoxEnabled.Controls.Add(this.radioButtonDisableWathing); this.groupBoxEnabled.Controls.Add(this.radioButtonDisableWathing);
this.groupBoxEnabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); 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(10, 298); this.groupBoxEnabled.Location = new System.Drawing.Point(13, 345);
this.groupBoxEnabled.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxEnabled.Name = "groupBoxEnabled"; this.groupBoxEnabled.Name = "groupBoxEnabled";
this.groupBoxEnabled.Size = new System.Drawing.Size(287, 72); this.groupBoxEnabled.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxEnabled.Size = new System.Drawing.Size(383, 89);
this.groupBoxEnabled.TabIndex = 9; this.groupBoxEnabled.TabIndex = 9;
this.groupBoxEnabled.TabStop = false; this.groupBoxEnabled.TabStop = false;
this.groupBoxEnabled.Text = "Состояние"; this.groupBoxEnabled.Text = "Состояние";
@@ -188,10 +201,11 @@ namespace Process_Auto_Relaunch
// radioButtonEnableWathing // radioButtonEnableWathing
// //
this.radioButtonEnableWathing.AutoSize = true; this.radioButtonEnableWathing.AutoSize = true;
this.radioButtonEnableWathing.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); 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(106, 19); this.radioButtonEnableWathing.Location = new System.Drawing.Point(141, 23);
this.radioButtonEnableWathing.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.radioButtonEnableWathing.Name = "radioButtonEnableWathing"; this.radioButtonEnableWathing.Name = "radioButtonEnableWathing";
this.radioButtonEnableWathing.Size = new System.Drawing.Size(75, 17); this.radioButtonEnableWathing.Size = new System.Drawing.Size(91, 20);
this.radioButtonEnableWathing.TabIndex = 1; this.radioButtonEnableWathing.TabIndex = 1;
this.radioButtonEnableWathing.Text = "Включено"; this.radioButtonEnableWathing.Text = "Включено";
this.radioButtonEnableWathing.UseVisualStyleBackColor = true; this.radioButtonEnableWathing.UseVisualStyleBackColor = true;
@@ -201,10 +215,11 @@ namespace Process_Auto_Relaunch
// //
this.radioButtonDisableWathing.AutoSize = true; this.radioButtonDisableWathing.AutoSize = true;
this.radioButtonDisableWathing.Checked = true; this.radioButtonDisableWathing.Checked = true;
this.radioButtonDisableWathing.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); 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(8, 19); this.radioButtonDisableWathing.Location = new System.Drawing.Point(11, 23);
this.radioButtonDisableWathing.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.radioButtonDisableWathing.Name = "radioButtonDisableWathing"; this.radioButtonDisableWathing.Name = "radioButtonDisableWathing";
this.radioButtonDisableWathing.Size = new System.Drawing.Size(83, 17); this.radioButtonDisableWathing.Size = new System.Drawing.Size(100, 20);
this.radioButtonDisableWathing.TabIndex = 0; this.radioButtonDisableWathing.TabIndex = 0;
this.radioButtonDisableWathing.TabStop = true; this.radioButtonDisableWathing.TabStop = true;
this.radioButtonDisableWathing.Text = "Выключено"; this.radioButtonDisableWathing.Text = "Выключено";
@@ -216,9 +231,11 @@ namespace Process_Auto_Relaunch
this.groupBoxStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.groupBoxStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxStatus.Controls.Add(this.labelStatus); this.groupBoxStatus.Controls.Add(this.labelStatus);
this.groupBoxStatus.Location = new System.Drawing.Point(10, 375); this.groupBoxStatus.Location = new System.Drawing.Point(13, 442);
this.groupBoxStatus.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxStatus.Name = "groupBoxStatus"; this.groupBoxStatus.Name = "groupBoxStatus";
this.groupBoxStatus.Size = new System.Drawing.Size(287, 52); this.groupBoxStatus.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBoxStatus.Size = new System.Drawing.Size(383, 64);
this.groupBoxStatus.TabIndex = 10; this.groupBoxStatus.TabIndex = 10;
this.groupBoxStatus.TabStop = false; this.groupBoxStatus.TabStop = false;
this.groupBoxStatus.Text = "Текущий статус"; this.groupBoxStatus.Text = "Текущий статус";
@@ -226,9 +243,10 @@ namespace Process_Auto_Relaunch
// labelStatus // labelStatus
// //
this.labelStatus.AutoSize = true; this.labelStatus.AutoSize = true;
this.labelStatus.Location = new System.Drawing.Point(15, 25); this.labelStatus.Location = new System.Drawing.Point(20, 31);
this.labelStatus.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelStatus.Name = "labelStatus"; this.labelStatus.Name = "labelStatus";
this.labelStatus.Size = new System.Drawing.Size(74, 13); this.labelStatus.Size = new System.Drawing.Size(93, 16);
this.labelStatus.TabIndex = 0; this.labelStatus.TabIndex = 0;
this.labelStatus.Text = "Не запущено"; this.labelStatus.Text = "Не запущено";
// //
@@ -243,10 +261,11 @@ namespace Process_Auto_Relaunch
this.checkBoxSaveState.Checked = global::RelaunchProcess.Properties.Settings.Default.saveOldState; this.checkBoxSaveState.Checked = global::RelaunchProcess.Properties.Settings.Default.saveOldState;
this.checkBoxSaveState.CheckState = System.Windows.Forms.CheckState.Checked; 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.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", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); 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(15, 41); 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.Name = "checkBoxSaveState";
this.checkBoxSaveState.Size = new System.Drawing.Size(201, 17); this.checkBoxSaveState.Size = new System.Drawing.Size(251, 20);
this.checkBoxSaveState.TabIndex = 2; this.checkBoxSaveState.TabIndex = 2;
this.checkBoxSaveState.Text = "Запоминать последнее состояние"; this.checkBoxSaveState.Text = "Запоминать последнее состояние";
this.checkBoxSaveState.UseVisualStyleBackColor = true; this.checkBoxSaveState.UseVisualStyleBackColor = true;
@@ -256,18 +275,20 @@ namespace Process_Auto_Relaunch
this.textBoxProcessName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.textBoxProcessName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | 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.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(5, 20); 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.Name = "textBoxProcessName";
this.textBoxProcessName.Size = new System.Drawing.Size(277, 20); this.textBoxProcessName.Size = new System.Drawing.Size(368, 22);
this.textBoxProcessName.TabIndex = 3; this.textBoxProcessName.TabIndex = 3;
this.textBoxProcessName.Text = global::RelaunchProcess.Properties.Settings.Default.processName; this.textBoxProcessName.Text = global::RelaunchProcess.Properties.Settings.Default.processName;
// //
// textBoxArguments // 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.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(5, 88); 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.Name = "textBoxArguments";
this.textBoxArguments.Size = new System.Drawing.Size(275, 20); this.textBoxArguments.Size = new System.Drawing.Size(365, 22);
this.textBoxArguments.TabIndex = 4; this.textBoxArguments.TabIndex = 4;
this.textBoxArguments.Text = global::RelaunchProcess.Properties.Settings.Default.arguments; this.textBoxArguments.Text = global::RelaunchProcess.Properties.Settings.Default.arguments;
// //
@@ -275,9 +296,10 @@ namespace Process_Auto_Relaunch
// //
this.labelProgramStartPath.AutoSize = true; 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.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(5, 50); 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.Name = "labelProgramStartPath";
this.labelProgramStartPath.Size = new System.Drawing.Size(0, 13); this.labelProgramStartPath.Size = new System.Drawing.Size(0, 16);
this.labelProgramStartPath.TabIndex = 2; this.labelProgramStartPath.TabIndex = 2;
this.labelProgramStartPath.Text = global::RelaunchProcess.Properties.Settings.Default.startProgramPath; this.labelProgramStartPath.Text = global::RelaunchProcess.Properties.Settings.Default.startProgramPath;
// //
@@ -287,9 +309,10 @@ namespace Process_Auto_Relaunch
this.checkBoxCheckProcess.Checked = global::RelaunchProcess.Properties.Settings.Default.checkBeforeStart; this.checkBoxCheckProcess.Checked = global::RelaunchProcess.Properties.Settings.Default.checkBeforeStart;
this.checkBoxCheckProcess.CheckState = System.Windows.Forms.CheckState.Checked; 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.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(12, 80); 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.Name = "checkBoxCheckProcess";
this.checkBoxCheckProcess.Size = new System.Drawing.Size(153, 17); this.checkBoxCheckProcess.Size = new System.Drawing.Size(190, 20);
this.checkBoxCheckProcess.TabIndex = 2; this.checkBoxCheckProcess.TabIndex = 2;
this.checkBoxCheckProcess.Text = "Не создавать дубликаты"; this.checkBoxCheckProcess.Text = "Не создавать дубликаты";
this.checkBoxCheckProcess.UseVisualStyleBackColor = true; this.checkBoxCheckProcess.UseVisualStyleBackColor = true;
@@ -299,24 +322,27 @@ namespace Process_Auto_Relaunch
this.radioButtonRestartNow.AutoSize = true; this.radioButtonRestartNow.AutoSize = true;
this.radioButtonRestartNow.Checked = global::RelaunchProcess.Properties.Settings.Default.restartNow; 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.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(8, 41); 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.Name = "radioButtonRestartNow";
this.radioButtonRestartNow.Size = new System.Drawing.Size(135, 17); this.radioButtonRestartNow.Size = new System.Drawing.Size(169, 20);
this.radioButtonRestartNow.TabIndex = 0; this.radioButtonRestartNow.TabIndex = 0;
this.radioButtonRestartNow.Text = "Перезапускать сразу"; this.radioButtonRestartNow.Text = "Перезапускать сразу";
this.radioButtonRestartNow.UseVisualStyleBackColor = true; this.radioButtonRestartNow.UseVisualStyleBackColor = true;
// //
// Form1 // Form1
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(316, 445); this.ClientSize = new System.Drawing.Size(421, 533);
this.Controls.Add(this.groupBoxStatus); this.Controls.Add(this.groupBoxStatus);
this.Controls.Add(this.groupBoxEnabled); this.Controls.Add(this.groupBoxEnabled);
this.Controls.Add(this.groupBoxProcessName); this.Controls.Add(this.groupBoxProcessName);
this.Controls.Add(this.groupBoxProgramStart); this.Controls.Add(this.groupBoxProgramStart);
this.Controls.Add(this.groupBoxActions); 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.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.MaximizeBox = false; this.MaximizeBox = false;
this.Name = "Form1"; this.Name = "Form1";
this.Text = "Relaunch Process"; this.Text = "Relaunch Process";