mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 22:48:29 -04:00
b04d76049c
add experimental antenna tracker find add new apparam eeprom reader add ground alt display to hud mod stats modify guided mode alt selection. test flight planner tab on flight data tab move some functions to the right click menu add xplanes data in/out setup to be automatic. add better mission upload handeling.
252 lines
15 KiB
C#
252 lines
15 KiB
C#
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));
|
|
this.MyView = new ArdupilotMega.Controls.MainSwitcher();
|
|
this.MainMenu = new System.Windows.Forms.MenuStrip();
|
|
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();
|
|
this.MenuConnect = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStripConnectionControl = new ArdupilotMega.Controls.ToolStripConnectionControl();
|
|
this.MainMenu.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// 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";
|
|
this.MainMenu.MouseLeave += new System.EventHandler(this.MainMenu_MouseLeave);
|
|
//
|
|
// MenuFlightData
|
|
//
|
|
this.MenuFlightData.AutoSize = false;
|
|
this.MenuFlightData.BackgroundImage = global::ArdupilotMega.Properties.Resources.data;
|
|
this.MenuFlightData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
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
|
|
//
|
|
this.MenuFlightPlanner.AutoSize = false;
|
|
this.MenuFlightPlanner.BackgroundImage = global::ArdupilotMega.Properties.Resources.planner;
|
|
this.MenuFlightPlanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
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
|
|
//
|
|
this.MenuConfiguration.AutoSize = false;
|
|
this.MenuConfiguration.BackgroundImage = global::ArdupilotMega.Properties.Resources.configuration;
|
|
this.MenuConfiguration.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
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
|
|
//
|
|
this.MenuSimulation.AutoSize = false;
|
|
this.MenuSimulation.BackgroundImage = global::ArdupilotMega.Properties.Resources.simulation;
|
|
this.MenuSimulation.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
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
|
|
//
|
|
this.MenuFirmware.AutoSize = false;
|
|
this.MenuFirmware.BackgroundImage = global::ArdupilotMega.Properties.Resources.firmware;
|
|
this.MenuFirmware.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
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
|
|
//
|
|
this.MenuTerminal.AutoSize = false;
|
|
this.MenuTerminal.BackgroundImage = global::ArdupilotMega.Properties.Resources.terminal;
|
|
this.MenuTerminal.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
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
|
|
//
|
|
this.MenuHelp.AutoSize = false;
|
|
this.MenuHelp.BackgroundImage = global::ArdupilotMega.Properties.Resources.help;
|
|
this.MenuHelp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
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);
|
|
//
|
|
// MenuConnect
|
|
//
|
|
this.MenuConnect.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
this.MenuConnect.AutoSize = false;
|
|
this.MenuConnect.BackgroundImage = global::ArdupilotMega.Properties.Resources.connect;
|
|
this.MenuConnect.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
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);
|
|
this.MenuConnect.Click += new System.EventHandler(this.MenuConnect_Click);
|
|
//
|
|
// toolStripConnectionControl
|
|
//
|
|
this.toolStripConnectionControl.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
this.toolStripConnectionControl.BackColor = System.Drawing.SystemColors.Control;
|
|
this.toolStripConnectionControl.BackgroundImage = global::ArdupilotMega.Properties.Resources.bg;
|
|
this.toolStripConnectionControl.Margin = new System.Windows.Forms.Padding(0);
|
|
this.toolStripConnectionControl.Name = "toolStripConnectionControl";
|
|
this.toolStripConnectionControl.Padding = new System.Windows.Forms.Padding(0, 0, 30, 0);
|
|
this.toolStripConnectionControl.Size = new System.Drawing.Size(233, 76);
|
|
//
|
|
// 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.MouseMove += new System.Windows.Forms.MouseEventHandler(this.MainV2_MouseMove);
|
|
this.Resize += new System.EventHandler(this.MainV2_Resize);
|
|
this.MainMenu.ResumeLayout(false);
|
|
this.MainMenu.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
private ArdupilotMega.Controls.MainSwitcher MyView;
|
|
private System.Windows.Forms.MenuStrip MainMenu;
|
|
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;
|
|
private System.Windows.Forms.ToolStripButton MenuConnect;
|
|
|
|
private System.Windows.Forms.ToolStripButton MenuHelp;
|
|
private Controls.ToolStripConnectionControl toolStripConnectionControl;
|
|
}
|
|
} |