mirror of
https://github.com/SlothDpal/Relaunch-Process.git
synced 2026-02-22 17:27:38 +03:00
DiscordWebHook as updateLogDelegate
Add: dwhURL dwhEnabled settings New: status messages
This commit is contained in:
121
DiscordSettings.Designer.cs
generated
Normal file
121
DiscordSettings.Designer.cs
generated
Normal file
@@ -0,0 +1,121 @@
|
||||
namespace RelaunchProcess
|
||||
{
|
||||
partial class DiscordSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.btnOk = new System.Windows.Forms.Button();
|
||||
this.btnCancel = new System.Windows.Forms.Button();
|
||||
this.chbxDiscordEnabled = new System.Windows.Forms.CheckBox();
|
||||
this.textDwhURL = new System.Windows.Forms.TextBox();
|
||||
this.lblDwhURL = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnOk
|
||||
//
|
||||
this.btnOk.Location = new System.Drawing.Point(193, 89);
|
||||
this.btnOk.Name = "btnOk";
|
||||
this.btnOk.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOk.TabIndex = 0;
|
||||
this.btnOk.Text = "Сохранить";
|
||||
this.btnOk.UseVisualStyleBackColor = true;
|
||||
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.Location = new System.Drawing.Point(274, 89);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.TabIndex = 1;
|
||||
this.btnCancel.Text = "Отменить";
|
||||
this.btnCancel.UseVisualStyleBackColor = true;
|
||||
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.Location = new System.Drawing.Point(12, 63);
|
||||
this.chbxDiscordEnabled.Name = "chbxDiscordEnabled";
|
||||
this.chbxDiscordEnabled.Size = new System.Drawing.Size(232, 17);
|
||||
this.chbxDiscordEnabled.TabIndex = 2;
|
||||
this.chbxDiscordEnabled.Text = "Включить отправку сообщений в Discord";
|
||||
this.chbxDiscordEnabled.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// textDwhURL
|
||||
//
|
||||
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;
|
||||
//
|
||||
// lblDwhURL
|
||||
//
|
||||
this.lblDwhURL.AutoSize = true;
|
||||
this.lblDwhURL.Location = new System.Drawing.Point(9, 9);
|
||||
this.lblDwhURL.Name = "lblDwhURL";
|
||||
this.lblDwhURL.Size = new System.Drawing.Size(147, 13);
|
||||
this.lblDwhURL.TabIndex = 4;
|
||||
this.lblDwhURL.Text = "URL-адрес Discord веб-хука";
|
||||
//
|
||||
// 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.ControlBox = false;
|
||||
this.Controls.Add(this.lblDwhURL);
|
||||
this.Controls.Add(this.textDwhURL);
|
||||
this.Controls.Add(this.chbxDiscordEnabled);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Controls.Add(this.btnOk);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "DiscordSettings";
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.Text = "Настройки Discord webhook";
|
||||
this.Load += new System.EventHandler(this.DiscordSettings_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button btnOk;
|
||||
private System.Windows.Forms.Button btnCancel;
|
||||
private System.Windows.Forms.CheckBox chbxDiscordEnabled;
|
||||
private System.Windows.Forms.TextBox textDwhURL;
|
||||
private System.Windows.Forms.Label lblDwhURL;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user