2011-09-08 22:31:32 -03:00
|
|
|
|
namespace ArdupilotMega
|
|
|
|
|
{
|
|
|
|
|
partial class MainV2
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainV2));
|
2012-04-21 04:30:15 -03:00
|
|
|
|
this.MyView = new System.Windows.Forms.Panel();
|
|
|
|
|
this.MainMenu = new System.Windows.Forms.MenuStrip();
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MenuFlightData = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.MenuFlightPlanner = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.MenuConfiguration = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.MenuSimulation = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.MenuFirmware = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.MenuTerminal = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.MenuHelp = new System.Windows.Forms.ToolStripButton();
|
2012-04-21 04:30:15 -03:00
|
|
|
|
this.MenuConnect = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.toolStripConnectionControl = new ArdupilotMega.Controls.ToolStripConnectionControl();
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MainMenu.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
2012-04-21 04:30:15 -03:00
|
|
|
|
// MyView
|
|
|
|
|
//
|
|
|
|
|
this.MyView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(39)))), ((int)(((byte)(40)))));
|
|
|
|
|
this.MyView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.MyView.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
this.MyView.Location = new System.Drawing.Point(0, 76);
|
|
|
|
|
this.MyView.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MyView.Name = "MyView";
|
|
|
|
|
this.MyView.Size = new System.Drawing.Size(1008, 461);
|
|
|
|
|
this.MyView.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// MainMenu
|
|
|
|
|
//
|
|
|
|
|
this.MainMenu.BackColor = System.Drawing.SystemColors.Control;
|
|
|
|
|
this.MainMenu.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("MainMenu.BackgroundImage")));
|
|
|
|
|
this.MainMenu.GripMargin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MainMenu.ImageScalingSize = new System.Drawing.Size(76, 76);
|
|
|
|
|
this.MainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.MenuFlightData,
|
|
|
|
|
this.MenuFlightPlanner,
|
|
|
|
|
this.MenuConfiguration,
|
|
|
|
|
this.MenuSimulation,
|
|
|
|
|
this.MenuFirmware,
|
|
|
|
|
this.MenuTerminal,
|
|
|
|
|
this.MenuHelp,
|
|
|
|
|
this.MenuConnect,
|
|
|
|
|
this.toolStripConnectionControl});
|
|
|
|
|
this.MainMenu.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
|
|
|
|
this.MainMenu.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.MainMenu.Name = "MainMenu";
|
|
|
|
|
this.MainMenu.Padding = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MainMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
|
|
|
|
|
this.MainMenu.Size = new System.Drawing.Size(1008, 76);
|
|
|
|
|
this.MainMenu.TabIndex = 5;
|
|
|
|
|
this.MainMenu.Text = "menuStrip1";
|
|
|
|
|
//
|
2011-09-08 22:31:32 -03:00
|
|
|
|
// MenuFlightData
|
|
|
|
|
//
|
2011-11-19 20:17:17 -04:00
|
|
|
|
this.MenuFlightData.AutoSize = false;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MenuFlightData.BackgroundImage = global::ArdupilotMega.Properties.Resources.data;
|
|
|
|
|
this.MenuFlightData.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.MenuFlightData.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.MenuFlightData.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MenuFlightData.Name = "MenuFlightData";
|
|
|
|
|
this.MenuFlightData.Padding = new System.Windows.Forms.Padding(0, 0, 72, 72);
|
|
|
|
|
this.MenuFlightData.Size = new System.Drawing.Size(76, 76);
|
|
|
|
|
this.MenuFlightData.Click += new System.EventHandler(this.MenuFlightData_Click);
|
|
|
|
|
//
|
|
|
|
|
// MenuFlightPlanner
|
|
|
|
|
//
|
2011-11-19 20:17:17 -04:00
|
|
|
|
this.MenuFlightPlanner.AutoSize = false;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MenuFlightPlanner.BackgroundImage = global::ArdupilotMega.Properties.Resources.planner;
|
|
|
|
|
this.MenuFlightPlanner.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.MenuFlightPlanner.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.MenuFlightPlanner.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MenuFlightPlanner.Name = "MenuFlightPlanner";
|
|
|
|
|
this.MenuFlightPlanner.Padding = new System.Windows.Forms.Padding(0, 0, 72, 72);
|
|
|
|
|
this.MenuFlightPlanner.Size = new System.Drawing.Size(76, 76);
|
|
|
|
|
this.MenuFlightPlanner.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
|
this.MenuFlightPlanner.ToolTipText = "Flight Planner";
|
|
|
|
|
this.MenuFlightPlanner.Click += new System.EventHandler(this.MenuFlightPlanner_Click);
|
|
|
|
|
//
|
|
|
|
|
// MenuConfiguration
|
|
|
|
|
//
|
2011-11-19 20:17:17 -04:00
|
|
|
|
this.MenuConfiguration.AutoSize = false;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MenuConfiguration.BackgroundImage = global::ArdupilotMega.Properties.Resources.configuration;
|
|
|
|
|
this.MenuConfiguration.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.MenuConfiguration.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.MenuConfiguration.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MenuConfiguration.Name = "MenuConfiguration";
|
|
|
|
|
this.MenuConfiguration.Padding = new System.Windows.Forms.Padding(0, 0, 72, 72);
|
|
|
|
|
this.MenuConfiguration.Size = new System.Drawing.Size(76, 76);
|
|
|
|
|
this.MenuConfiguration.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
|
this.MenuConfiguration.ToolTipText = "Configuration";
|
|
|
|
|
this.MenuConfiguration.Click += new System.EventHandler(this.MenuConfiguration_Click);
|
|
|
|
|
//
|
|
|
|
|
// MenuSimulation
|
|
|
|
|
//
|
2011-11-19 20:17:17 -04:00
|
|
|
|
this.MenuSimulation.AutoSize = false;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MenuSimulation.BackgroundImage = global::ArdupilotMega.Properties.Resources.simulation;
|
|
|
|
|
this.MenuSimulation.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.MenuSimulation.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.MenuSimulation.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MenuSimulation.Name = "MenuSimulation";
|
|
|
|
|
this.MenuSimulation.Padding = new System.Windows.Forms.Padding(0, 0, 72, 72);
|
|
|
|
|
this.MenuSimulation.Size = new System.Drawing.Size(76, 76);
|
|
|
|
|
this.MenuSimulation.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
|
this.MenuSimulation.ToolTipText = "Simulation";
|
|
|
|
|
this.MenuSimulation.Click += new System.EventHandler(this.MenuSimulation_Click);
|
|
|
|
|
//
|
|
|
|
|
// MenuFirmware
|
|
|
|
|
//
|
2011-11-19 20:17:17 -04:00
|
|
|
|
this.MenuFirmware.AutoSize = false;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MenuFirmware.BackgroundImage = global::ArdupilotMega.Properties.Resources.firmware;
|
|
|
|
|
this.MenuFirmware.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.MenuFirmware.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.MenuFirmware.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MenuFirmware.Name = "MenuFirmware";
|
|
|
|
|
this.MenuFirmware.Padding = new System.Windows.Forms.Padding(0, 0, 72, 72);
|
|
|
|
|
this.MenuFirmware.Size = new System.Drawing.Size(76, 76);
|
|
|
|
|
this.MenuFirmware.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
|
this.MenuFirmware.ToolTipText = "Firmware";
|
|
|
|
|
this.MenuFirmware.Click += new System.EventHandler(this.MenuFirmware_Click);
|
|
|
|
|
//
|
|
|
|
|
// MenuTerminal
|
|
|
|
|
//
|
2011-11-19 20:17:17 -04:00
|
|
|
|
this.MenuTerminal.AutoSize = false;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MenuTerminal.BackgroundImage = global::ArdupilotMega.Properties.Resources.terminal;
|
|
|
|
|
this.MenuTerminal.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.MenuTerminal.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.MenuTerminal.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MenuTerminal.Name = "MenuTerminal";
|
|
|
|
|
this.MenuTerminal.Padding = new System.Windows.Forms.Padding(0, 0, 72, 72);
|
|
|
|
|
this.MenuTerminal.Size = new System.Drawing.Size(76, 76);
|
|
|
|
|
this.MenuTerminal.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
|
this.MenuTerminal.ToolTipText = "Terminal";
|
|
|
|
|
this.MenuTerminal.Click += new System.EventHandler(this.MenuTerminal_Click);
|
|
|
|
|
//
|
|
|
|
|
// MenuHelp
|
|
|
|
|
//
|
2011-11-19 20:17:17 -04:00
|
|
|
|
this.MenuHelp.AutoSize = false;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
this.MenuHelp.BackgroundImage = global::ArdupilotMega.Properties.Resources.help;
|
|
|
|
|
this.MenuHelp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.MenuHelp.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.MenuHelp.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MenuHelp.Name = "MenuHelp";
|
|
|
|
|
this.MenuHelp.Padding = new System.Windows.Forms.Padding(0, 0, 72, 72);
|
|
|
|
|
this.MenuHelp.Size = new System.Drawing.Size(76, 76);
|
|
|
|
|
this.MenuHelp.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
|
this.MenuHelp.ToolTipText = "Terminal";
|
|
|
|
|
this.MenuHelp.Click += new System.EventHandler(this.MenuHelp_Click);
|
|
|
|
|
//
|
2012-04-21 04:30:15 -03:00
|
|
|
|
// MenuConnect
|
2011-09-08 22:31:32 -03:00
|
|
|
|
//
|
2012-04-21 04:30:15 -03:00
|
|
|
|
this.MenuConnect.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
|
|
|
this.MenuConnect.AutoSize = false;
|
|
|
|
|
this.MenuConnect.BackgroundImage = global::ArdupilotMega.Properties.Resources.connect;
|
|
|
|
|
this.MenuConnect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.MenuConnect.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.MenuConnect.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.MenuConnect.Name = "MenuConnect";
|
|
|
|
|
this.MenuConnect.Padding = new System.Windows.Forms.Padding(0, 0, 72, 72);
|
|
|
|
|
this.MenuConnect.Size = new System.Drawing.Size(76, 76);
|
2012-04-23 09:06:01 -03:00
|
|
|
|
this.MenuConnect.Click += new System.EventHandler(this.MenuConnect_Click);
|
2012-04-30 07:48:52 -03:00
|
|
|
|
this.MenuConnect.MouseHover += new System.EventHandler(this.MenuConnect_MouseHover);
|
2011-09-08 22:31:32 -03:00
|
|
|
|
//
|
2012-04-21 04:30:15 -03:00
|
|
|
|
// toolStripConnectionControl
|
2011-09-08 22:31:32 -03:00
|
|
|
|
//
|
2012-04-21 04:30:15 -03:00
|
|
|
|
this.toolStripConnectionControl.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
2012-04-23 09:06:01 -03:00
|
|
|
|
this.toolStripConnectionControl.BackColor = System.Drawing.SystemColors.Control;
|
|
|
|
|
this.toolStripConnectionControl.BackgroundImage = global::ArdupilotMega.Properties.Resources.bg;
|
|
|
|
|
this.toolStripConnectionControl.Margin = new System.Windows.Forms.Padding(0);
|
2012-04-21 04:30:15 -03:00
|
|
|
|
this.toolStripConnectionControl.Name = "toolStripConnectionControl";
|
2012-04-23 09:06:01 -03:00
|
|
|
|
this.toolStripConnectionControl.Padding = new System.Windows.Forms.Padding(0, 0, 30, 0);
|
|
|
|
|
this.toolStripConnectionControl.Size = new System.Drawing.Size(233, 76);
|
2011-09-08 22:31:32 -03:00
|
|
|
|
//
|
|
|
|
|
// MainV2
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(1008, 537);
|
|
|
|
|
this.Controls.Add(this.MyView);
|
|
|
|
|
this.Controls.Add(this.MainMenu);
|
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
|
|
this.KeyPreview = true;
|
|
|
|
|
this.MainMenuStrip = this.MainMenu;
|
|
|
|
|
this.MinimumSize = new System.Drawing.Size(1024, 575);
|
|
|
|
|
this.Name = "MainV2";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "APM Planner - By Michael Oborne";
|
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainV2_FormClosing);
|
|
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainV2_FormClosed);
|
|
|
|
|
this.Load += new System.EventHandler(this.MainV2_Load);
|
|
|
|
|
this.Resize += new System.EventHandler(this.MainV2_Resize);
|
|
|
|
|
this.MainMenu.ResumeLayout(false);
|
|
|
|
|
this.MainMenu.PerformLayout();
|
|
|
|
|
this.ResumeLayout(false);
|
2012-04-21 04:30:15 -03:00
|
|
|
|
this.PerformLayout();
|
2011-09-08 22:31:32 -03:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2012-04-21 04:30:15 -03:00
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Panel MyView;
|
|
|
|
|
private System.Windows.Forms.MenuStrip MainMenu;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuFlightData;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuFlightPlanner;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuConfiguration;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuSimulation;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuFirmware;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuTerminal;
|
2012-04-21 04:30:15 -03:00
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuConnect;
|
2012-04-23 09:06:01 -03:00
|
|
|
|
|
2011-09-08 22:31:32 -03:00
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuHelp;
|
2012-04-23 09:06:01 -03:00
|
|
|
|
private Controls.ToolStripConnectionControl toolStripConnectionControl;
|
2011-09-08 22:31:32 -03:00
|
|
|
|
}
|
|
|
|
|
}
|