mirror of
https://github.com/SlothDpal/Relaunch-Process.git
synced 2026-02-22 17:27:38 +03:00
223 lines
12 KiB
C#
223 lines
12 KiB
C#
namespace RelaunchProcess
|
|
{
|
|
partial class WebhookSettings
|
|
{
|
|
/// <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.lblDwhURL = new System.Windows.Forms.Label();
|
|
this.btnClearUrlField = new System.Windows.Forms.Button();
|
|
this.lblDwhBotname = new System.Windows.Forms.Label();
|
|
this.lblDwhAvatarUrl = new System.Windows.Forms.Label();
|
|
this.textDwhAvatarUrl = new System.Windows.Forms.TextBox();
|
|
this.textDwhBotName = new System.Windows.Forms.TextBox();
|
|
this.textDwhURL = new System.Windows.Forms.TextBox();
|
|
this.chbxDiscordEnabled = new System.Windows.Forms.CheckBox();
|
|
this.btnClearAvatarUrlField = new System.Windows.Forms.Button();
|
|
this.groupBoxSettingsDiscord = new System.Windows.Forms.GroupBox();
|
|
this.groupBoxSettingsDiscord.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnOk.Location = new System.Drawing.Point(236, 206);
|
|
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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Location = new System.Drawing.Point(317, 206);
|
|
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);
|
|
//
|
|
// lblDwhURL
|
|
//
|
|
this.lblDwhURL.AutoSize = true;
|
|
this.lblDwhURL.Location = new System.Drawing.Point(6, 103);
|
|
this.lblDwhURL.Name = "lblDwhURL";
|
|
this.lblDwhURL.Size = new System.Drawing.Size(147, 13);
|
|
this.lblDwhURL.TabIndex = 4;
|
|
this.lblDwhURL.Text = "URL-адрес Discord веб-хука";
|
|
//
|
|
// btnClearUrlField
|
|
//
|
|
this.btnClearUrlField.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnClearUrlField.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.btnClearUrlField.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.btnClearUrlField.Location = new System.Drawing.Point(350, 119);
|
|
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.ClearUrl);
|
|
//
|
|
// lblDwhBotname
|
|
//
|
|
this.lblDwhBotname.AutoSize = true;
|
|
this.lblDwhBotname.Location = new System.Drawing.Point(6, 25);
|
|
this.lblDwhBotname.Name = "lblDwhBotname";
|
|
this.lblDwhBotname.Size = new System.Drawing.Size(124, 13);
|
|
this.lblDwhBotname.TabIndex = 6;
|
|
this.lblDwhBotname.Text = "Имя бота в сообщении";
|
|
//
|
|
// lblDwhAvatarUrl
|
|
//
|
|
this.lblDwhAvatarUrl.AutoSize = true;
|
|
this.lblDwhAvatarUrl.Location = new System.Drawing.Point(6, 64);
|
|
this.lblDwhAvatarUrl.Name = "lblDwhAvatarUrl";
|
|
this.lblDwhAvatarUrl.Size = new System.Drawing.Size(132, 13);
|
|
this.lblDwhAvatarUrl.TabIndex = 6;
|
|
this.lblDwhAvatarUrl.Text = "URL-адрес аватара бота";
|
|
//
|
|
// textDwhAvatarUrl
|
|
//
|
|
this.textDwhAvatarUrl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.textDwhAvatarUrl.Location = new System.Drawing.Point(6, 80);
|
|
this.textDwhAvatarUrl.Name = "textDwhAvatarUrl";
|
|
this.textDwhAvatarUrl.Size = new System.Drawing.Size(338, 20);
|
|
this.textDwhAvatarUrl.TabIndex = 7;
|
|
//
|
|
// textDwhBotName
|
|
//
|
|
this.textDwhBotName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.textDwhBotName.Location = new System.Drawing.Point(6, 41);
|
|
this.textDwhBotName.MaxLength = 40;
|
|
this.textDwhBotName.Name = "textDwhBotName";
|
|
this.textDwhBotName.Size = new System.Drawing.Size(212, 20);
|
|
this.textDwhBotName.TabIndex = 7;
|
|
//
|
|
// textDwhURL
|
|
//
|
|
this.textDwhURL.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.textDwhURL.Location = new System.Drawing.Point(6, 119);
|
|
this.textDwhURL.Name = "textDwhURL";
|
|
this.textDwhURL.Size = new System.Drawing.Size(338, 20);
|
|
this.textDwhURL.TabIndex = 3;
|
|
//
|
|
// chbxDiscordEnabled
|
|
//
|
|
this.chbxDiscordEnabled.AutoSize = true;
|
|
this.chbxDiscordEnabled.Location = new System.Drawing.Point(12, 173);
|
|
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;
|
|
this.chbxDiscordEnabled.CheckedChanged += new System.EventHandler(this.chbxDiscordEnabled_CheckedChanged);
|
|
//
|
|
// btnClearAvatarUrlField
|
|
//
|
|
this.btnClearAvatarUrlField.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnClearAvatarUrlField.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.btnClearAvatarUrlField.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.btnClearAvatarUrlField.Location = new System.Drawing.Point(350, 81);
|
|
this.btnClearAvatarUrlField.Name = "btnClearAvatarUrlField";
|
|
this.btnClearAvatarUrlField.Size = new System.Drawing.Size(19, 19);
|
|
this.btnClearAvatarUrlField.TabIndex = 5;
|
|
this.btnClearAvatarUrlField.Text = "X";
|
|
this.btnClearAvatarUrlField.UseVisualStyleBackColor = true;
|
|
this.btnClearAvatarUrlField.Click += new System.EventHandler(this.ClearUrl);
|
|
//
|
|
// groupBoxSettingsDiscord
|
|
//
|
|
this.groupBoxSettingsDiscord.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBoxSettingsDiscord.Controls.Add(this.lblDwhBotname);
|
|
this.groupBoxSettingsDiscord.Controls.Add(this.textDwhURL);
|
|
this.groupBoxSettingsDiscord.Controls.Add(this.textDwhAvatarUrl);
|
|
this.groupBoxSettingsDiscord.Controls.Add(this.lblDwhURL);
|
|
this.groupBoxSettingsDiscord.Controls.Add(this.textDwhBotName);
|
|
this.groupBoxSettingsDiscord.Controls.Add(this.btnClearUrlField);
|
|
this.groupBoxSettingsDiscord.Controls.Add(this.lblDwhAvatarUrl);
|
|
this.groupBoxSettingsDiscord.Controls.Add(this.btnClearAvatarUrlField);
|
|
this.groupBoxSettingsDiscord.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBoxSettingsDiscord.Name = "groupBoxSettingsDiscord";
|
|
this.groupBoxSettingsDiscord.Size = new System.Drawing.Size(379, 155);
|
|
this.groupBoxSettingsDiscord.TabIndex = 8;
|
|
this.groupBoxSettingsDiscord.TabStop = false;
|
|
this.groupBoxSettingsDiscord.Text = "Discord";
|
|
//
|
|
// WebhookSettings
|
|
//
|
|
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(404, 241);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.chbxDiscordEnabled);
|
|
this.Controls.Add(this.groupBoxSettingsDiscord);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnOk);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(420, 280);
|
|
this.Name = "WebhookSettings";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Настройки webhook";
|
|
this.Load += new System.EventHandler(this.WebhookSettings_FormLoad);
|
|
this.groupBoxSettingsDiscord.ResumeLayout(false);
|
|
this.groupBoxSettingsDiscord.PerformLayout();
|
|
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;
|
|
private System.Windows.Forms.Button btnClearUrlField;
|
|
private System.Windows.Forms.Label lblDwhBotname;
|
|
private System.Windows.Forms.TextBox textDwhBotName;
|
|
private System.Windows.Forms.Label lblDwhAvatarUrl;
|
|
private System.Windows.Forms.TextBox textDwhAvatarUrl;
|
|
private System.Windows.Forms.Button btnClearAvatarUrlField;
|
|
private System.Windows.Forms.GroupBox groupBoxSettingsDiscord;
|
|
}
|
|
} |