173 lines
8.5 KiB
C#
173 lines
8.5 KiB
C#
|
namespace Microsoft.MicroBit
|
|||
|
{
|
|||
|
partial class MainForm
|
|||
|
{
|
|||
|
/// <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.components = new System.ComponentModel.Container();
|
|||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
|||
|
this.statusLabel = new System.Windows.Forms.Label();
|
|||
|
this.backgroundPictureBox = new System.Windows.Forms.PictureBox();
|
|||
|
this.trayIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
|||
|
this.versionLabel = new System.Windows.Forms.LinkLabel();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.SettingsLabel = new System.Windows.Forms.LinkLabel();
|
|||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|||
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// statusLabel
|
|||
|
//
|
|||
|
this.statusLabel.BackColor = System.Drawing.SystemColors.Window;
|
|||
|
this.statusLabel.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|||
|
this.statusLabel.Location = new System.Drawing.Point(11, 30);
|
|||
|
this.statusLabel.Name = "statusLabel";
|
|||
|
this.statusLabel.Size = new System.Drawing.Size(364, 23);
|
|||
|
this.statusLabel.TabIndex = 1;
|
|||
|
this.statusLabel.Text = "loading...";
|
|||
|
//
|
|||
|
// backgroundPictureBox
|
|||
|
//
|
|||
|
this.backgroundPictureBox.BackColor = System.Drawing.Color.White;
|
|||
|
this.backgroundPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
|
|||
|
this.backgroundPictureBox.Image = global::Microsoft.MicroBit.Properties.Resources.MSFT_logo_png;
|
|||
|
this.backgroundPictureBox.InitialImage = null;
|
|||
|
this.backgroundPictureBox.Location = new System.Drawing.Point(226, 91);
|
|||
|
this.backgroundPictureBox.Name = "backgroundPictureBox";
|
|||
|
this.backgroundPictureBox.Size = new System.Drawing.Size(149, 52);
|
|||
|
this.backgroundPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|||
|
this.backgroundPictureBox.TabIndex = 0;
|
|||
|
this.backgroundPictureBox.TabStop = false;
|
|||
|
this.backgroundPictureBox.Click += new System.EventHandler(this.backgroundPictureBox_Click);
|
|||
|
//
|
|||
|
// trayIcon
|
|||
|
//
|
|||
|
this.trayIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("trayIcon.Icon")));
|
|||
|
this.trayIcon.Visible = true;
|
|||
|
this.trayIcon.Click += new System.EventHandler(this.trayIcon_Click);
|
|||
|
//
|
|||
|
// versionLabel
|
|||
|
//
|
|||
|
this.versionLabel.AutoSize = true;
|
|||
|
this.versionLabel.Location = new System.Drawing.Point(12, 121);
|
|||
|
this.versionLabel.Name = "versionLabel";
|
|||
|
this.versionLabel.Size = new System.Drawing.Size(28, 13);
|
|||
|
this.versionLabel.TabIndex = 2;
|
|||
|
this.versionLabel.TabStop = true;
|
|||
|
this.versionLabel.Text = "v0.9";
|
|||
|
this.versionLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.versionLabel_LinkClicked);
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|||
|
this.label1.Location = new System.Drawing.Point(12, 103);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(169, 15);
|
|||
|
this.label1.TabIndex = 3;
|
|||
|
this.label1.Text = "Automatic upload of .hex files.";
|
|||
|
//
|
|||
|
// SettingsLabel
|
|||
|
//
|
|||
|
this.SettingsLabel.AutoSize = true;
|
|||
|
this.SettingsLabel.Location = new System.Drawing.Point(151, 121);
|
|||
|
this.SettingsLabel.Name = "SettingsLabel";
|
|||
|
this.SettingsLabel.Size = new System.Drawing.Size(43, 13);
|
|||
|
this.SettingsLabel.TabIndex = 4;
|
|||
|
this.SettingsLabel.TabStop = true;
|
|||
|
this.SettingsLabel.Text = "settings";
|
|||
|
this.SettingsLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.SettingsLabel_LinkClicked);
|
|||
|
//
|
|||
|
// pictureBox1
|
|||
|
//
|
|||
|
this.pictureBox1.BackColor = System.Drawing.Color.White;
|
|||
|
this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
|
|||
|
this.pictureBox1.Image = global::Microsoft.MicroBit.Properties.Resources.microbit_red;
|
|||
|
this.pictureBox1.InitialImage = null;
|
|||
|
this.pictureBox1.Location = new System.Drawing.Point(226, 6);
|
|||
|
this.pictureBox1.Name = "pictureBox1";
|
|||
|
this.pictureBox1.Size = new System.Drawing.Size(149, 79);
|
|||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|||
|
this.pictureBox1.TabIndex = 5;
|
|||
|
this.pictureBox1.TabStop = false;
|
|||
|
//
|
|||
|
// linkLabel1
|
|||
|
//
|
|||
|
this.linkLabel1.AutoSize = true;
|
|||
|
this.linkLabel1.Location = new System.Drawing.Point(62, 121);
|
|||
|
this.linkLabel1.Name = "linkLabel1";
|
|||
|
this.linkLabel1.Size = new System.Drawing.Size(60, 13);
|
|||
|
this.linkLabel1.TabIndex = 6;
|
|||
|
this.linkLabel1.TabStop = true;
|
|||
|
this.linkLabel1.Text = "open editor";
|
|||
|
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
|||
|
//
|
|||
|
// MainForm
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.BackColor = System.Drawing.Color.White;
|
|||
|
this.ClientSize = new System.Drawing.Size(388, 143);
|
|||
|
this.Controls.Add(this.linkLabel1);
|
|||
|
this.Controls.Add(this.pictureBox1);
|
|||
|
this.Controls.Add(this.SettingsLabel);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Controls.Add(this.versionLabel);
|
|||
|
this.Controls.Add(this.statusLabel);
|
|||
|
this.Controls.Add(this.backgroundPictureBox);
|
|||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|||
|
this.MaximizeBox = false;
|
|||
|
this.Name = "MainForm";
|
|||
|
this.ShowInTaskbar = false;
|
|||
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
|||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|||
|
this.Text = "code the micro:bit uploader";
|
|||
|
this.Load += new System.EventHandler(this.MainForm_Load);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.PictureBox backgroundPictureBox;
|
|||
|
private System.Windows.Forms.Label statusLabel;
|
|||
|
private System.Windows.Forms.NotifyIcon trayIcon;
|
|||
|
private System.Windows.Forms.LinkLabel versionLabel;
|
|||
|
private System.Windows.Forms.Label label1;
|
|||
|
private System.Windows.Forms.LinkLabel SettingsLabel;
|
|||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|||
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
|||
|
}
|
|||
|
}
|
|||
|
|