mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
9c836ab037
move mavlink structure/currentstate around for future mods update old firmware git hashs mod some error descriptions AP_mount camera trigger mod modify raw param display with units/range/desc add radio support for 868mhz update ch7 options updated dataflashlog format small df log parser mod for bad gps loc renable menu to always dock. right click for autohide
304 lines
18 KiB
C#
304 lines
18 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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
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.menu = new ArdupilotMega.Controls.MyButton();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.CTX_mainmenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.autoHideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.MainMenu.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.CTX_mainmenu.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// MyView
|
|
//
|
|
this.MyView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.MyView.Location = new System.Drawing.Point(0, 23);
|
|
this.MyView.Margin = new System.Windows.Forms.Padding(0);
|
|
this.MyView.Name = "MyView";
|
|
this.MyView.Size = new System.Drawing.Size(1008, 514);
|
|
this.MyView.TabIndex = 3;
|
|
//
|
|
// MainMenu
|
|
//
|
|
this.MainMenu.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("MainMenu.BackgroundImage")));
|
|
this.MainMenu.ContextMenuStrip = this.CTX_mainmenu;
|
|
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.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(900, 76);
|
|
this.MainMenu.Stretch = false;
|
|
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);
|
|
this.toolStripConnectionControl.MouseLeave += new System.EventHandler(this.MainMenu_MouseLeave);
|
|
//
|
|
// menu
|
|
//
|
|
this.menu.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.menu.Location = new System.Drawing.Point(0, 0);
|
|
this.menu.Name = "menu";
|
|
this.menu.Size = new System.Drawing.Size(1008, 23);
|
|
this.menu.TabIndex = 6;
|
|
this.menu.Text = "Menu";
|
|
this.menu.UseVisualStyleBackColor = true;
|
|
this.menu.MouseEnter += new System.EventHandler(this.menu_MouseEnter);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.MainMenu);
|
|
this.panel1.Location = new System.Drawing.Point(43, 46);
|
|
this.panel1.MaximumSize = new System.Drawing.Size(99999, 76);
|
|
this.panel1.MinimumSize = new System.Drawing.Size(900, 76);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(900, 76);
|
|
this.panel1.TabIndex = 7;
|
|
this.panel1.Visible = false;
|
|
this.panel1.MouseLeave += new System.EventHandler(this.MainMenu_MouseLeave);
|
|
//
|
|
// CTX_mainmenu
|
|
//
|
|
this.CTX_mainmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.autoHideToolStripMenuItem});
|
|
this.CTX_mainmenu.Name = "CTX_mainmenu";
|
|
this.CTX_mainmenu.Size = new System.Drawing.Size(153, 48);
|
|
//
|
|
// autoHideToolStripMenuItem
|
|
//
|
|
this.autoHideToolStripMenuItem.Checked = true;
|
|
this.autoHideToolStripMenuItem.CheckOnClick = true;
|
|
this.autoHideToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.autoHideToolStripMenuItem.Name = "autoHideToolStripMenuItem";
|
|
this.autoHideToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
|
this.autoHideToolStripMenuItem.Text = "AutoHide";
|
|
this.autoHideToolStripMenuItem.Click += new System.EventHandler(this.autoHideToolStripMenuItem_Click);
|
|
//
|
|
// 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.panel1);
|
|
this.Controls.Add(this.MyView);
|
|
this.Controls.Add(this.menu);
|
|
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.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.CTX_mainmenu.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#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;
|
|
private Controls.MyButton menu;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.ContextMenuStrip CTX_mainmenu;
|
|
private System.Windows.Forms.ToolStripMenuItem autoHideToolStripMenuItem;
|
|
}
|
|
} |