137 lines
6.1 KiB
C#
137 lines
6.1 KiB
C#
namespace UPSNet
|
|
{
|
|
partial class UPSForm
|
|
{
|
|
/// <summary>
|
|
/// Designer variable used to keep track of non-visual components.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
private System.Windows.Forms.Label labelConnection;
|
|
private System.Windows.Forms.Button buttonConfig;
|
|
private System.Windows.Forms.ImageList imageListMain;
|
|
private System.Windows.Forms.Label labelInfo;
|
|
private System.Windows.Forms.Timer timerUpdate;
|
|
private System.Windows.Forms.Label labelState;
|
|
private System.Windows.Forms.Label labelBattLevel;
|
|
private System.Windows.Forms.Label labelStateEx;
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing) {
|
|
if (components != null) {
|
|
components.Dispose();
|
|
}
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UPSForm));
|
|
this.labelConnection = new System.Windows.Forms.Label();
|
|
this.buttonConfig = new System.Windows.Forms.Button();
|
|
this.imageListMain = new System.Windows.Forms.ImageList(this.components);
|
|
this.timerUpdate = new System.Windows.Forms.Timer(this.components);
|
|
this.labelState = new System.Windows.Forms.Label();
|
|
this.labelBattLevel = new System.Windows.Forms.Label();
|
|
this.labelInfo = new System.Windows.Forms.Label();
|
|
this.labelStateEx = new System.Windows.Forms.Label();
|
|
|
|
this.SuspendLayout();
|
|
//
|
|
// labelConnection
|
|
//
|
|
this.labelConnection.Location = new System.Drawing.Point(12, 15);
|
|
this.labelConnection.Name = "labelConnection";
|
|
this.labelConnection.Size = new System.Drawing.Size(84, 27);
|
|
this.labelConnection.TabIndex = 0;
|
|
this.labelConnection.Text = "No Connection";
|
|
//
|
|
// buttonConfig
|
|
//
|
|
this.buttonConfig.ImageIndex = 0;
|
|
this.buttonConfig.ImageList = this.imageListMain;
|
|
this.buttonConfig.Location = new System.Drawing.Point(225, 12);
|
|
this.buttonConfig.Name = "buttonConfig";
|
|
this.buttonConfig.Size = new System.Drawing.Size(47, 31);
|
|
this.buttonConfig.TabIndex = 1;
|
|
this.buttonConfig.UseVisualStyleBackColor = true;
|
|
this.buttonConfig.Click += new System.EventHandler(this.ButtonConfigClick);
|
|
//
|
|
// imageListMain
|
|
//
|
|
this.imageListMain.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListMain.ImageStream")));
|
|
this.imageListMain.TransparentColor = System.Drawing.Color.Transparent;
|
|
this.imageListMain.Images.SetKeyName(0, "ellipsis16.png");
|
|
//
|
|
// timerUpdate
|
|
//
|
|
this.timerUpdate.Enabled = true;
|
|
this.timerUpdate.Interval = 500;
|
|
this.timerUpdate.Tick += new System.EventHandler(this.TimerUpdateTick);
|
|
//
|
|
// labelState
|
|
//
|
|
this.labelState.Location = new System.Drawing.Point(94, 43);
|
|
this.labelState.Name = "labelState";
|
|
this.labelState.Size = new System.Drawing.Size(170, 18);
|
|
this.labelState.TabIndex = 2;
|
|
this.labelState.Text = "State";
|
|
this.labelState.Click += new System.EventHandler(this.LabelBattClick);
|
|
//
|
|
// labelBattLevel
|
|
//
|
|
this.labelBattLevel.Font = new System.Drawing.Font("Segoe UI Emoji", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.labelBattLevel.ForeColor = System.Drawing.Color.LimeGreen;
|
|
this.labelBattLevel.Location = new System.Drawing.Point(12, 42);
|
|
this.labelBattLevel.Name = "labelBattLevel";
|
|
this.labelBattLevel.Size = new System.Drawing.Size(76, 18);
|
|
this.labelBattLevel.TabIndex = 3;
|
|
this.labelBattLevel.Text = "⬛⬛⬛🔲";
|
|
//
|
|
// labelInfo
|
|
//
|
|
this.labelInfo.Location = new System.Drawing.Point(12, 79);
|
|
this.labelInfo.Name = "labelInfo";
|
|
this.labelInfo.Size = new System.Drawing.Size(260, 18);
|
|
this.labelInfo.TabIndex = 4;
|
|
this.labelInfo.Text = "Shutdown mode: Unknown";
|
|
//
|
|
// labelStateEx
|
|
//
|
|
this.labelStateEx.Font = new System.Drawing.Font("Webdings", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
|
|
this.labelStateEx.ForeColor = System.Drawing.Color.DarkOrange;
|
|
this.labelStateEx.Location = new System.Drawing.Point(74, 41);
|
|
this.labelStateEx.Name = "labelStateEx";
|
|
this.labelStateEx.Size = new System.Drawing.Size(19, 18);
|
|
this.labelStateEx.TabIndex = 5;
|
|
this.labelStateEx.Text = "~rU";
|
|
|
|
//
|
|
// UPSForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(284, 105);
|
|
this.Controls.Add(this.labelStateEx);
|
|
this.Controls.Add(this.labelInfo);
|
|
this.Controls.Add(this.labelBattLevel);
|
|
this.Controls.Add(this.labelState);
|
|
this.Controls.Add(this.buttonConfig);
|
|
this.Controls.Add(this.labelConnection);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.Name = "UPSForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "EVXIO UPS Net";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.UPSFormFormClosing);
|
|
this.Shown += new System.EventHandler(this.UPSFormShown);
|
|
this.VisibleChanged += new System.EventHandler(this.UPSFormVisibleChanged);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
}
|
|
} |