139 lines
6.1 KiB
C#
139 lines
6.1 KiB
C#
![]() |
namespace EthernetSpeedMonitor
|
|||
|
{
|
|||
|
partial class SettingsForm
|
|||
|
{
|
|||
|
/// <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.chkAutoStart = new System.Windows.Forms.CheckBox();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.numUpdateInterval = new System.Windows.Forms.NumericUpDown();
|
|||
|
this.btnOK = new System.Windows.Forms.Button();
|
|||
|
this.btnCancel = new System.Windows.Forms.Button();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.numUpdateInterval)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// chkAutoStart
|
|||
|
//
|
|||
|
this.chkAutoStart.AutoSize = true;
|
|||
|
this.chkAutoStart.Location = new System.Drawing.Point(15, 15);
|
|||
|
this.chkAutoStart.Name = "chkAutoStart";
|
|||
|
this.chkAutoStart.Size = new System.Drawing.Size(170, 17);
|
|||
|
this.chkAutoStart.TabIndex = 0;
|
|||
|
this.chkAutoStart.Text = "Запускать вместе с Windows";
|
|||
|
this.chkAutoStart.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(12, 47);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(148, 13);
|
|||
|
this.label1.TabIndex = 1;
|
|||
|
this.label1.Text = "Интервал обновления (сек):";
|
|||
|
//
|
|||
|
// numUpdateInterval
|
|||
|
//
|
|||
|
this.numUpdateInterval.Location = new System.Drawing.Point(166, 45);
|
|||
|
this.numUpdateInterval.Maximum = new decimal(new int[] {
|
|||
|
300, // 5 минут
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.numUpdateInterval.Minimum = new decimal(new int[] {
|
|||
|
1, // 1 секунда
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.numUpdateInterval.Name = "numUpdateInterval";
|
|||
|
this.numUpdateInterval.Size = new System.Drawing.Size(60, 20);
|
|||
|
this.numUpdateInterval.TabIndex = 2;
|
|||
|
this.numUpdateInterval.Value = new decimal(new int[] {
|
|||
|
5, // По умолчанию 5 секунд
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
//
|
|||
|
// btnOK
|
|||
|
//
|
|||
|
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|||
|
this.btnOK.Location = new System.Drawing.Point(73, 83);
|
|||
|
this.btnOK.Name = "btnOK";
|
|||
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.btnOK.TabIndex = 3;
|
|||
|
this.btnOK.Text = "OK";
|
|||
|
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(154, 83);
|
|||
|
this.btnCancel.Name = "btnCancel";
|
|||
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.btnCancel.TabIndex = 4;
|
|||
|
this.btnCancel.Text = "Отмена";
|
|||
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|||
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|||
|
//
|
|||
|
// SettingsForm
|
|||
|
//
|
|||
|
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(241, 118);
|
|||
|
this.Controls.Add(this.btnCancel);
|
|||
|
this.Controls.Add(this.btnOK);
|
|||
|
this.Controls.Add(this.numUpdateInterval);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Controls.Add(this.chkAutoStart);
|
|||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|||
|
this.MaximizeBox = false;
|
|||
|
this.MinimizeBox = false;
|
|||
|
this.Name = "SettingsForm";
|
|||
|
this.ShowIcon = false; // Не показывать иконку окна
|
|||
|
this.ShowInTaskbar = false; // Не показывать в панели задач
|
|||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; // По центру родительского окна (если оно есть) или экрана
|
|||
|
this.Text = "Настройки Ethernet Speed Monitor";
|
|||
|
this.Load += new System.EventHandler(this.SettingsForm_Load);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.numUpdateInterval)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.CheckBox chkAutoStart;
|
|||
|
private System.Windows.Forms.Label label1;
|
|||
|
private System.Windows.Forms.NumericUpDown numUpdateInterval;
|
|||
|
private System.Windows.Forms.Button btnOK;
|
|||
|
private System.Windows.Forms.Button btnCancel;
|
|||
|
}
|
|||
|
}
|