176 lines
8.1 KiB
C#
176 lines
8.1 KiB
C#
|
|
namespace ntfysh_client
|
|
{
|
|
partial class SettingsDialog
|
|
{
|
|
/// <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()
|
|
{
|
|
buttonPanel = new System.Windows.Forms.Panel();
|
|
cancelButton = new System.Windows.Forms.Button();
|
|
saveButton = new System.Windows.Forms.Button();
|
|
timeoutLabel = new System.Windows.Forms.Label();
|
|
timeout = new System.Windows.Forms.NumericUpDown();
|
|
reconnectAttempts = new System.Windows.Forms.NumericUpDown();
|
|
reconnectAttemptsLabel = new System.Windows.Forms.Label();
|
|
reconnectAttemptDelay = new System.Windows.Forms.NumericUpDown();
|
|
reconnectAttemptDelayLabel = new System.Windows.Forms.Label();
|
|
buttonPanel.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)timeout).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)reconnectAttempts).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)reconnectAttemptDelay).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// buttonPanel
|
|
//
|
|
buttonPanel.BackColor = System.Drawing.SystemColors.Control;
|
|
buttonPanel.Controls.Add(cancelButton);
|
|
buttonPanel.Controls.Add(saveButton);
|
|
buttonPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
buttonPanel.Location = new System.Drawing.Point(0, 150);
|
|
buttonPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
buttonPanel.Name = "buttonPanel";
|
|
buttonPanel.Size = new System.Drawing.Size(531, 51);
|
|
buttonPanel.TabIndex = 0;
|
|
//
|
|
// cancelButton
|
|
//
|
|
cancelButton.Location = new System.Drawing.Point(363, 16);
|
|
cancelButton.Name = "cancelButton";
|
|
cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
cancelButton.TabIndex = 2;
|
|
cancelButton.Text = "Cancel";
|
|
cancelButton.UseVisualStyleBackColor = true;
|
|
cancelButton.Click += cancelButton_Click;
|
|
//
|
|
// saveButton
|
|
//
|
|
saveButton.Location = new System.Drawing.Point(444, 16);
|
|
saveButton.Name = "saveButton";
|
|
saveButton.Size = new System.Drawing.Size(75, 23);
|
|
saveButton.TabIndex = 1;
|
|
saveButton.Text = "Save";
|
|
saveButton.UseVisualStyleBackColor = true;
|
|
saveButton.Click += saveButton_Click;
|
|
//
|
|
// timeoutLabel
|
|
//
|
|
timeoutLabel.AutoSize = true;
|
|
timeoutLabel.Location = new System.Drawing.Point(13, 9);
|
|
timeoutLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
timeoutLabel.Name = "timeoutLabel";
|
|
timeoutLabel.Size = new System.Drawing.Size(488, 15);
|
|
timeoutLabel.TabIndex = 3;
|
|
timeoutLabel.Text = "Notification Toast Timeout (seconds, use -1 to require closing notification):";
|
|
//
|
|
// timeout
|
|
//
|
|
timeout.Location = new System.Drawing.Point(13, 28);
|
|
timeout.Maximum = new decimal(new int[] { -1981284353, -1966660860, 0, 0 });
|
|
timeout.Minimum = new decimal(new int[] { 1, 0, 0, int.MinValue });
|
|
timeout.Name = "timeout";
|
|
timeout.Size = new System.Drawing.Size(506, 23);
|
|
timeout.TabIndex = 4;
|
|
//
|
|
// reconnectAttempts
|
|
//
|
|
reconnectAttempts.Location = new System.Drawing.Point(12, 73);
|
|
reconnectAttempts.Maximum = new decimal(new int[] { -1981284353, -1966660860, 0, 0 });
|
|
reconnectAttempts.Name = "reconnectAttempts";
|
|
reconnectAttempts.Size = new System.Drawing.Size(506, 23);
|
|
reconnectAttempts.TabIndex = 6;
|
|
//
|
|
// reconnectAttemptsLabel
|
|
//
|
|
reconnectAttemptsLabel.AutoSize = true;
|
|
reconnectAttemptsLabel.Location = new System.Drawing.Point(12, 54);
|
|
reconnectAttemptsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
reconnectAttemptsLabel.Name = "reconnectAttemptsLabel";
|
|
reconnectAttemptsLabel.Size = new System.Drawing.Size(198, 15);
|
|
reconnectAttemptsLabel.TabIndex = 5;
|
|
reconnectAttemptsLabel.Text = "Maximum reconnect retry attempts (requires restart):";
|
|
//
|
|
// reconnectAttemptDelay
|
|
//
|
|
reconnectAttemptDelay.Location = new System.Drawing.Point(12, 118);
|
|
reconnectAttemptDelay.Maximum = new decimal(new int[] { -1981284353, -1966660860, 0, 0 });
|
|
reconnectAttemptDelay.Name = "reconnectAttemptDelay";
|
|
reconnectAttemptDelay.Size = new System.Drawing.Size(506, 23);
|
|
reconnectAttemptDelay.TabIndex = 8;
|
|
//
|
|
// reconnectAttemptDelayLabel
|
|
//
|
|
reconnectAttemptDelayLabel.AutoSize = true;
|
|
reconnectAttemptDelayLabel.Location = new System.Drawing.Point(12, 99);
|
|
reconnectAttemptDelayLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
reconnectAttemptDelayLabel.Name = "reconnectAttemptDelayLabel";
|
|
reconnectAttemptDelayLabel.Size = new System.Drawing.Size(191, 15);
|
|
reconnectAttemptDelayLabel.TabIndex = 7;
|
|
reconnectAttemptDelayLabel.Text = "Delay between attempts (seconds, requires restart):";
|
|
//
|
|
// SettingsDialog
|
|
//
|
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
BackColor = System.Drawing.Color.White;
|
|
ClientSize = new System.Drawing.Size(531, 201);
|
|
Controls.Add(reconnectAttemptDelay);
|
|
Controls.Add(reconnectAttemptDelayLabel);
|
|
Controls.Add(reconnectAttempts);
|
|
Controls.Add(reconnectAttemptsLabel);
|
|
Controls.Add(timeout);
|
|
Controls.Add(timeoutLabel);
|
|
Controls.Add(buttonPanel);
|
|
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "SettingsDialog";
|
|
ShowIcon = false;
|
|
ShowInTaskbar = false;
|
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
Text = "Settings";
|
|
buttonPanel.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)timeout).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)reconnectAttempts).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)reconnectAttemptDelay).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel buttonPanel;
|
|
private System.Windows.Forms.Label timeoutLabel;
|
|
private System.Windows.Forms.NumericUpDown timeout;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Button saveButton;
|
|
private System.Windows.Forms.NumericUpDown reconnectAttempts;
|
|
private System.Windows.Forms.Label reconnectAttemptsLabel;
|
|
private System.Windows.Forms.NumericUpDown reconnectAttemptDelay;
|
|
private System.Windows.Forms.Label reconnectAttemptDelayLabel;
|
|
}
|
|
} |