Example #1
0
 private void InitializeComponent()
 {
     this.components     = new System.ComponentModel.Container();
     this.treeView1      = new MissionPlanner.Controls.MAVLinkInspector.MyTreeView();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.comboBox1      = new System.Windows.Forms.ComboBox();
     this.comboBox2      = new System.Windows.Forms.ComboBox();
     this.timer1         = new System.Windows.Forms.Timer(this.components);
     this.but_graphit    = new MissionPlanner.Controls.MyButton();
     this.chk_gcstraffic = new System.Windows.Forms.CheckBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // treeView1
     //
     this.treeView1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.Font          = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeView1.FullRowSelect = true;
     this.treeView1.Location      = new System.Drawing.Point(3, 16);
     this.treeView1.Name          = "treeView1";
     this.treeView1.Size          = new System.Drawing.Size(521, 259);
     this.treeView1.TabIndex      = 0;
     this.treeView1.DrawNode     += new System.Windows.Forms.DrawTreeNodeEventHandler(this.treeView1_DrawNode);
     this.treeView1.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.treeView1);
     this.groupBox1.Location = new System.Drawing.Point(0, 30);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(527, 278);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location          = new System.Drawing.Point(206, 3);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(121, 21);
     this.comboBox1.TabIndex = 2;
     this.comboBox1.Visible  = false;
     //
     // comboBox2
     //
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Location          = new System.Drawing.Point(356, 3);
     this.comboBox2.Name     = "comboBox2";
     this.comboBox2.Size     = new System.Drawing.Size(121, 21);
     this.comboBox2.TabIndex = 3;
     this.comboBox2.Visible  = false;
     //
     // timer1
     //
     this.timer1.Interval = 333;
     //
     // but_graphit
     //
     this.but_graphit.Enabled  = false;
     this.but_graphit.Location = new System.Drawing.Point(12, 3);
     this.but_graphit.Name     = "but_graphit";
     this.but_graphit.Size     = new System.Drawing.Size(75, 23);
     this.but_graphit.TabIndex = 4;
     this.but_graphit.Text     = "Graph It";
     this.but_graphit.UseVisualStyleBackColor = true;
     this.but_graphit.Click += new System.EventHandler(this.but_graphit_Click);
     //
     // chk_gcstraffic
     //
     this.chk_gcstraffic.AutoSize = true;
     this.chk_gcstraffic.Location = new System.Drawing.Point(93, 5);
     this.chk_gcstraffic.Name     = "chk_gcstraffic";
     this.chk_gcstraffic.Size     = new System.Drawing.Size(111, 17);
     this.chk_gcstraffic.TabIndex = 5;
     this.chk_gcstraffic.Text     = "Show GCS Traffic";
     this.chk_gcstraffic.UseVisualStyleBackColor = true;
     this.chk_gcstraffic.CheckedChanged         += new System.EventHandler(this.chk_gcstraffic_CheckedChanged);
     //
     // MAVLinkInspector
     //
     this.ClientSize = new System.Drawing.Size(526, 311);
     this.Controls.Add(this.chk_gcstraffic);
     this.Controls.Add(this.but_graphit);
     this.Controls.Add(this.comboBox2);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.groupBox1);
     this.Name         = "MAVLinkInspector";
     this.Text         = "Mavlink Inspector";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MAVLinkInspector_FormClosing);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.treeView1  = new MyTreeView();
     this.groupBox1  = new System.Windows.Forms.GroupBox();
     this.comboBox1  = new System.Windows.Forms.ComboBox();
     this.comboBox2  = new System.Windows.Forms.ComboBox();
     this.timer1     = new System.Windows.Forms.Timer(this.components);
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // treeView1
     //
     this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     //this.treeView1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText;
     this.treeView1.Font      = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeView1.Location  = new System.Drawing.Point(3, 16);
     this.treeView1.Name      = "treeView1";
     this.treeView1.Size      = new System.Drawing.Size(693, 259);
     this.treeView1.TabIndex  = 0;
     this.treeView1.DrawNode += new System.Windows.Forms.DrawTreeNodeEventHandler(this.treeView1_DrawNode);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.treeView1);
     this.groupBox1.Location = new System.Drawing.Point(0, 30);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(699, 278);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location          = new System.Drawing.Point(88, 3);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(121, 21);
     this.comboBox1.TabIndex = 2;
     this.comboBox1.Visible  = false;
     //
     // comboBox2
     //
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Location          = new System.Drawing.Point(356, 3);
     this.comboBox2.Name     = "comboBox2";
     this.comboBox2.Size     = new System.Drawing.Size(121, 21);
     this.comboBox2.TabIndex = 3;
     this.comboBox2.Visible  = false;
     //
     // timer1
     //
     this.timer1.Interval = 333;
     //
     // MAVLinkInspector
     //
     this.ClientSize = new System.Drawing.Size(698, 311);
     this.Controls.Add(this.comboBox2);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.groupBox1);
     this.Name         = "MAVLinkInspector";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MAVLinkInspector_FormClosing);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }