mirror of
https://github.com/SlothDpal/Relaunch-Process.git
synced 2026-02-22 17:27:38 +03:00
Change notify system, refactoring
This commit is contained in:
27
DiscordSettings.Designer.cs
generated
27
DiscordSettings.Designer.cs
generated
@@ -33,6 +33,7 @@
|
||||
this.chbxDiscordEnabled = new System.Windows.Forms.CheckBox();
|
||||
this.textDwhURL = new System.Windows.Forms.TextBox();
|
||||
this.lblDwhURL = new System.Windows.Forms.Label();
|
||||
this.btnClearUrlField = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnOk
|
||||
@@ -43,7 +44,7 @@
|
||||
this.btnOk.TabIndex = 0;
|
||||
this.btnOk.Text = "Сохранить";
|
||||
this.btnOk.UseVisualStyleBackColor = true;
|
||||
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
||||
this.btnOk.Click += new System.EventHandler(this.BtnOk_Click);
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
@@ -54,13 +55,13 @@
|
||||
this.btnCancel.TabIndex = 1;
|
||||
this.btnCancel.Text = "Отменить";
|
||||
this.btnCancel.UseVisualStyleBackColor = true;
|
||||
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||
this.btnCancel.Click += new System.EventHandler(this.BtnCancel_Click);
|
||||
//
|
||||
// chbxDiscordEnabled
|
||||
//
|
||||
this.chbxDiscordEnabled.AutoSize = true;
|
||||
this.chbxDiscordEnabled.Checked = true;
|
||||
this.chbxDiscordEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chbxDiscordEnabled.Checked = global::RelaunchProcess.Properties.Settings.Default.dwhEnabled;
|
||||
this.chbxDiscordEnabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::RelaunchProcess.Properties.Settings.Default, "dwhEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.chbxDiscordEnabled.Location = new System.Drawing.Point(12, 63);
|
||||
this.chbxDiscordEnabled.Name = "chbxDiscordEnabled";
|
||||
this.chbxDiscordEnabled.Size = new System.Drawing.Size(232, 17);
|
||||
@@ -70,10 +71,12 @@
|
||||
//
|
||||
// textDwhURL
|
||||
//
|
||||
this.textDwhURL.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::RelaunchProcess.Properties.Settings.Default, "dwhURL", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
||||
this.textDwhURL.Location = new System.Drawing.Point(12, 37);
|
||||
this.textDwhURL.Name = "textDwhURL";
|
||||
this.textDwhURL.Size = new System.Drawing.Size(337, 20);
|
||||
this.textDwhURL.TabIndex = 3;
|
||||
this.textDwhURL.Text = global::RelaunchProcess.Properties.Settings.Default.dwhURL;
|
||||
//
|
||||
// lblDwhURL
|
||||
//
|
||||
@@ -84,14 +87,26 @@
|
||||
this.lblDwhURL.TabIndex = 4;
|
||||
this.lblDwhURL.Text = "URL-адрес Discord веб-хука";
|
||||
//
|
||||
// btnClearUrlField
|
||||
//
|
||||
this.btnClearUrlField.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnClearUrlField.Location = new System.Drawing.Point(351, 38);
|
||||
this.btnClearUrlField.Name = "btnClearUrlField";
|
||||
this.btnClearUrlField.Size = new System.Drawing.Size(19, 19);
|
||||
this.btnClearUrlField.TabIndex = 5;
|
||||
this.btnClearUrlField.Text = "X";
|
||||
this.btnClearUrlField.UseVisualStyleBackColor = true;
|
||||
this.btnClearUrlField.Click += new System.EventHandler(this.BtnClearUrlField_Click);
|
||||
//
|
||||
// DiscordSettings
|
||||
//
|
||||
this.AcceptButton = this.btnOk;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(361, 128);
|
||||
this.ClientSize = new System.Drawing.Size(375, 128);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.btnClearUrlField);
|
||||
this.Controls.Add(this.lblDwhURL);
|
||||
this.Controls.Add(this.textDwhURL);
|
||||
this.Controls.Add(this.chbxDiscordEnabled);
|
||||
@@ -104,7 +119,6 @@
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.Text = "Настройки Discord webhook";
|
||||
this.Load += new System.EventHandler(this.DiscordSettings_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -117,5 +131,6 @@
|
||||
private System.Windows.Forms.CheckBox chbxDiscordEnabled;
|
||||
private System.Windows.Forms.TextBox textDwhURL;
|
||||
private System.Windows.Forms.Label lblDwhURL;
|
||||
private System.Windows.Forms.Button btnClearUrlField;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user