mirror of https://github.com/ArduPilot/ardupilot
249 lines
11 KiB
C#
249 lines
11 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using System.Text.RegularExpressions;
|
|
using System.IO.Ports;
|
|
using System.IO;
|
|
using System.Runtime.InteropServices;
|
|
using System.Xml;
|
|
using System.Net;
|
|
|
|
namespace ArdupilotMega.GCSViews
|
|
{
|
|
partial class Firmware : MyUserControl
|
|
{
|
|
|
|
/// <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);
|
|
}
|
|
|
|
|
|
private ImageLabel pictureBoxAPM;
|
|
private ImageLabel pictureBoxQuad;
|
|
private ImageLabel pictureBoxHexa;
|
|
private ImageLabel pictureBoxTri;
|
|
private ImageLabel pictureBoxY6;
|
|
private System.Windows.Forms.Label lbl_status;
|
|
private System.Windows.Forms.ProgressBar progress;
|
|
private System.Windows.Forms.Label label2;
|
|
private ImageLabel pictureBoxHeli;
|
|
private MyButton BUT_setup;
|
|
private PictureBox pictureBoxHilimage;
|
|
private PictureBox pictureBoxAPHil;
|
|
private PictureBox pictureBoxACHil;
|
|
private PictureBox pictureBoxACHHil;
|
|
private ImageLabel pictureBoxOcta;
|
|
private Label label1;
|
|
private ImageLabel pictureBoxOctav;
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Firmware));
|
|
this.pictureBoxAPM = new ArdupilotMega.ImageLabel();
|
|
this.pictureBoxQuad = new ArdupilotMega.ImageLabel();
|
|
this.pictureBoxHexa = new ArdupilotMega.ImageLabel();
|
|
this.pictureBoxTri = new ArdupilotMega.ImageLabel();
|
|
this.pictureBoxY6 = new ArdupilotMega.ImageLabel();
|
|
this.lbl_status = new System.Windows.Forms.Label();
|
|
this.progress = new System.Windows.Forms.ProgressBar();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.pictureBoxHeli = new ArdupilotMega.ImageLabel();
|
|
this.BUT_setup = new ArdupilotMega.MyButton();
|
|
this.pictureBoxHilimage = new System.Windows.Forms.PictureBox();
|
|
this.pictureBoxAPHil = new System.Windows.Forms.PictureBox();
|
|
this.pictureBoxACHil = new System.Windows.Forms.PictureBox();
|
|
this.pictureBoxACHHil = new System.Windows.Forms.PictureBox();
|
|
this.pictureBoxOcta = new ArdupilotMega.ImageLabel();
|
|
this.pictureBoxOctav = new ArdupilotMega.ImageLabel();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxHilimage)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxAPHil)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxACHil)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxACHHil)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// pictureBoxAPM
|
|
//
|
|
this.pictureBoxAPM.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxAPM.Image = null;
|
|
resources.ApplyResources(this.pictureBoxAPM, "pictureBoxAPM");
|
|
this.pictureBoxAPM.Name = "pictureBoxAPM";
|
|
this.pictureBoxAPM.TabStop = false;
|
|
this.pictureBoxAPM.Click += new System.EventHandler(this.pictureBoxAPM_Click);
|
|
//
|
|
// pictureBoxQuad
|
|
//
|
|
this.pictureBoxQuad.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxQuad.Image = null;
|
|
resources.ApplyResources(this.pictureBoxQuad, "pictureBoxQuad");
|
|
this.pictureBoxQuad.Name = "pictureBoxQuad";
|
|
this.pictureBoxQuad.TabStop = false;
|
|
this.pictureBoxQuad.Click += new System.EventHandler(this.pictureBoxQuad_Click);
|
|
//
|
|
// pictureBoxHexa
|
|
//
|
|
this.pictureBoxHexa.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxHexa.Image = null;
|
|
resources.ApplyResources(this.pictureBoxHexa, "pictureBoxHexa");
|
|
this.pictureBoxHexa.Name = "pictureBoxHexa";
|
|
this.pictureBoxHexa.TabStop = false;
|
|
this.pictureBoxHexa.Click += new System.EventHandler(this.pictureBoxHexa_Click);
|
|
//
|
|
// pictureBoxTri
|
|
//
|
|
this.pictureBoxTri.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxTri.Image = null;
|
|
resources.ApplyResources(this.pictureBoxTri, "pictureBoxTri");
|
|
this.pictureBoxTri.Name = "pictureBoxTri";
|
|
this.pictureBoxTri.TabStop = false;
|
|
this.pictureBoxTri.Click += new System.EventHandler(this.pictureBoxTri_Click);
|
|
//
|
|
// pictureBoxY6
|
|
//
|
|
this.pictureBoxY6.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxY6.Image = null;
|
|
resources.ApplyResources(this.pictureBoxY6, "pictureBoxY6");
|
|
this.pictureBoxY6.Name = "pictureBoxY6";
|
|
this.pictureBoxY6.TabStop = false;
|
|
this.pictureBoxY6.Click += new System.EventHandler(this.pictureBoxY6_Click);
|
|
//
|
|
// lbl_status
|
|
//
|
|
resources.ApplyResources(this.lbl_status, "lbl_status");
|
|
this.lbl_status.Name = "lbl_status";
|
|
//
|
|
// progress
|
|
//
|
|
resources.ApplyResources(this.progress, "progress");
|
|
this.progress.Name = "progress";
|
|
this.progress.Step = 1;
|
|
//
|
|
// label2
|
|
//
|
|
resources.ApplyResources(this.label2, "label2");
|
|
this.label2.Name = "label2";
|
|
//
|
|
// pictureBoxHeli
|
|
//
|
|
this.pictureBoxHeli.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxHeli.Image = null;
|
|
resources.ApplyResources(this.pictureBoxHeli, "pictureBoxHeli");
|
|
this.pictureBoxHeli.Name = "pictureBoxHeli";
|
|
this.pictureBoxHeli.TabStop = false;
|
|
this.pictureBoxHeli.Click += new System.EventHandler(this.pictureBoxHeli_Click);
|
|
//
|
|
// BUT_setup
|
|
//
|
|
resources.ApplyResources(this.BUT_setup, "BUT_setup");
|
|
this.BUT_setup.Name = "BUT_setup";
|
|
this.BUT_setup.UseVisualStyleBackColor = true;
|
|
this.BUT_setup.Click += new System.EventHandler(this.BUT_setup_Click);
|
|
//
|
|
// pictureBoxHilimage
|
|
//
|
|
this.pictureBoxHilimage.Image = global::ArdupilotMega.Properties.Resources.hil;
|
|
resources.ApplyResources(this.pictureBoxHilimage, "pictureBoxHilimage");
|
|
this.pictureBoxHilimage.Name = "pictureBoxHilimage";
|
|
this.pictureBoxHilimage.TabStop = false;
|
|
//
|
|
// pictureBoxAPHil
|
|
//
|
|
this.pictureBoxAPHil.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxAPHil.Image = global::ArdupilotMega.Properties.Resources.hilplane;
|
|
resources.ApplyResources(this.pictureBoxAPHil, "pictureBoxAPHil");
|
|
this.pictureBoxAPHil.Name = "pictureBoxAPHil";
|
|
this.pictureBoxAPHil.TabStop = false;
|
|
this.pictureBoxAPHil.Click += new System.EventHandler(this.pictureBoxAPHil_Click);
|
|
//
|
|
// pictureBoxACHil
|
|
//
|
|
this.pictureBoxACHil.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxACHil.Image = global::ArdupilotMega.Properties.Resources.hilquad;
|
|
resources.ApplyResources(this.pictureBoxACHil, "pictureBoxACHil");
|
|
this.pictureBoxACHil.Name = "pictureBoxACHil";
|
|
this.pictureBoxACHil.TabStop = false;
|
|
this.pictureBoxACHil.Click += new System.EventHandler(this.pictureBoxACHil_Click);
|
|
//
|
|
// pictureBoxACHHil
|
|
//
|
|
this.pictureBoxACHHil.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxACHHil.Image = global::ArdupilotMega.Properties.Resources.hilheli;
|
|
resources.ApplyResources(this.pictureBoxACHHil, "pictureBoxACHHil");
|
|
this.pictureBoxACHHil.Name = "pictureBoxACHHil";
|
|
this.pictureBoxACHHil.TabStop = false;
|
|
this.pictureBoxACHHil.Click += new System.EventHandler(this.pictureBoxACHHil_Click);
|
|
//
|
|
// pictureBoxOcta
|
|
//
|
|
this.pictureBoxOcta.Image = null;
|
|
resources.ApplyResources(this.pictureBoxOcta, "pictureBoxOcta");
|
|
this.pictureBoxOcta.Name = "pictureBoxOcta";
|
|
this.pictureBoxOcta.TabStop = false;
|
|
this.pictureBoxOcta.Click += new System.EventHandler(this.pictureBoxOcta_Click);
|
|
//
|
|
// pictureBoxOctav
|
|
//
|
|
this.pictureBoxOctav.Image = null;
|
|
resources.ApplyResources(this.pictureBoxOctav, "pictureBoxOctav");
|
|
this.pictureBoxOctav.Name = "pictureBoxOctav";
|
|
this.pictureBoxOctav.TabStop = false;
|
|
this.pictureBoxOctav.Click += new System.EventHandler(this.pictureBoxOctav_Click);
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// Firmware
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.BUT_setup);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.lbl_status);
|
|
this.Controls.Add(this.progress);
|
|
this.Controls.Add(this.pictureBoxACHHil);
|
|
this.Controls.Add(this.pictureBoxACHil);
|
|
this.Controls.Add(this.pictureBoxAPHil);
|
|
this.Controls.Add(this.pictureBoxHilimage);
|
|
this.Controls.Add(this.pictureBoxOctav);
|
|
this.Controls.Add(this.pictureBoxOcta);
|
|
this.Controls.Add(this.pictureBoxHeli);
|
|
this.Controls.Add(this.pictureBoxY6);
|
|
this.Controls.Add(this.pictureBoxTri);
|
|
this.Controls.Add(this.pictureBoxHexa);
|
|
this.Controls.Add(this.pictureBoxQuad);
|
|
this.Controls.Add(this.pictureBoxAPM);
|
|
this.MinimumSize = new System.Drawing.Size(1008, 461);
|
|
this.Name = "Firmware";
|
|
this.Load += new System.EventHandler(this.Firmware_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxHilimage)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxAPHil)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxACHil)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxACHHil)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
}
|
|
} |