TKK_E32230371/UPSNet/ConfigForm.Designer.cs

138 lines
4.8 KiB
C#

/*
* Created by SharpDevelop.
* User: EVXIO
* Date: 4/4/2025
* Time: 1:59 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace UPSNet
{
partial class ConfigForm
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.Label labelAddress;
private System.Windows.Forms.TextBox textBoxAddress;
private System.Windows.Forms.Label labelShutMode;
private System.Windows.Forms.ComboBox comboBoxShutMode;
private System.Windows.Forms.Button buttonCancel;
private System.Windows.Forms.Button buttonOk;
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent(){
this.labelAddress = new System.Windows.Forms.Label();
this.textBoxAddress = new System.Windows.Forms.TextBox();
this.labelShutMode = new System.Windows.Forms.Label();
this.comboBoxShutMode = new System.Windows.Forms.ComboBox();
this.buttonCancel = new System.Windows.Forms.Button();
this.buttonOk = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// labelAddress
//
this.labelAddress.Location = new System.Drawing.Point(12, 9);
this.labelAddress.Name = "labelAddress";
this.labelAddress.Size = new System.Drawing.Size(88, 20);
this.labelAddress.TabIndex = 0;
this.labelAddress.Text = "UPS Address";
//
// textBoxAddress
//
this.textBoxAddress.Location = new System.Drawing.Point(106, 6);
this.textBoxAddress.MaxLength = 200;
this.textBoxAddress.Name = "textBoxAddress";
this.textBoxAddress.Size = new System.Drawing.Size(146, 20);
this.textBoxAddress.TabIndex = 1;
this.textBoxAddress.Text = "192.168.0.99";
//
// labelShutMode
//
this.labelShutMode.Location = new System.Drawing.Point(12, 43);
this.labelShutMode.Name = "labelShutMode";
this.labelShutMode.Size = new System.Drawing.Size(88, 20);
this.labelShutMode.TabIndex = 2;
this.labelShutMode.Text = "Shutdown Mode";
//
// comboBoxShutMode
//
this.comboBoxShutMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxShutMode.FormattingEnabled = true;
this.comboBoxShutMode.Items.AddRange(new object[] {
"Use UPS Suggestion",
"Disabled",
"On Battery (AC Loss)",
"≤75% Battery",
"≤50% Battery",
"≤25% Battery",
"Battery Critical"});
this.comboBoxShutMode.Location = new System.Drawing.Point(106, 40);
this.comboBoxShutMode.Name = "comboBoxShutMode";
this.comboBoxShutMode.Size = new System.Drawing.Size(146, 21);
this.comboBoxShutMode.TabIndex = 3;
//
// buttonCancel
//
this.buttonCancel.Location = new System.Drawing.Point(189, 71);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(63, 23);
this.buttonCancel.TabIndex = 4;
this.buttonCancel.Text = "Cancel";
this.buttonCancel.UseVisualStyleBackColor = true;
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick);
//
// buttonOk
//
this.buttonOk.Location = new System.Drawing.Point(106, 70);
this.buttonOk.Name = "buttonOk";
this.buttonOk.Size = new System.Drawing.Size(63, 23);
this.buttonOk.TabIndex = 5;
this.buttonOk.Text = "OK";
this.buttonOk.UseVisualStyleBackColor = true;
this.buttonOk.Click += new System.EventHandler(this.ButtonOkClick);
//
// ConfigForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(278, 103);
this.Controls.Add(this.buttonOk);
this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.comboBoxShutMode);
this.Controls.Add(this.labelShutMode);
this.Controls.Add(this.textBoxAddress);
this.Controls.Add(this.labelAddress);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ConfigForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "EVXIO UPS Net - Configuration";
this.Shown += new System.EventHandler(this.ConfigFormShown);
this.ResumeLayout(false);
this.PerformLayout();
}
}
}