コード例 #1
2
	public aboutDialog()
	{
		Text = "About";
		FormBorderStyle = FormBorderStyle.FixedDialog;
		ControlBox    = false;
		MaximizeBox   = false;
		MinimizeBox   = false;
		ShowInTaskbar = false;
		Size = new Size(200,195);
		StartPosition = FormStartPosition.CenterParent;

		Label version = new Label();
		version.Parent = this;
		version.Location = new Point(20,20);
		version.Width = this.Width-40;
		version.Height = 20;
		version.Text = "v" + Version + " " + Date;
		version.TextAlign = ContentAlignment.TopCenter;

		LinkLabel email = new LinkLabel();
		email.Parent = this;
		email.Location = new Point(20,50);
		email.Width = version.Width;
		email.Height = 20;
		email.TextAlign = ContentAlignment.TopCenter;
		email.Text = "*****@*****.**";
		email.LinkClicked += new LinkLabelLinkClickedEventHandler(email_LinkClicked);

		LinkLabel web = new LinkLabel();
		web.Parent = this;
		web.Location = new Point(20,70);
		web.Width = email.Width;
		web.Height = 20;
		web.TextAlign = ContentAlignment.TopCenter;
		web.Text = "http://winch.pinkbile.com";
		web.LinkClicked += new LinkLabelLinkClickedEventHandler(web_LinkClicked);


		//Ok button
		Button	btn = new Button();
		btn.Parent = this;
		btn.Text = "&Ok";
		btn.Location = new Point(50, 135);
		btn.Width += 20;
		btn.DialogResult = DialogResult.OK;
		AcceptButton = btn;
		CancelButton = btn;

		//updates button
		Button btnUpdate = new Button();
		btnUpdate.Parent = this;
		btnUpdate.Width += 40;
		btnUpdate.Text = "Check for updates";
		btnUpdate.Location = new Point(40, 100);
		btnUpdate.Click += new EventHandler(btnUpdate_Click);
	}
コード例 #2
0
	void OnClick()
	{
		if (linkLabel) {
			linkLabel.OpenURL();
			linkLabel = null;
		}
	}
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor
 /// geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.lblSuplanus = new System.Windows.Forms.LinkLabel();
     this.SuspendLayout();
     //
     // lblSuplanus
     //
     this.lblSuplanus.AutoSize = true;
     this.lblSuplanus.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Regular,
                                                     System.Drawing.GraphicsUnit.Point, ((byte) (0)));
     this.lblSuplanus.Location = new System.Drawing.Point(5, 115);
     this.lblSuplanus.Name = "lblSuplanus";
     this.lblSuplanus.Size = new System.Drawing.Size(274, 24);
     this.lblSuplanus.TabIndex = 23;
     this.lblSuplanus.TabStop = true;
     this.lblSuplanus.Text = "http://www.Suplanus.de";
     this.lblSuplanus.LinkClicked +=
         new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lblSuplanus_LinkClicked);
     //
     // SetSettingExampleWindowLocation
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.lblSuplanus);
     this.Name = "SetSettingExampleWindowLocation";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "SetSettingExampleWindowLocation";
     this.FormClosing +=
         new System.Windows.Forms.FormClosingEventHandler(this.SetSettingExampleWindowLocation_FormClosing);
     this.Load += new System.EventHandler(this.SetSettingExampleWindowLocation_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: mono/gert
	public MainForm ()
	{
		SuspendLayout ();
		// 
		// _linkLabel
		// 
		_linkLabel = new LinkLabel ();
		_linkLabel.Dock = DockStyle.Top;
		_linkLabel.Height = 100;
		_linkLabel.TabStop = true;
		_linkLabel.TabIndex = 3;
		_linkLabel.BackColor = Color.AntiqueWhite;
		_linkLabel.DisabledLinkColor = Color.Silver;
		_linkLabel.VisitedLinkColor = Color.Navy;
		_linkLabel.LinkBehavior = LinkBehavior.HoverUnderline;
		_linkLabel.LinkColor = Color.Blue;
		Controls.Add (_linkLabel);
		// 
		// _tabControl
		// 
		_tabControl = new TabControl ();
		_tabControl.Dock = DockStyle.Bottom;
		_tabControl.Height = 150;
		Controls.Add (_tabControl);
		// 
		// _bugDescriptionText1
		// 
		_bugDescriptionText1 = new TextBox ();
		_bugDescriptionText1.Multiline = true;
		_bugDescriptionText1.Dock = DockStyle.Fill;
		_bugDescriptionText1.Text = string.Format (CultureInfo.InvariantCulture,
			"Expected result on start-up:{0}{0}" +
			"1. The LinkLabel contains the following lines of text:{0}{0}" +
			"   Barbecue Chicken Pizza{0}{0}" +
			"   1 batch Pizza Dough{0}" +
			"   1 cup BBQ Sauce",
			Environment.NewLine);
		// 
		// _tabPage1
		// 
		_tabPage1 = new TabPage ();
		_tabPage1.Text = "#1";
		_tabPage1.Controls.Add (_bugDescriptionText1);
		_tabControl.Controls.Add (_tabPage1);
		// 
		// MainForm
		// 
		Size = new Size (603, 290);
		StartPosition = FormStartPosition.CenterScreen;
		Text = "bug #79614";
		Load += new EventHandler (MainForm_Load);
		ResumeLayout (false);
	}
コード例 #5
0
	public aboutDialog()
	{
		Text = "About";
		FormBorderStyle = FormBorderStyle.FixedDialog;
		ControlBox    = false;
		MaximizeBox   = false;
		MinimizeBox   = false;
		ShowInTaskbar = false;
		Size = new Size(200,170);
		StartPosition = FormStartPosition.CenterParent;

		Label version = new Label();
		version.Parent = this;
		version.Location = new Point(20,20);
		version.Width = this.Width-40;
		version.Height = 20;
		version.Text = "v0.15 RC1 13 June 2005";
		version.TextAlign = ContentAlignment.TopCenter;

		LinkLabel email = new LinkLabel();
		email.Parent = this;
		email.Location = new Point(20,50);
		email.Width = version.Width;
		email.Height = 20;
		email.TextAlign = ContentAlignment.TopCenter;
		email.Text = "*****@*****.**";
		email.LinkClicked += new LinkLabelLinkClickedEventHandler(email_LinkClicked);

		LinkLabel web = new LinkLabel();
		web.Parent = this;
		web.Location = new Point(20,70);
		web.Width = email.Width;
		web.Height = 20;
		web.TextAlign = ContentAlignment.TopCenter;
		web.Text = "http://winch.pinkbile.com";
		web.LinkClicked += new LinkLabelLinkClickedEventHandler(web_LinkClicked);

		//Ok button
		Win3_Button	btn = new Win3_Button();
		btn.Parent = this;
		btn.Text = "&Ok";
		btn.Location = new Point(50,110);
		btn.Width += 20;
		btn.DialogResult = DialogResult.OK;
		AcceptButton = btn;
		CancelButton = btn;
	}
コード例 #6
0
ファイル: AboutDialog.cs プロジェクト: NickCorn/Writer
        public AboutDialog()
        {
            this.Text = "About";
            this.ClientSize = new Size(310, 200);

            PictureBox pictureBox = new PictureBox();
            pictureBox.Location = new Point(5, 5);
            pictureBox.Size = new Size(304, 88);
            pictureBox.Image = ImageResource.Application;
            this.Controls.Add(pictureBox);

            Label applicationLabel = new Label();
            applicationLabel.FlatStyle = FlatStyle.System;
            applicationLabel.Text = (this.GetType().Assembly.GetCustomAttributes(typeof(AssemblyTitleAttribute), false)[0] as AssemblyTitleAttribute).Title + ", Version " + GetType().Assembly.GetName().Version;
            applicationLabel.Location = new Point(20,100);
            applicationLabel.Size = new Size(270, 16);
            this.Controls.Add(applicationLabel);

            Label messageLabel = new Label();
            messageLabel.FlatStyle = FlatStyle.System;
            messageLabel.Text = (this.GetType().Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false)[0] as AssemblyCopyrightAttribute).Copyright;
            messageLabel.Location = new Point(20,118);
            messageLabel.Size = new Size(270, 32);
            this.Controls.Add(messageLabel);

            LinkLabel linkLabel = new LinkLabel();
            linkLabel.FlatStyle = FlatStyle.System;
            linkLabel.Location = new Point(20, 150);
            linkLabel.Size = new Size(200, 16);
            linkLabel.Text = Resource.GetString("Homepage");
            this.Controls.Add(linkLabel);

            Button acceptButton = new Button();
            acceptButton.FlatStyle = FlatStyle.System;
            acceptButton.Location = new Point(230, 170);
            acceptButton.Text = Resource.GetString("Ok");
            acceptButton.Size = new Size(75, 23);
            acceptButton.TabIndex = 0;
            acceptButton.DialogResult = DialogResult.OK;
            this.Controls.Add(acceptButton);

            this.AcceptButton = acceptButton;
            this.CancelButton = acceptButton;
        }
コード例 #7
0
ファイル: LinkLabelPainter.cs プロジェクト: nlhepler/mono
		private Color GetPieceColor (LinkLabel label, LinkLabel.Piece piece, int i)
		{
			if (!label.Enabled)
				return label.DisabledLinkColor;

			if (piece.link == null)
				return label.ForeColor;

			if (!piece.link.Enabled)
				return label.DisabledLinkColor;
				
			if (piece.link.Active)
				return label.ActiveLinkColor;
				
			if ((label.LinkVisited && i == 0) || piece.link.Visited)
				return label.VisitedLinkColor;
			
			return label.LinkColor;
		}
コード例 #8
0
ファイル: LinkLabelDemo.cs プロジェクト: CarlChenCC/examples
    LinkLabelDemo()
    {
        Text = "LinkLabel Demo";
        Font = new Font("Times New Roman", 14);

        LinkLabel ll = new LinkLabel();
        ll.Parent = this;
        ll.Dock = DockStyle.Fill;
        ll.LinkClicked += LinkLabelOnLinkClicked;
        ll.Text = "Jane Austen Societies exist in North America, the United Kingdom, and Australia, among other places.";

        Hashtable ht = new Hashtable();
        ht["North America"] = "http://www.jasna.org";
        ht["United Kingdom"] = "http://www.janeaustensoci.freeuk.com";
        ht["Australia"] = "http://www.jasa.net.au";

        foreach (DictionaryEntry entry in ht)
        {
            string region = (string)entry.Key;
            string url = (string)entry.Value;
            ll.Links.Add(ll.Text.IndexOf(region), region.Length, url);
        }
    }
コード例 #9
0
 public Link(LinkLabel label, LinkDestination destination, LinkTitle title)
 {
     Label = label;
     Destination = destination ?? new LinkDestination();
     Title = title ?? new LinkTitle();
 }
コード例 #10
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KioskMode));
     this.LDBButton             = new System.Windows.Forms.Button();
     this.WebAdvisorButton      = new System.Windows.Forms.Button();
     this.D2LButton             = new System.Windows.Forms.Button();
     this.WebMailButton         = new System.Windows.Forms.Button();
     this.DSUStudentHomeButton  = new System.Windows.Forms.Button();
     this.ProctorSignUpButton   = new System.Windows.Forms.Button();
     this.CalcButton            = new System.Windows.Forms.Button();
     this.DefaultPrinterButton  = new System.Windows.Forms.Button();
     this.AdminLogOutButton     = new System.Windows.Forms.Button();
     this.ScrollingAnnouncement = new System.Windows.Forms.LinkLabel();
     this.timer1          = new System.Windows.Forms.Timer(this.components);
     this.LDBLabel        = new System.Windows.Forms.Label();
     this.D2LLabel        = new System.Windows.Forms.Label();
     this.WebAdvisorLabel = new System.Windows.Forms.Label();
     this.WebMailLabel    = new System.Windows.Forms.Label();
     this.DSUStudentLabel = new System.Windows.Forms.Label();
     this.ProctorLabel    = new System.Windows.Forms.Label();
     this.CalcLabel       = new System.Windows.Forms.Label();
     this.PrinterLabel    = new System.Windows.Forms.Label();
     this.LogoutLabel     = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // LDBButton
     //
     this.LDBButton.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.LDBButton.Image                   = ((System.Drawing.Image)(resources.GetObject("LDBButton.Image")));
     this.LDBButton.Location                = new System.Drawing.Point(53, 116);
     this.LDBButton.Name                    = "LDBButton";
     this.LDBButton.Size                    = new System.Drawing.Size(150, 150);
     this.LDBButton.TabIndex                = 0;
     this.LDBButton.UseVisualStyleBackColor = true;
     this.LDBButton.Click                  += new System.EventHandler(this.LDBButton_Click);
     //
     // WebAdvisorButton
     //
     this.WebAdvisorButton.Image    = ((System.Drawing.Image)(resources.GetObject("WebAdvisorButton.Image")));
     this.WebAdvisorButton.Location = new System.Drawing.Point(481, 116);
     this.WebAdvisorButton.Name     = "WebAdvisorButton";
     this.WebAdvisorButton.Size     = new System.Drawing.Size(150, 150);
     this.WebAdvisorButton.TabIndex = 1;
     this.WebAdvisorButton.UseVisualStyleBackColor = true;
     this.WebAdvisorButton.Click += new System.EventHandler(this.WebAdvisorButton_Click);
     //
     // D2LButton
     //
     this.D2LButton.Image    = ((System.Drawing.Image)(resources.GetObject("D2LButton.Image")));
     this.D2LButton.Location = new System.Drawing.Point(268, 116);
     this.D2LButton.Name     = "D2LButton";
     this.D2LButton.Size     = new System.Drawing.Size(150, 150);
     this.D2LButton.TabIndex = 2;
     this.D2LButton.UseVisualStyleBackColor = true;
     this.D2LButton.Click += new System.EventHandler(this.D2LButton_Click);
     //
     // WebMailButton
     //
     this.WebMailButton.Image    = ((System.Drawing.Image)(resources.GetObject("WebMailButton.Image")));
     this.WebMailButton.Location = new System.Drawing.Point(686, 116);
     this.WebMailButton.Name     = "WebMailButton";
     this.WebMailButton.Size     = new System.Drawing.Size(150, 150);
     this.WebMailButton.TabIndex = 3;
     this.WebMailButton.UseVisualStyleBackColor = true;
     this.WebMailButton.Click += new System.EventHandler(this.WebMailButton_Click);
     //
     // DSUStudentHomeButton
     //
     this.DSUStudentHomeButton.BackColor                  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
     this.DSUStudentHomeButton.BackgroundImageLayout      = System.Windows.Forms.ImageLayout.Center;
     this.DSUStudentHomeButton.FlatAppearance.BorderColor = System.Drawing.Color.Black;
     this.DSUStudentHomeButton.Font      = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DSUStudentHomeButton.ForeColor = System.Drawing.Color.FloralWhite;
     this.DSUStudentHomeButton.Image     = ((System.Drawing.Image)(resources.GetObject("DSUStudentHomeButton.Image")));
     this.DSUStudentHomeButton.Location  = new System.Drawing.Point(52, 324);
     this.DSUStudentHomeButton.Name      = "DSUStudentHomeButton";
     this.DSUStudentHomeButton.Size      = new System.Drawing.Size(75, 75);
     this.DSUStudentHomeButton.TabIndex  = 4;
     this.DSUStudentHomeButton.UseVisualStyleBackColor = false;
     this.DSUStudentHomeButton.Click += new System.EventHandler(this.DSUStudentHomeButton_Click);
     //
     // ProctorSignUpButton
     //
     this.ProctorSignUpButton.Image    = ((System.Drawing.Image)(resources.GetObject("ProctorSignUpButton.Image")));
     this.ProctorSignUpButton.Location = new System.Drawing.Point(229, 324);
     this.ProctorSignUpButton.Name     = "ProctorSignUpButton";
     this.ProctorSignUpButton.Size     = new System.Drawing.Size(75, 75);
     this.ProctorSignUpButton.TabIndex = 5;
     this.ProctorSignUpButton.UseVisualStyleBackColor = true;
     this.ProctorSignUpButton.Click += new System.EventHandler(this.ProctorSignUpButton_Click);
     //
     // CalcButton
     //
     this.CalcButton.Image    = ((System.Drawing.Image)(resources.GetObject("CalcButton.Image")));
     this.CalcButton.Location = new System.Drawing.Point(410, 324);
     this.CalcButton.Name     = "CalcButton";
     this.CalcButton.Size     = new System.Drawing.Size(75, 75);
     this.CalcButton.TabIndex = 6;
     this.CalcButton.UseVisualStyleBackColor = true;
     this.CalcButton.Click += new System.EventHandler(this.CalcButton_Click);
     //
     // DefaultPrinterButton
     //
     this.DefaultPrinterButton.Image    = ((System.Drawing.Image)(resources.GetObject("DefaultPrinterButton.Image")));
     this.DefaultPrinterButton.Location = new System.Drawing.Point(582, 324);
     this.DefaultPrinterButton.Name     = "DefaultPrinterButton";
     this.DefaultPrinterButton.Size     = new System.Drawing.Size(75, 75);
     this.DefaultPrinterButton.TabIndex = 7;
     this.DefaultPrinterButton.UseVisualStyleBackColor = true;
     this.DefaultPrinterButton.Click += new System.EventHandler(this.DefaultPrinterButton_Click);
     //
     // AdminLogOutButton
     //
     this.AdminLogOutButton.Image    = ((System.Drawing.Image)(resources.GetObject("AdminLogOutButton.Image")));
     this.AdminLogOutButton.Location = new System.Drawing.Point(761, 324);
     this.AdminLogOutButton.Name     = "AdminLogOutButton";
     this.AdminLogOutButton.Size     = new System.Drawing.Size(75, 75);
     this.AdminLogOutButton.TabIndex = 8;
     this.AdminLogOutButton.UseVisualStyleBackColor = true;
     this.AdminLogOutButton.Click += new System.EventHandler(this.AdminLogOutButton_Click);
     //
     // ScrollingAnnouncement
     //
     this.ScrollingAnnouncement.AutoSize     = true;
     this.ScrollingAnnouncement.Font         = new System.Drawing.Font("Calibri", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ScrollingAnnouncement.Location     = new System.Drawing.Point(47, 72);
     this.ScrollingAnnouncement.Name         = "ScrollingAnnouncement";
     this.ScrollingAnnouncement.Size         = new System.Drawing.Size(610, 26);
     this.ScrollingAnnouncement.TabIndex     = 9;
     this.ScrollingAnnouncement.TabStop      = true;
     this.ScrollingAnnouncement.Text         = "Click Here for All the Latest Dakota State University Announcements!";
     this.ScrollingAnnouncement.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.ScrollingAnnouncement_LinkClicked);
     //
     // timer1
     //
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // LDBLabel
     //
     this.LDBLabel.AutoSize    = true;
     this.LDBLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LDBLabel.Location    = new System.Drawing.Point(49, 269);
     this.LDBLabel.Name        = "LDBLabel";
     this.LDBLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LDBLabel.Size        = new System.Drawing.Size(140, 19);
     this.LDBLabel.TabIndex    = 10;
     this.LDBLabel.Text        = "LockDown Browser";
     //
     // D2LLabel
     //
     this.D2LLabel.AutoSize    = true;
     this.D2LLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.D2LLabel.Location    = new System.Drawing.Point(299, 269);
     this.D2LLabel.Name        = "D2LLabel";
     this.D2LLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.D2LLabel.Size        = new System.Drawing.Size(80, 19);
     this.D2LLabel.TabIndex    = 11;
     this.D2LLabel.Text        = "D2L Portal";
     //
     // WebAdvisorLabel
     //
     this.WebAdvisorLabel.AutoSize    = true;
     this.WebAdvisorLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.WebAdvisorLabel.Location    = new System.Drawing.Point(477, 269);
     this.WebAdvisorLabel.Name        = "WebAdvisorLabel";
     this.WebAdvisorLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.WebAdvisorLabel.Size        = new System.Drawing.Size(138, 19);
     this.WebAdvisorLabel.TabIndex    = 12;
     this.WebAdvisorLabel.Text        = "WebAdvisor Portal";
     //
     // WebMailLabel
     //
     this.WebMailLabel.AutoSize    = true;
     this.WebMailLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.WebMailLabel.Location    = new System.Drawing.Point(694, 269);
     this.WebMailLabel.Name        = "WebMailLabel";
     this.WebMailLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.WebMailLabel.Size        = new System.Drawing.Size(132, 19);
     this.WebMailLabel.TabIndex    = 13;
     this.WebMailLabel.Text        = "Outlook Web App";
     //
     // DSUStudentLabel
     //
     this.DSUStudentLabel.AutoSize    = true;
     this.DSUStudentLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DSUStudentLabel.Location    = new System.Drawing.Point(25, 402);
     this.DSUStudentLabel.Name        = "DSUStudentLabel";
     this.DSUStudentLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.DSUStudentLabel.Size        = new System.Drawing.Size(140, 19);
     this.DSUStudentLabel.TabIndex    = 14;
     this.DSUStudentLabel.Text        = "DSU Student Home";
     this.DSUStudentLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // ProctorLabel
     //
     this.ProctorLabel.AutoSize    = true;
     this.ProctorLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ProctorLabel.Location    = new System.Drawing.Point(211, 402);
     this.ProctorLabel.Name        = "ProctorLabel";
     this.ProctorLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.ProctorLabel.Size        = new System.Drawing.Size(112, 19);
     this.ProctorLabel.TabIndex    = 15;
     this.ProctorLabel.Text        = "Proctor Signup";
     this.ProctorLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // CalcLabel
     //
     this.CalcLabel.AutoSize    = true;
     this.CalcLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CalcLabel.Location    = new System.Drawing.Point(406, 402);
     this.CalcLabel.Name        = "CalcLabel";
     this.CalcLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.CalcLabel.Size        = new System.Drawing.Size(78, 19);
     this.CalcLabel.TabIndex    = 16;
     this.CalcLabel.Text        = "Calculator";
     this.CalcLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // PrinterLabel
     //
     this.PrinterLabel.AutoSize    = true;
     this.PrinterLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.PrinterLabel.Location    = new System.Drawing.Point(538, 402);
     this.PrinterLabel.Name        = "PrinterLabel";
     this.PrinterLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.PrinterLabel.Size        = new System.Drawing.Size(165, 19);
     this.PrinterLabel.TabIndex    = 17;
     this.PrinterLabel.Text        = "Change Default Printer";
     this.PrinterLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // LogoutLabel
     //
     this.LogoutLabel.AutoSize    = true;
     this.LogoutLabel.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LogoutLabel.Location    = new System.Drawing.Point(746, 402);
     this.LogoutLabel.Name        = "LogoutLabel";
     this.LogoutLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LogoutLabel.Size        = new System.Drawing.Size(106, 19);
     this.LogoutLabel.TabIndex    = 18;
     this.LogoutLabel.Text        = "Admin Logout";
     this.LogoutLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // KioskMode
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(883, 466);
     this.Controls.Add(this.LogoutLabel);
     this.Controls.Add(this.PrinterLabel);
     this.Controls.Add(this.CalcLabel);
     this.Controls.Add(this.ProctorLabel);
     this.Controls.Add(this.DSUStudentLabel);
     this.Controls.Add(this.WebMailLabel);
     this.Controls.Add(this.WebAdvisorLabel);
     this.Controls.Add(this.D2LLabel);
     this.Controls.Add(this.LDBLabel);
     this.Controls.Add(this.ScrollingAnnouncement);
     this.Controls.Add(this.AdminLogOutButton);
     this.Controls.Add(this.DefaultPrinterButton);
     this.Controls.Add(this.CalcButton);
     this.Controls.Add(this.ProctorSignUpButton);
     this.Controls.Add(this.DSUStudentHomeButton);
     this.Controls.Add(this.WebMailButton);
     this.Controls.Add(this.D2LButton);
     this.Controls.Add(this.WebAdvisorButton);
     this.Controls.Add(this.LDBButton);
     this.Name    = "KioskMode";
     this.Text    = "Kiosk Mode";
     this.Load   += new System.EventHandler(this.KioskMode_Load);
     this.Resize += new System.EventHandler(this.KioskMode_Resize);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #11
0
ファイル: MainForm.cs プロジェクト: wyrover/Ticket12306
        private void DoQuery()
        {
            qe.optionDates.Clear();
            this.BeginInvoke(new MethodInvoker(delegate()
            {
                for (int i = 0; i < this.plSelectDates.Controls.Count; i++)
                {
                    LinkLabel ll = this.plSelectDates.Controls[i] as LinkLabel;
                    string date  = ll.Text;
                    if (!qe.optionDates.Contains(date))
                    {
                        qe.optionDates.Add(date);
                    }
                }
            }));
            DataTable dt = null;

            do
            {
                if (this.InvokeRequired)
                {
                    this.BeginInvoke(new MethodInvoker(delegate()
                    {
                        this.btnQuery.Enabled = false;
                        this.lbLoding.BringToFront();
                        this.lbLoding.Visible = true;
                        this.plNoTicket.Hide();
                    }));
                }
                dt = TicketHelper.GetLeftTicket(ref qe);
                this.BeginInvoke(new MethodInvoker(delegate()
                {
                    this.lbLoding.Visible = false;
                    dgTicket.DataSource   = dt;
                    dgTicket.ClearSelection();
                    lbQueryInfo.Text = qe.from_station_telecode_name + "-->" + qe.to_station_telecode_name + "(" + qe.train_date + "  " + Common.GetWeekDay(Convert.ToDateTime(qe.train_date)) + ")共计" + dt.Rows.Count + "个车次";
                    if (dt.Rows.Count == 0)
                    {
                        this.plNoTicket.Show();
                        this.plNoTicket.Location = this.lbLoding.Location;
                    }
                }));
                if (dt.Rows.Count > 0)
                {
                    if (!autoBuyFlag)
                    {
                        if (this.InvokeRequired)
                        {
                            this.BeginInvoke(new MethodInvoker(delegate()
                            {
                                //保存
                                UserManager.SaveUserInfo(StaticValues.MyUser.UserName, StaticValues.MyUser.Pwd, qe.from_station_telecode_name, qe.to_station_telecode_name);
                                mp3          = new Mp3Helper();
                                mp3.FileName = "succes.mp3";
                                mp3.Play();
                                TipForm tf = new TipForm("恭喜你,有票了,赶快去预订吧!", "有票了");
                                tf.Show();
                            }));
                        }
                    }
                    else
                    {
                        AutoBuyTipForm atf = new AutoBuyTipForm(dt, qe, myList);
                        atf.ShowDialog();
                    }
                }
                ControlQueryRate(timeSpan);
            }while (autoFlag && dt.Rows.Count == 0);
            this.BeginInvoke(new MethodInvoker(delegate()
            {
                btnQuery.Enabled = true;
            }));
        }
	// Constructors
	public LinkCollection(LinkLabel owner) {}
コード例 #13
0
        static DialogResult ShowUI(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, string YesText = "Yes", string NoText = "No")
        {
            DialogResult answer = DialogResult.Abort;

            if (text == null)
            {
                text = "";
            }

            if (caption == null)
            {
                caption = "";
            }

            string link     = "";
            string linktext = "";


            Regex linkregex = new Regex(@"(\[link;([^\]]+);([^\]]+)\])", RegexOptions.IgnoreCase);
            Match match     = linkregex.Match(text);

            if (match.Success)
            {
                link     = match.Groups[2].Value;
                linktext = match.Groups[3].Value;
                text     = text.Replace(match.Groups[1].Value, "");
            }

            // ensure we are always in a known state
            _state = DialogResult.None;

            // convert to nice wrapped lines.
            text = AddNewLinesToText(text);
            // get pixel width and height
            Size textSize = TextRenderer.MeasureText(text, SystemFonts.DefaultFont);

            // allow for icon
            if (icon != MessageBoxIcon.None)
            {
                textSize.Width += SystemIcons.Question.Width;
            }

            using (var msgBoxFrm = new Form
            {
                FormBorderStyle = FormBorderStyle.FixedDialog,
                ShowInTaskbar = true,
                StartPosition = FormStartPosition.CenterParent,
                Text = caption,
                MaximizeBox = false,
                MinimizeBox = false,
                Width = textSize.Width + 20,
                Height = textSize.Height + 120,
                TopMost = true,
                AutoScaleMode = AutoScaleMode.None,
            })
            {
                Rectangle screenRectangle = msgBoxFrm.RectangleToScreen(msgBoxFrm.ClientRectangle);
                int       titleHeight     = screenRectangle.Top - msgBoxFrm.Top;

                var lblMessage = new Label
                {
                    Left     = 58,
                    Top      = 15,
                    Width    = textSize.Width + 10,
                    Height   = textSize.Height + 10,
                    Text     = text,
                    AutoSize = true
                };

                msgBoxFrm.Controls.Add(lblMessage);

                msgBoxFrm.Width = lblMessage.Right + 50;

                if (link != "" && linktext != "")
                {
                    linktext = AddNewLinesToText(linktext);
                    Size textSize2 = TextRenderer.MeasureText(linktext, SystemFonts.DefaultFont);
                    var  linklbl   = new LinkLabel
                    {
                        Left     = FORM_X_MARGIN,
                        Top      = lblMessage.Bottom,
                        Width    = textSize2.Width,
                        Height   = textSize2.Height,
                        Text     = linktext,
                        Tag      = link,
                        AutoSize = true
                    };
                    linklbl.Click += linklbl_Click;

                    msgBoxFrm.Controls.Add(linklbl);

                    msgBoxFrm.Width = Math.Max(msgBoxFrm.Width, linklbl.Right + 16);
                }

                var actualIcon = getMessageBoxIcon(icon);

                if (actualIcon == null)
                {
                    lblMessage.Location = new Point(FORM_X_MARGIN, FORM_Y_MARGIN);
                }
                else
                {
                    var iconPbox = new PictureBox
                    {
                        Image    = actualIcon.ToBitmap(),
                        Location = new Point(FORM_X_MARGIN, FORM_Y_MARGIN)
                    };
                    msgBoxFrm.Controls.Add(iconPbox);
                }


                AddButtonsToForm(msgBoxFrm, buttons, YesText, NoText);

                // display even if theme fails
                try
                {
                    if (ApplyTheme != null)
                    {
                        ApplyTheme(msgBoxFrm);
                    }
                    //ThemeManager.ApplyThemeTo(msgBoxFrm);
                }
                catch
                {
                }

                DialogResult test = msgBoxFrm.ShowDialog();

                answer = _state;
            }

            return(answer);
        }
コード例 #14
0
	private void InitializeComponent() {
		//imglst_genre
		ImageList imglst_genre = new ImageList();
		imglst_genre.ColorDepth = ColorDepth.Depth32Bit;
		imglst_genre.Images.Add(Image.FromFile("music.png"));
		imglst_genre.Images.Add(Image.FromFile("love.png"));
		imglst_genre.Images.Add(Image.FromFile("comedy.png"));
		imglst_genre.Images.Add(Image.FromFile("drama.png"));
		imglst_genre.Images.Add(Image.FromFile("horror.ico"));
		imglst_genre.Images.Add(Image.FromFile("family.ico"));
		//excmbx_genre
		EXComboBox excmbx_genre = new EXComboBox();
		excmbx_genre.DropDownStyle = ComboBoxStyle.DropDownList;
		excmbx_genre.MyHighlightBrush = Brushes.Goldenrod;
		excmbx_genre.ItemHeight = 20;
		excmbx_genre.Items.Add(new EXComboBox.EXImageItem(imglst_genre.Images[0], "Music"));
		excmbx_genre.Items.Add(new EXComboBox.EXImageItem(imglst_genre.Images[1], "Romantic"));
		excmbx_genre.Items.Add(new EXComboBox.EXImageItem(imglst_genre.Images[2], "Comedy"));
		excmbx_genre.Items.Add(new EXComboBox.EXImageItem(imglst_genre.Images[3], "Drama"));
		excmbx_genre.Items.Add(new EXComboBox.EXImageItem(imglst_genre.Images[4], "Horror"));
		excmbx_genre.Items.Add(new EXComboBox.EXImageItem(imglst_genre.Images[5], "Family"));
		excmbx_genre.Items.Add(new EXComboBox.EXMultipleImagesItem(new ArrayList(new object[] {Image.FromFile("love.png"), Image.FromFile("comedy.png")}), "Romantic comedy"));
		//excmbx_rate
		EXComboBox excmbx_rate = new EXComboBox();
		excmbx_rate.MyHighlightBrush = Brushes.Goldenrod;
		excmbx_rate.DropDownStyle = ComboBoxStyle.DropDownList;
		ImageList imglst_rate = new ImageList();
		imglst_rate.ColorDepth = ColorDepth.Depth32Bit;
		imglst_rate.Images.Add(Image.FromFile("rate.png"));
		for (int i = 1; i < 6; i++) {
			ArrayList _arlst1 = new ArrayList();
			for (int j = 0; j < i; j++) {
				_arlst1.Add(imglst_rate.Images[0]);
			}
			excmbx_rate.Items.Add(new EXComboBox.EXMultipleImagesItem("", _arlst1, i.ToString()));
		}
		//lstv
		lstv = new EXListView();
		lstv.MySortBrush = SystemBrushes.ControlLight;
		lstv.MyHighlightBrush = Brushes.Goldenrod;
		lstv.GridLines = true;
		lstv.Location = new Point(10, 40);
		lstv.Size = new Size(500, 400);
		lstv.ControlPadding = 4;
		lstv.MouseMove += new MouseEventHandler(lstv_MouseMove);
		lstv.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)));
		//add SmallImageList to ListView - images will be shown in ColumnHeaders
		ImageList colimglst = new ImageList();
		colimglst.Images.Add("down", Image.FromFile("down.png"));
		colimglst.Images.Add("up", Image.FromFile("up.png"));
		colimglst.ColorDepth = ColorDepth.Depth32Bit;
		colimglst.ImageSize = new Size(20, 20); // this will affect the row height
		lstv.SmallImageList = colimglst;
		//add columns and items
		lstv.Columns.Add(new EXEditableColumnHeader("Movie", 20));
		lstv.Columns.Add(new EXColumnHeader("Progress", 120));
		lstv.Columns.Add(new EXEditableColumnHeader("Genre", excmbx_genre, 60));
		lstv.Columns.Add(new EXEditableColumnHeader("Rate", excmbx_rate, 100));
		lstv.Columns.Add(new EXColumnHeader("Status", 80));
		EXBoolColumnHeader boolcol = new EXBoolColumnHeader("Conclusion", 80);
		boolcol.Editable = true;
		boolcol.TrueImage = Image.FromFile("true.png");
		boolcol.FalseImage = Image.FromFile("false.png");
		lstv.Columns.Add(boolcol);
		lstv.BeginUpdate();
		for (int i = 0; i < 100; i++) {
			//movie
			EXListViewItem item = new EXListViewItem(i.ToString());
			EXControlListViewSubItem cs = new EXControlListViewSubItem();
			ProgressBar b = new ProgressBar();
			b.Tag = item;
			b.Minimum = 0;
			b.Maximum = 1000;
			b.Step = 1;
			item.SubItems.Add(cs);
			lstv.AddControlToSubItem(b, cs);
			//genre
			item.SubItems.Add(new EXMultipleImagesListViewSubItem(new ArrayList(new object[] {imglst_genre.Images[1], imglst_genre.Images[2]}), "Romantic comedy"));
			//rate
			item.SubItems.Add(new EXMultipleImagesListViewSubItem(new ArrayList(new object[] {imglst_rate.Images[0]}), "1"));
			//cancel and resume
			EXControlListViewSubItem cs1 = new EXControlListViewSubItem();
			LinkLabel llbl = new LinkLabel();
			llbl.Text = "Start";
			llbl.Tag = cs;
			llbl.LinkClicked += new LinkLabelLinkClickedEventHandler(llbl_LinkClicked);
			item.SubItems.Add(cs1);
			lstv.AddControlToSubItem(llbl, cs1);
			//conclusion
			item.SubItems.Add(new EXBoolListViewSubItem(true));
			lstv.Items.Add(item);
		}
		lstv.EndUpdate();
		//statusstrip1
		statusstrip1.Items.AddRange(new ToolStripItem[] {toolstripstatuslabel1});
		//btn
		btn.Location = new Point(10, 450);
		btn.Text = "Remove Control";
		btn.AutoSize = true;
		btn.Click += new EventHandler(btn_Click);
		//btn2
		btn2.Location = new Point(btn.Right + 20, 450);
		btn2.Text = "Remove Image";
		btn2.AutoSize = true;
		btn2.Click += new EventHandler(btn2_Click);
		//this
		this.ClientSize = new Size(520, 510);
		this.Controls.Add(statusstrip1);
		Label lbl = new Label();
		lbl.Text = "Doubleclick on the subitems to edit...";
		lbl.Bounds = new Rectangle(10, 10, 480, 20);
		this.Controls.Add(lbl);
		this.Controls.Add(lstv);
		this.Controls.Add(btn);
		this.Controls.Add(btn2);
	}
コード例 #15
0
	void OnDestroy()
	{
		linkLabel = null;
	}
コード例 #16
0
ファイル: Common.cs プロジェクト: smalls2/MissionPlanner
        public static DialogResult MessageShowAgain(string title, string promptText)
        {
            Form form = new Form();

            System.Windows.Forms.Label label = new System.Windows.Forms.Label();
            CheckBox chk = new CheckBox();

            Controls.MyButton buttonOk = new Controls.MyButton();
            System.ComponentModel.ComponentResourceManager resources =
                new System.ComponentModel.ComponentResourceManager(typeof(MainV2));
            form.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

            string link     = "";
            string linktext = "";


            Regex linkregex = new Regex(@"(\[link;([^\]]+);([^\]]+)\])", RegexOptions.IgnoreCase);
            Match match     = linkregex.Match(promptText);

            if (match.Success)
            {
                link       = match.Groups[2].Value;
                linktext   = match.Groups[3].Value;
                promptText = promptText.Replace(match.Groups[1].Value, "");
            }

            form.Text  = title;
            label.Text = promptText;

            chk.Tag      = ("SHOWAGAIN_" + title.Replace(" ", "_").Replace('+', '_'));
            chk.AutoSize = true;
            chk.Text     = Strings.ShowMeAgain;
            chk.Checked  = true;
            chk.Location = new Point(9, 80);

            if (Settings.Instance.ContainsKey((string)chk.Tag) && Settings.Instance.GetBoolean((string)chk.Tag) == false)
            // skip it
            {
                form.Dispose();
                chk.Dispose();
                buttonOk.Dispose();
                label.Dispose();
                return(DialogResult.OK);
            }

            chk.CheckStateChanged += new EventHandler(chk_CheckStateChanged);

            buttonOk.Text         = Strings.OK;
            buttonOk.DialogResult = DialogResult.OK;
            buttonOk.Location     = new Point(form.Right - 100, 80);

            label.SetBounds(9, 9, 372, 13);

            label.AutoSize = true;

            form.Controls.AddRange(new Control[] { label, chk, buttonOk });

            if (link != "" && linktext != "")
            {
                Size textSize2 = TextRenderer.MeasureText(linktext, SystemFonts.DefaultFont);
                var  linklbl   = new LinkLabel
                {
                    Left     = 9,
                    Top      = label.Bottom,
                    Width    = textSize2.Width,
                    Height   = textSize2.Height,
                    Text     = linktext,
                    Tag      = link,
                    AutoSize = true
                };
                linklbl.Click += (sender, args) =>
                {
                    try
                    {
                        System.Diagnostics.Process.Start(((LinkLabel)sender).Tag.ToString());
                    }
                    catch (Exception exception)
                    {
                        CustomMessageBox.Show("Failed to open link " + ((LinkLabel)sender).Tag.ToString());
                    }
                };

                form.Controls.Add(linklbl);

                form.Width = Math.Max(form.Width, linklbl.Right + 16);
            }

            form.ClientSize = new Size(396, 107);

            form.ClientSize      = new Size(Math.Max(300, label.Right + 10), form.ClientSize.Height);
            form.FormBorderStyle = FormBorderStyle.FixedDialog;
            form.StartPosition   = FormStartPosition.CenterScreen;
            form.MinimizeBox     = false;
            form.MaximizeBox     = false;

            ThemeManager.ApplyThemeTo(form);

            DialogResult dialogResult = form.ShowDialog();

            form.Dispose();

            form = null;

            return(dialogResult);
        }
コード例 #17
0
 public Link(LinkLabel label, LinkDestination destination, LinkTitle title)
 {
     Label       = label;
     Destination = destination ?? new LinkDestination();
     Title       = title ?? new LinkTitle();
 }
コード例 #18
0
ファイル: frmAbout.cs プロジェクト: toze3/GenDumper
        private void linkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            LinkLabel lbl = (LinkLabel)sender;

            System.Diagnostics.Process.Start(lbl.Text);
        }
コード例 #19
0
        //-Init---------------------//
        public override void Initialize()
        {
            Log.DrawHorizontalLine();
            Log.WritePixelMagic("Welcome to TWonderchild's Shadow Priest", Color.Black);
            Log.DrawHorizontalLine();
            Log.WritePixelMagic("Please use the following Talents: 1211111", Color.Black);
            Log.WritePixelMagic("Surrender to Madness is not supported.", Color.Black);
            Log.WritePixelMagic("Check the ToDo-List before reporting bugs/requesting features", Color.Black);
            Log.WritePixelMagic("Cooldown Hotkey: F7", Color.Black);

            SettingsForm = new Form {
                Text = "Shadow Priest Settings", StartPosition = FormStartPosition.CenterScreen, Height = 420, Width = 360
            };
            var labelCooldowns = new Label {
                Text = "Cooldown Usage", Size = new Size(180, 20), Left = 8, Top = 10
            };

            SettingsForm.Controls.Add(labelCooldowns);
            PIBloodlustBox = new CheckBox {
                Checked = chkPIBloodlust, TabIndex = 1, Size = new Size(380, 20), Left = 25, Top = 30, Text = "Use Power Infusion with Bloodlust (Ignores other Conditions)"
            };
            PIBloodlustBox.CheckedChanged += chkPIBloodlust_Click;
            SettingsForm.Controls.Add(PIBloodlustBox);
            PIStacksBox = new CheckBox {
                Checked = chkPIStacks, TabIndex = 1, Size = new Size(380, 20), Left = 25, Top = 50, Text = "Use Power Infusion at 20 Voidform Stacks"
            };
            PIStacksBox.CheckedChanged += chkPIStacks_Click;
            SettingsForm.Controls.Add(PIStacksBox);
            PIWaitBox = new CheckBox {
                Checked = chkPIWait, TabIndex = 1, Size = new Size(275, 20), Left = 25, Top = 70, Text = "Use PI and ignore Stacks if Shadow Fiend CD > "
            };
            PIWaitBox.CheckedChanged += chkPIWait_Click;
            SettingsForm.Controls.Add(PIWaitBox);
            PIWaitText = new TextBox {
                Size = new Size(30, 20), Left = 300, Top = 70, Text = txtPIWait.ToString()
            };
            PIWaitText.TextChanged += txtPIWait_TextChanged;
            SettingsForm.Controls.Add(PIWaitText);
            SFPIBox = new CheckBox {
                Checked = chkSFPI, TabIndex = 1, Size = new Size(380, 20), Left = 25, Top = 90, Text = "Use Shadow Fiend at 12 Sec Bloodlust/Power Infusion"
            };
            SFPIBox.CheckedChanged += chkSFPI_Click;
            SettingsForm.Controls.Add(SFPIBox);
            SFWaitBox = new CheckBox {
                Checked = chkSFWait, TabIndex = 1, Size = new Size(275, 20), Left = 25, Top = 110, Text = "Use Shadow Fiend if Power Infusion CD > "
            };
            SFWaitBox.CheckedChanged += chkSFWait_Click;
            SettingsForm.Controls.Add(SFWaitBox);
            SFWaitText = new TextBox {
                Size = new Size(30, 20), Left = 300, Top = 110, Text = txtSFWait.ToString()
            };
            SFWaitText.TextChanged += txtSFWait_TextChanged;
            SettingsForm.Controls.Add(SFWaitText);
            VoidTorrentBox = new CheckBox {
                Checked = chkVoidTorrent, TabIndex = 1, Size = new Size(275, 20), Left = 25, Top = 130, Text = "Use Void Torrent"
            };
            VoidTorrentBox.CheckedChanged += chkVoidTorrent_Click;
            SettingsForm.Controls.Add(VoidTorrentBox);
            var labelRotation = new Label {
                Text = "Rotation", Size = new Size(180, 20), Left = 8, Top = 150
            };

            SettingsForm.Controls.Add(labelRotation);
            var labelSWD = new Label {
                Text = "Use 2nd SWD Stack if Insanity drops below ", Size = new Size(225, 20), Left = 8, Top = 170
            };

            SettingsForm.Controls.Add(labelSWD);
            SWDText = new TextBox {
                Size = new Size(30, 20), Left = 300, Top = 170, Text = txtSWD.ToString()
            };
            SWDText.TextChanged += txtSWD_TextChanged;
            SettingsForm.Controls.Add(SWDText);
            var labelOthers = new Label {
                Text = "Other spells", Size = new Size(180, 20), Left = 8, Top = 190
            };

            SettingsForm.Controls.Add(labelOthers);
            var labelPWS = new Label {
                Text = "Use PWS at X% Health ", Size = new Size(225, 20), Left = 8, Top = 210
            };

            SettingsForm.Controls.Add(labelPWS);
            PWSText = new TextBox {
                Size = new Size(30, 20), Left = 300, Top = 210, Text = txtPWS.ToString()
            };
            PWSText.TextChanged += txtPWS_TextChanged;
            SettingsForm.Controls.Add(PWSText);
            var labelVE = new Label {
                Text = "Use Vampiric Embrace at X% Health ", Size = new Size(225, 20), Left = 8, Top = 230
            };

            SettingsForm.Controls.Add(labelVE);
            VEText = new TextBox {
                Size = new Size(30, 20), Left = 300, Top = 230, Text = txtVE.ToString()
            };
            VEText.TextChanged += txtVE_TextChanged;
            SettingsForm.Controls.Add(VEText);
            SilenceBox = new CheckBox {
                Checked = chkSilence, TabIndex = 1, Size = new Size(380, 20), Left = 10, Top = 250, Text = "Auto Silence"
            };
            SilenceBox.CheckedChanged += chkSilence_Click;
            SettingsForm.Controls.Add(SilenceBox);
            VoidTorrentRadio1 = new RadioButton {
                Checked = radVoidTorrent1, TabIndex = 1, Size = new Size(200, 20), Left = 10, Top = 270, Text = "Use VT as CD",
            };
            VoidTorrentRadio1.CheckedChanged += radVoidTorrent1_Click;
            SettingsForm.Controls.Add(VoidTorrentRadio1);
            VoidTorrentRadio2 = new RadioButton {
                Checked = radVoidTorrent2, TabIndex = 1, Size = new Size(200, 20), Left = 210, Top = 270, Text = "Use VT in Rota"
            };
            VoidTorrentRadio2.CheckedChanged += radVoidTorrent2_Click;
            SettingsForm.Controls.Add(VoidTorrentRadio2);
            var labelItems = new Label {
                Text = "Items", Size = new Size(180, 20), Left = 8, Top = 290
            };

            SettingsForm.Controls.Add(labelItems);
            LegTrinketBox = new CheckBox {
                Checked = chkLegTrinket, TabIndex = 1, Size = new Size(275, 20), Left = 25, Top = 310, Text = "Use Kil'jaeden's Burning Wish"
            };
            LegTrinketBox.CheckedChanged += chkLegTrinket_Click;
            SettingsForm.Controls.Add(LegTrinketBox);
            var labelTalentsLink = new LinkLabel {
                Text = "Talents", Size = new Size(300, 20), Left = 8, Top = 330
            };

            labelTalentsLink.Links.Add(0, 7, "http://eu.battle.net/wow/en/tool/talent-calculator#Xba!0100000");
            labelTalentsLink.LinkClicked += labelTalentsLink_LinkClicked;
            SettingsForm.Controls.Add(labelTalentsLink);
            var labelDonationLink = new LinkLabel {
                Text = "Appreciated but NOT necessary: Donate via Bitcoin", Size = new Size(300, 20), Left = 8, Top = 350
            };

            labelDonationLink.Links.Add(31, 18, "https://github.com/TWonderchild/TWonderchild.github.io");
            labelDonationLink.LinkClicked += labelDonationLink_LinkClicked;
            SettingsForm.Controls.Add(labelDonationLink);
        }
コード例 #20
0
        private void LinkAssemblyLabel_Click(object sender, EventArgs e)
        {
            String outputMessage = string.Empty;

            LinkLabel linkLabel = sender as LinkLabel;

            int indexPosition = linkLabel.Name.IndexOf("_");

            int selectedIndex = Convert.ToInt32(linkLabel.Name.Substring(indexPosition + 1));

            AssemblyData assemblySelected = null;

            foreach (AssemblyData entityData in assemblyList)
            {
                if (selectedIndex == entityData.Index)
                {
                    assemblySelected = entityData;
                    break;
                }
            }

            if (assemblySelected == null)
            {
                outputMessage = "The selected assembly does not exist";
                txtSearchCodeActivity.Text    = string.Empty;
                txtSearchCodeActivity.Enabled = false;
            }
            else
            {
                txtSearchCodeActivity.Enabled = true;
                txtSearchCodeActivity.Text    = string.Empty;
                try
                {
                    if (assemblySelected.codeActivityList == null)
                    {
                        outputMessage = "Assembly with no code activities";
                    }
                    else
                    {
                        assemblySelected.IsExpanded = !assemblySelected.IsExpanded;
                        ShowAssemblies(VISIBILITY_TYPES.SOME);
                    }
                }
                catch (Exception ex)
                {
                    outputMessage = "Error: " + ex.Message;
                }
            }

            if (!string.IsNullOrWhiteSpace(outputMessage))
            {
                MessageBox.Show(outputMessage, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

                /*PopupWindow popup = new PopupWindow();
                 * popup.TxtContent.Text = outputMessage;
                 * popup.Location = listWorkflows.Location;
                 *
                 * popup.ShowDialog();
                 *
                 * popup.Dispose();*/
            }
        }
コード例 #21
0
        private void ShowAssemblies(VISIBILITY_TYPES visibility)
        {
            panelAssemblies.Controls.Clear();
            panelProcessInfo.Controls.Clear();

            int y     = 5;
            int index = 0;

            foreach (AssemblyData assembly in assemblyList)
            {
                if (visibility == VISIBILITY_TYPES.COLLAPSED)
                {
                    assembly.IsExpanded = false;
                }
                else if (visibility == VISIBILITY_TYPES.EXPANDED)
                {
                    assembly.IsExpanded = true;
                }

                bool isAssemblyNameWritting = false;
                foreach (CodeActivityData codeActivity in assembly.codeActivityList)
                {
                    if (string.IsNullOrWhiteSpace(txtSearchCodeActivity.Text) || codeActivity.name.ToUpper().Contains(txtSearchCodeActivity.Text.ToUpper()))
                    {
                        // chechk if the assembly name has been written
                        if (!isAssemblyNameWritting)
                        {
                            assembly.Index = index;
                            LinkLabel linkEntityLabel = new LinkLabel();
                            linkEntityLabel.Name = "linkEntity_" + index.ToString();
                            // If the assembly menu is expanded, show "-" before the name
                            if (assembly.IsExpanded)
                            {
                                linkEntityLabel.Text = "- " + assembly.Name;
                            }
                            else // If the assembly menu is not expanded, show "+" before the name
                            {
                                linkEntityLabel.Text = "+ " + assembly.Name;
                            }
                            linkEntityLabel.AutoSize     = true;
                            linkEntityLabel.Font         = new Font("Verdana", 9, FontStyle.Regular);
                            linkEntityLabel.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
                            linkEntityLabel.ForeColor    = assemblyColor;
                            linkEntityLabel.LinkColor    = assemblyColor;
                            linkEntityLabel.Margin       = new Padding(10, 5, 10, 5);
                            linkEntityLabel.Location     = new Point(10, y);
                            linkEntityLabel.Click       += LinkAssemblyLabel_Click;
                            panelAssemblies.Controls.Add(linkEntityLabel);

                            y += LINES_SPACE;

                            isAssemblyNameWritting = true;
                            index++;
                        }

                        // If the assembly menu is expanded, show the code activities inside
                        if (assembly.IsExpanded)
                        {
                            ShowCodeActivity(codeActivity, 30, y);
                            y += LINES_SPACE;
                        }
                    }
                }
            }
        }
コード例 #22
0
        private void toggPruebaPaneles_CheckedChanged(object sender, EventArgs e)
        {
            Panel panelNoticia = new Panel()
            {
                Name = "panelNoticia", BackColor = Color.Transparent, Size = new Size(850, 145)
            };

            flpNoticias.Controls.Add(panelNoticia);
            PictureBox picNoticia = new PictureBox()
            {
                Name = "picNoticia", Image = Image.FromFile(@"..\..\Iconos\yo.jpg"), Size = new Size(241, 135), SizeMode = PictureBoxSizeMode.Normal
            };

            panelNoticia.Controls.Add(picNoticia);
            LinkLabel llblTitulo = new LinkLabel()
            {
                Name = "llblTitulo", Location = new Point(261, 2), Text = "Hola"
            };

            panelNoticia.Controls.Add(llblTitulo);
            Label lblLocalidad = new Label()
            {
                Name = "lblLocalidad", Location = new Point(264, 24), Text = "Casa", Font = new Font("Microsoft Sans Serif", 12, FontStyle.Bold)
            };

            panelNoticia.Controls.Add(lblLocalidad);
            Panel panelInfo = new Panel()
            {
                Name = "panelInfo", BackColor = Color.Transparent, Size = new Size(588, 25), Location = new Point(276, 46)
            };

            panelNoticia.Controls.Add(panelInfo);
            Label lblInfo1 = new Label()
            {
                Name = "lblInfo1", AutoSize = true, Dock = DockStyle.Left, Text = "466m"
            };

            panelInfo.Controls.Add(lblInfo1);
            Label lblInfo2 = new Label()
            {
                Name = "lblInfo2", AutoSize = true, Dock = DockStyle.Left, Text = "|"
            };

            panelInfo.Controls.Add(lblInfo2);
            Label lblInfo3 = new Label()
            {
                Name = "lblInfo3", AutoSize = true, Dock = DockStyle.Left, Text = "Circular"
            };

            panelInfo.Controls.Add(lblInfo3);
            Label lblInfo4 = new Label()
            {
                Name = "lblInfo4", AutoSize = true, Dock = DockStyle.Left, Text = "|"
            };

            panelInfo.Controls.Add(lblInfo4);
            Label lblInfo5 = new Label()
            {
                Name = "lblInfo5", AutoSize = true, Dock = DockStyle.Left, Text = "Media"
            };

            panelInfo.Controls.Add(lblInfo5);
            Label lblInfo6 = new Label()
            {
                Name = "lblInfo6", AutoSize = true, Dock = DockStyle.Left, Text = "|"
            };

            panelInfo.Controls.Add(lblInfo6);
            Label lblInfo7 = new Label()
            {
                Name = "lblInfo7", AutoSize = true, Dock = DockStyle.Left, Text = "4h"
            };

            panelInfo.Controls.Add(lblInfo7);
            Label lblInfo8 = new Label()
            {
                Name = "lblInfo8", AutoSize = true, Dock = DockStyle.Left, Text = "|"
            };

            panelInfo.Controls.Add(lblInfo8);
            Label lblInfo9 = new Label()
            {
                Name = "lblInfo9", AutoSize = true, Dock = DockStyle.Left, Text = "12 km"
            };

            panelInfo.Controls.Add(lblInfo9);
            PictureBox picFavorito = new PictureBox()
            {
                Name = "picFavorito", Cursor = Cursors.Hand, Image = favoritovacio, Size = new Size(35, 35), Location = new Point(261, 100), SizeMode = PictureBoxSizeMode.Zoom
            };

            panelNoticia.Controls.Add(picFavorito);
            PictureBox picCompartir = new PictureBox()
            {
                Name = "picCompartir", Image = Image.FromFile(@"..\..\Iconos\compartir.png"), Size = new Size(35, 35), Location = new Point(300, 100), SizeMode = PictureBoxSizeMode.Zoom
            };

            panelNoticia.Controls.Add(picCompartir);
            picFavorito.Click += new EventHandler(picFavorito_Click);
        }
コード例 #23
0
ファイル: DialogBasedApp.cs プロジェクト: alrykov/lectures
    public MainDialog()
    {
        Text="Dialog based application";
        StartPosition = FormStartPosition.Manual;
        Location = new Point(100, 100);
        Size = new Size(700, 400);

        Closed += new EventHandler(MainDialog_Closed);

        m_Label = new Label();
        m_Label.Text = ".Net Framevork";
        m_Label.Name = "Label1";
        m_Label.Location = new Point(16, 16);
        m_Label.Size = new Size(120, 16);
        m_Label.TextAlign = ContentAlignment.MiddleCenter;
        m_Label.Font = new Font("Arial", 10F, FontStyle.Italic | FontStyle.Bold);
        m_Label.ForeColor = Color.FromArgb(255, 0, 0);
        Controls.Add(m_Label);

        m_LLabel = new LinkLabel();
        m_LLabel.Name = "Label2";
        //m_LLabel.Text = "www.microsoft.com";
        m_LLabel.Text = "text.txt";
        m_LLabel.Location = new Point(16, 40);
        m_LLabel.Size = new Size(120, 16);
        m_LLabel.TextAlign = ContentAlignment.MiddleCenter;
        m_LLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(L2_LClicked);
        Controls.Add(m_LLabel);

        m_B = new Button();
        m_B.Text = "Push me";
        m_B.Location = new Point(18, 70);
        m_B.Size = new Size(100, 24);
        m_B.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
        m_B.Click += new System.EventHandler(B_C);
        Controls.Add(m_B);

        m_TB = new TextBox();
        m_TB.Text = "";
        m_TB.Location = new Point(140, 16);
        m_TB.Size = new Size(160, 190);
        m_TB.Multiline = true;
        m_TB.MaxLength = 1000;
        m_TB.ScrollBars = ScrollBars.Both;
        m_TB.WordWrap = false;
        m_TB.TextChanged += new EventHandler(TB_TextChanged);
        Controls.Add(m_TB);

        m_RB_Red = new RadioButton();
        m_RB_Red.Text = "Red";
        m_RB_Red.Checked = false;
        m_RB_Red.Location = new Point(16, 16);
        m_RB_Red.Size = new Size(80, 20);
        m_RB_Red.Click += new System.EventHandler(RB_Click);
        m_RB_Red.Click += new System.EventHandler(RB_Click_Mes);

        m_RB_Green = new RadioButton();
        m_RB_Green.Text = "Green";
        m_RB_Green.Checked = true;
        m_RB_Green.Location = new Point(16, 36);
        m_RB_Green.Size = new Size(80, 20);
        m_RB_Green.Click += new System.EventHandler(RB_Click);

        m_RB_Blue = new RadioButton();
        m_RB_Blue.Text = "Blue";
        m_RB_Blue.Checked = false;
        m_RB_Blue.Location = new Point(16, 56);
        m_RB_Blue.Size = new Size(80, 20);
        m_RB_Blue.Click += new System.EventHandler(RB_Click);

        m_B.BackColor = Color.Green;

        m_GB_Color = new GroupBox();
        m_GB_Color.Text = "Choose color";
        m_GB_Color.Location = new Point(18, 100);
        m_GB_Color.Size = new Size(100, 80);
        m_GB_Color.Controls.AddRange(new Control[] {m_RB_Red, m_RB_Green, m_RB_Blue});
        Controls.Add(m_GB_Color);

        m_TT = new ToolTip();
        m_TT.AutomaticDelay = 300;
        m_TT.ShowAlways = true;
        m_TT.SetToolTip(m_B, "pressing the button will display message box");

        m_LB = new ListBox();
        m_LB.Items.Clear();
        m_LB.IntegralHeight = false;
        m_LB.Location = new Point(310, 16);
        m_LB.Size = new Size(160, 90);
        m_LB.Items.AddRange(new object[]{"Red", "Orange", "Yellow", "Green", "Blue", "Indigo", "Violet"});
        m_LB.SelectionMode = SelectionMode.MultiSimple;
        m_LB.SetSelected(1, true);
        m_LB.SelectedIndexChanged += new EventHandler(LB_SelIndChanged);
        Controls.Add(m_LB);

        m_CLB = new CheckedListBox();
        m_CLB.Items.Clear();
        m_CLB.IntegralHeight = false;
        m_CLB.Location = new Point(310, 110);
        m_CLB.Size = new Size(160, 90);
        m_CLB.Items.AddRange(new object[]{"Red", "Orange", "Yellow", "Green", "Blue", "Indigo", "Violet"});
        m_CLB.SelectionMode = SelectionMode.One;
        m_CLB.SetSelected(1, true);
        m_CLB.CheckOnClick = true;
        m_CLB.SelectedIndexChanged += new EventHandler(CLB_SelIndChanged);
        Controls.Add(m_CLB);

        m_CB = new ComboBox();
        m_CB.Items.Clear();
        m_CB.Location = new Point(480, 16);
        m_CB.Size = new Size(160, 20);
        m_CB.DropDownStyle = ComboBoxStyle.DropDownList;
        m_CB.Items.AddRange(new object[]{"Red", "Orange", "Yellow", "Green", "Blue", "Indigo", "Violet"});
        m_CB.SelectedIndex = 0;
        m_CB.SelectedIndexChanged += new EventHandler(CB_TextChanged);
        Controls.Add(m_CB);

        m_DUD = new DomainUpDown();
        m_DUD.Items.Clear();
        m_DUD.Location = new Point(480, 46);
        m_DUD.Size = new Size(160, 20);
        m_DUD.Items.AddRange(new object[]{"Red", "Orange", "Yellow", "Green", "Blue", "Indigo", "Violet"});
        m_DUD.ReadOnly = true;
        m_DUD.UpDownAlign = LeftRightAlignment.Left;
        m_DUD.TextAlign = HorizontalAlignment.Right;
        m_DUD.Wrap = true;
        m_DUD.SelectedIndex = 1;
        Controls.Add(m_DUD);

        m_NUD = new NumericUpDown();
        m_NUD.Location = new Point(480, 76);
        m_NUD.Size = new Size(160, 20);
        m_NUD.Minimum = new Decimal(-10);
        m_NUD.Maximum = new Decimal(10);
        m_NUD.Increment = new Decimal(0.1);
        m_NUD.DecimalPlaces = 1;
        m_NUD.Value = new Decimal(0.0);
        m_NUD.ValueChanged += new EventHandler(NUD_ValueChanged);
        Controls.Add(m_NUD);

        m_CT_L = new Label();
        m_CT_L.Text = "";
        m_CT_L.Location = new Point(18, 220);
        m_CT_L.Size = new Size(100, 16);
        m_CT_L.BorderStyle = BorderStyle.Fixed3D;
        m_CT_L.TextAlign = ContentAlignment.MiddleCenter;
        Controls.Add(m_CT_L);

        m_STT_B = new Button();
        m_STT_B.Text = "Start timer";
        m_STT_B.Location = new Point(18, 246);
        m_STT_B.Size = new Size(100, 24);
        m_STT_B.Click += new EventHandler(STT_BC);
        Controls.Add(m_STT_B);

        m_SPT_B = new Button();
        m_SPT_B.Text = "Stop timer";
        m_SPT_B.Location = new Point(18, 280);
        m_SPT_B.Size = new Size(100, 24);
        m_SPT_B.Click += new EventHandler(STP_BC);
        Controls.Add(m_SPT_B);

        m_T = new Timer();
        m_T.Enabled = true;
        m_T.Interval = 100;
        m_T.Stop();
        m_T.Tick += new EventHandler(T_T);

        m_LL = new Label();
        m_LL.Location = new Point(480, 116);
        m_LL.Size = new Size(160, 20);
        m_LL.TextAlign = ContentAlignment.MiddleCenter;
        Controls.Add(m_LL);

        m_TrB = new TrackBar();
        m_TrB.Minimum = 0;
        m_TrB.Maximum = 100;
        m_TrB.Value = 50;
        m_LL.Text = "Nivelul indicatorul  este " + m_TrB.Value;
        m_TrB.Location = new Point(480, 146);
        m_TrB.Size = new Size(160, 20);
        m_TrB.Orientation = Orientation.Horizontal;
        m_TrB.TickStyle = TickStyle.TopLeft;
        m_TrB.TickFrequency = 10;
        m_TrB.Scroll += new EventHandler(TrB_Scroll);
        Controls.Add(m_TrB);
    }
コード例 #24
0
        protected override void LoadContent()
        {
            base.LoadContent();

            ContentManager Content = Game.Content;

            backgroundImage = new PictureBox(
                Content.Load <Texture2D>(@"Backgrounds\titlescreen"),
                GameRef.ScreenRectangle);
            ControlManager.Add(backgroundImage);

            Texture2D arrowTexture = Content.Load <Texture2D>(@"GUI\leftarrowUp");

            arrowImage = new PictureBox(
                arrowTexture,
                new Rectangle(
                    0,
                    0,
                    arrowTexture.Width,
                    arrowTexture.Height));
            ControlManager.Add(arrowImage);

            startGame           = new LinkLabel();
            startGame.Text      = "New Game";
            startGame.Size      = startGame.SpriteFont.MeasureString(startGame.Text);
            startGame.Selected += new EventHandler(menuItem_Selected);

            ControlManager.Add(startGame);

            loadGame           = new LinkLabel();
            loadGame.Text      = "Load Game";
            loadGame.Size      = loadGame.SpriteFont.MeasureString(loadGame.Text);
            loadGame.Selected += menuItem_Selected;

            ControlManager.Add(loadGame);

            exitGame           = new LinkLabel();
            exitGame.Text      = "Exit Game";
            exitGame.Size      = exitGame.SpriteFont.MeasureString(exitGame.Text);
            exitGame.Selected += menuItem_Selected;

            ControlManager.Add(exitGame);

            ControlManager.NextControl();

            ControlManager.FocusChanged += new EventHandler(ControlManager_FocusChanged);

            Vector2 position = new Vector2(350, 500);

            foreach (Control c in ControlManager)
            {
                if (c is LinkLabel)
                {
                    if (c.Size.X > maxItemWidth)
                    {
                        maxItemWidth = c.Size.X;
                    }

                    c.Position  = position;
                    position.Y += c.Size.Y + 5f;
                }
            }

            ControlManager_FocusChanged(startGame, null);
        }
コード例 #25
0
    private void Setup_Cotrols()
    {
        this.Size = new Size( 700, 800 );
        this.Font = new Font( "メイリオ", 10f, FontStyle.Regular );

        this.treeView = new TreeView() {
            Dock = DockStyle.Fill,
            Font = new Font( "メイリオ", 10f, FontStyle.Regular ),
            PathSeparator = " ⇒ ",
        };

        this.treeView.NodeMouseClick += ( obj, e )=> {
            this.textBox.Text = e.Node.FullPath;
        };

        this.button_2 = new Button() {
            Size = new Size( 120, 28 ),
            Location = new Point( 5, 5 ),
            Text = "これで終わる",
        };

        this.button_1 = new Button() {
            Size = new Size( 120, 28 ),
            Location = new Point( 130, 5 ),
            Text = "次を表示",
        };

        this.linkLabel = new LinkLabel() {
            Text = "クリップボードにコピー",
            Location = new Point( 255, 10 ),
            AutoSize = true,
        };

        this.button_1.Click += ( obj, ev )=> {
            this.DialogResult = DialogResult.Yes;
        };

        this.button_2.Click += ( obj, ev )=> {
            this.DialogResult = DialogResult.No;
        };

        this.panel_1 = new Panel() {
            Size = new Size( 80, 70 ),
            Dock = DockStyle.Top,
        };

        this.textBox = new TextBox() {
            Width = this.Width,
            Location = new Point( 0, 50 ),
            Dock = DockStyle.Bottom,
        };

        this.panel_1.Controls.AddRange( new Control[]{
            this.textBox,
            this.button_1,
            this.button_2,
            this.linkLabel,
        });

        this.Controls.AddRange( new Control[]{
            this.treeView,
            this.panel_1,
        });

        this.Shown += ( obj, ev )=> {
            this.Left = 100;
            this.Top = 100;
        };
    }
コード例 #26
0
ファイル: formMenu.cs プロジェクト: Thespark123/RitoPls
 private void InitializeComponent()
 {
     this.btnChampions = new System.Windows.Forms.Button();
     this.btnItems     = new System.Windows.Forms.Button();
     this.btnMaps      = new System.Windows.Forms.Button();
     this.btnBuilder   = new System.Windows.Forms.Button();
     this.lblVersion   = new System.Windows.Forms.LinkLabel();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.FlatAppearance.BorderSize = 0;
     this.btnClose.Location = new System.Drawing.Point(119, 9);
     //
     // btnChampions
     //
     this.btnChampions.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.btnChampions.Location = new System.Drawing.Point(29, 39);
     this.btnChampions.Margin   = new System.Windows.Forms.Padding(20, 30, 20, 10);
     this.btnChampions.Name     = "btnChampions";
     this.btnChampions.Size     = new System.Drawing.Size(90, 30);
     this.btnChampions.TabIndex = 3;
     this.btnChampions.Text     = "Champions";
     this.btnChampions.UseVisualStyleBackColor = true;
     this.btnChampions.Click += new System.EventHandler(this.btnChampions_Click);
     //
     // btnItems
     //
     this.btnItems.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.btnItems.Location = new System.Drawing.Point(29, 89);
     this.btnItems.Margin   = new System.Windows.Forms.Padding(20, 10, 20, 10);
     this.btnItems.Name     = "btnItems";
     this.btnItems.Size     = new System.Drawing.Size(90, 30);
     this.btnItems.TabIndex = 4;
     this.btnItems.Text     = "Items";
     this.btnItems.UseVisualStyleBackColor = true;
     this.btnItems.Click += new System.EventHandler(this.btnItems_Click);
     //
     // btnMaps
     //
     this.btnMaps.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.btnMaps.Location = new System.Drawing.Point(29, 139);
     this.btnMaps.Margin   = new System.Windows.Forms.Padding(20, 10, 20, 10);
     this.btnMaps.Name     = "btnMaps";
     this.btnMaps.Size     = new System.Drawing.Size(90, 30);
     this.btnMaps.TabIndex = 5;
     this.btnMaps.Text     = "Maps";
     this.btnMaps.UseVisualStyleBackColor = true;
     this.btnMaps.Click += new System.EventHandler(this.btnMaps_Click);
     //
     // btnBuilder
     //
     this.btnBuilder.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.btnBuilder.Location = new System.Drawing.Point(29, 189);
     this.btnBuilder.Margin   = new System.Windows.Forms.Padding(20, 10, 20, 30);
     this.btnBuilder.Name     = "btnBuilder";
     this.btnBuilder.Size     = new System.Drawing.Size(90, 30);
     this.btnBuilder.TabIndex = 6;
     this.btnBuilder.Text     = "Builder";
     this.btnBuilder.UseVisualStyleBackColor = true;
     this.btnBuilder.Click += new System.EventHandler(this.btnBuilder_Click);
     //
     // lblVersion
     //
     this.lblVersion.AutoSize     = true;
     this.lblVersion.LinkColor    = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(255)))));
     this.lblVersion.Location     = new System.Drawing.Point(9, 235);
     this.lblVersion.Margin       = new System.Windows.Forms.Padding(0);
     this.lblVersion.Name         = "lblVersion";
     this.lblVersion.Size         = new System.Drawing.Size(34, 14);
     this.lblVersion.TabIndex     = 7;
     this.lblVersion.TabStop      = true;
     this.lblVersion.Text         = "v0.00";
     this.lblVersion.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lblVersion_LinkClicked);
     //
     // formMenu
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(148, 258);
     this.Controls.Add(this.lblVersion);
     this.Controls.Add(this.btnBuilder);
     this.Controls.Add(this.btnMaps);
     this.Controls.Add(this.btnItems);
     this.Controls.Add(this.btnChampions);
     this.Name          = "formMenu";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "formMenu";
     this.Load         += new System.EventHandler(this.formMenu_Load);
     this.Controls.SetChildIndex(this.btnClose, 0);
     this.Controls.SetChildIndex(this.btnChampions, 0);
     this.Controls.SetChildIndex(this.btnItems, 0);
     this.Controls.SetChildIndex(this.btnMaps, 0);
     this.Controls.SetChildIndex(this.btnBuilder, 0);
     this.Controls.SetChildIndex(this.lblVersion, 0);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #27
0
ファイル: MainForm.cs プロジェクト: mono/gert
	public MainForm ()
	{
		// 
		// _linkLabel
		// 
		_linkLabel = new LinkLabel ();
		_linkLabel.Location = new Point (8, 8);
		_linkLabel.Text = "1234567890";
		_linkLabel.GotFocus += new EventHandler (LinkLabel_GotFocus);
		_linkLabel.LostFocus += new EventHandler (LinkLabel_LostFocus);
		Controls.Add (_linkLabel);
		// 
		// _resetButton
		//
		_resetButton = new Button ();
		_resetButton.Location = new Point (385, 8);
		_resetButton.Size = new Size (60, 20);
		_resetButton.Text = "Reset";
		_resetButton.Click += new EventHandler (ResetButton_Click);
		Controls.Add (_resetButton);
		// 
		// _tabControl
		// 
		_tabControl = new TabControl ();
		_tabControl.Dock = DockStyle.Bottom;
		_tabControl.Height = 450;
		_tabControl.TabIndex = 1;
		_tabControl.GotFocus += new EventHandler (TabControl_GotFocus);
		_tabControl.LostFocus += new EventHandler (TabControl_LostFocus);
		Controls.Add (_tabControl);
		// 
		// _bugDescriptionText1
		// 
		_bugDescriptionText1 = new TextBox ();
		_bugDescriptionText1.Dock = DockStyle.Fill;
		_bugDescriptionText1.Multiline = true;
		_bugDescriptionText1.ScrollBars = ScrollBars.Vertical;
		_bugDescriptionText1.Text = string.Format (CultureInfo.InvariantCulture,
			"Expected result on start-up:{0}{0}" +
			"1. The LinkLabel has focus.{0}{0}" +
			"2. The following event has fired;{0}{0}" +
			"   * LinkLabel => GotFocus",
			Environment.NewLine);
		// 
		// _tabPage1
		// 
		_tabPage1 = new TabPage ();
		_tabPage1.Text = "#1";
		_tabPage1.Controls.Add (_bugDescriptionText1);
		_tabControl.Controls.Add (_tabPage1);
		// 
		// _bugDescriptionText2
		// 
		_bugDescriptionText2 = new TextBox ();
		_bugDescriptionText2.Dock = DockStyle.Fill;
		_bugDescriptionText2.Multiline = true;
		_bugDescriptionText2.ScrollBars = ScrollBars.Vertical;
		_bugDescriptionText2.Text = string.Format (CultureInfo.InvariantCulture,
			"Steps to execute:{0}{0}" +
			"1. Click the Reset button.{0}{0}" +
			"2. Press the Tab key.{0}{0}" +
			"3. Click on the link of the LinkLabel control.{0}{0}" +
			"4. Click on the leaf of tab #2.{0}{0}" +
			"Expected result:{0}{0}" +
			"1. On step 2, focus rectangle is drawn inside the leaf of tab " +
			"#2.{0}{0}" +
			"2. On step 3:{0}{0}" +
			"   * Focus rectangle is no longer drawn inside the leaf of " +
			"tab #2.{0}" +
			"   * Focus rectangle is drawn around the LinkLabel control.{0}{0}" +
			"3. On step 4:{0}{0}" +
			"   * Focus rectangle is drawn inside the leaf of tab #2.{0}" +
			"   * Focus rectangle is no longer drawn around the LinkLabel " +
			"control.{0}{0}" + 
			"4. The following events have fired;{0}{0}" +
			"   * TabControl => GotFocus{0}" +
			"   * TabControl => LostFocus{0}" +
			"   * LinkLabel => GotFocus{0}" +
			"   * LinkLabel => LostFocus{0}" +
			"   * TabControl => GotFocus{0}",
			Environment.NewLine);
		// 
		// _tabPage2
		// 
		_tabPage2 = new TabPage ();
		_tabPage2.Text = "#2";
		_tabPage2.Controls.Add (_bugDescriptionText2);
		_tabControl.Controls.Add (_tabPage2);
		// 
		// _eventsText
		// 
		_eventsText = new TextBox ();
		_eventsText.Location = new Point (8, 40);
		_eventsText.Multiline = true;
		_eventsText.Size = new Size (435, 200);
		_eventsText.ScrollBars = ScrollBars.Vertical;
		Controls.Add (_eventsText);
		// 
		// MainForm
		// 
		ClientSize = new Size (450, 700);
		StartPosition = FormStartPosition.CenterScreen;
		Text = "bug #80501";
	}
コード例 #28
0
 /// <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(RemoteUSBUIRT));
     this._groupBox1              = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this._settingsPnl            = new System.Windows.Forms.Panel();
     this._repeatDelay            = new System.Windows.Forms.NumericUpDown();
     this._repeatWait             = new System.Windows.Forms.NumericUpDown();
     this._label9                 = new System.Windows.Forms.Label();
     this._label8                 = new System.Windows.Forms.Label();
     this._testSendIrButton       = new MediaPortal.UserInterface.Controls.MPButton();
     this._testSendIrText         = new MediaPortal.UserInterface.Controls.MPTextBox();
     this._interCommandDelay      = new System.Windows.Forms.NumericUpDown();
     this._label6                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this._commandRepeat          = new System.Windows.Forms.NumericUpDown();
     this._label5                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this._tunerCommandsButton    = new MediaPortal.UserInterface.Controls.MPButton();
     this._internalCommandsButton = new MediaPortal.UserInterface.Controls.MPButton();
     this._enterCheckBox          = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this._digitCheckBox          = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this._outputCheckBox         = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this._inputCheckBox          = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this._usbuirtVersion         = new MediaPortal.UserInterface.Controls.MPLabel();
     this._label1                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this._label4                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this._groupBox2              = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this._label3                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this._linkLabel1             = new System.Windows.Forms.LinkLabel();
     this._label2                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this._groupBox3              = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this._valueDLLVersion        = new MediaPortal.UserInterface.Controls.MPLabel();
     this._valueAPIVersion        = new MediaPortal.UserInterface.Controls.MPLabel();
     this._labelDLLVersion        = new MediaPortal.UserInterface.Controls.MPLabel();
     this._labelAPIVersion        = new MediaPortal.UserInterface.Controls.MPLabel();
     this._usbuirtConfigVersion   = new MediaPortal.UserInterface.Controls.MPLabel();
     this._label7                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this._groupBox1.SuspendLayout();
     this._settingsPnl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._repeatDelay)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._repeatWait)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._interCommandDelay)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._commandRepeat)).BeginInit();
     this._groupBox2.SuspendLayout();
     this._groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // _groupBox1
     //
     this._groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this._groupBox1.Controls.Add(this._settingsPnl);
     this._groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this._groupBox1.Location  = new System.Drawing.Point(6, 0);
     this._groupBox1.Name      = "_groupBox1";
     this._groupBox1.Size      = new System.Drawing.Size(462, 251);
     this._groupBox1.TabIndex  = 0;
     this._groupBox1.TabStop   = false;
     //
     // _settingsPnl
     //
     this._settingsPnl.Controls.Add(this._repeatDelay);
     this._settingsPnl.Controls.Add(this._repeatWait);
     this._settingsPnl.Controls.Add(this._label9);
     this._settingsPnl.Controls.Add(this._label8);
     this._settingsPnl.Controls.Add(this._testSendIrButton);
     this._settingsPnl.Controls.Add(this._testSendIrText);
     this._settingsPnl.Controls.Add(this._interCommandDelay);
     this._settingsPnl.Controls.Add(this._label6);
     this._settingsPnl.Controls.Add(this._commandRepeat);
     this._settingsPnl.Controls.Add(this._label5);
     this._settingsPnl.Controls.Add(this._tunerCommandsButton);
     this._settingsPnl.Controls.Add(this._internalCommandsButton);
     this._settingsPnl.Controls.Add(this._enterCheckBox);
     this._settingsPnl.Controls.Add(this._digitCheckBox);
     this._settingsPnl.Controls.Add(this._outputCheckBox);
     this._settingsPnl.Controls.Add(this._inputCheckBox);
     this._settingsPnl.Location = new System.Drawing.Point(8, 8);
     this._settingsPnl.Name     = "_settingsPnl";
     this._settingsPnl.Size     = new System.Drawing.Size(448, 235);
     this._settingsPnl.TabIndex = 0;
     //
     // _repeatDelay
     //
     this._repeatDelay.Location = new System.Drawing.Point(153, 66);
     this._repeatDelay.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this._repeatDelay.Name     = "_repeatDelay";
     this._repeatDelay.Size     = new System.Drawing.Size(48, 20);
     this._repeatDelay.TabIndex = 4;
     this._repeatDelay.Value    = new decimal(new int[] {
         30,
         0,
         0,
         0
     });
     //
     // _repeatWait
     //
     this._repeatWait.Location = new System.Drawing.Point(153, 40);
     this._repeatWait.Maximum  = new decimal(new int[] {
         9999,
         0,
         0,
         0
     });
     this._repeatWait.Name     = "_repeatWait";
     this._repeatWait.Size     = new System.Drawing.Size(48, 20);
     this._repeatWait.TabIndex = 2;
     this._repeatWait.Value    = new decimal(new int[] {
         300,
         0,
         0,
         0
     });
     //
     // _label9
     //
     this._label9.AutoSize  = true;
     this._label9.Location  = new System.Drawing.Point(24, 68);
     this._label9.Name      = "_label9";
     this._label9.Size      = new System.Drawing.Size(86, 13);
     this._label9.TabIndex  = 3;
     this._label9.Text      = "Repeat delay ms";
     this._label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _label8
     //
     this._label8.AutoSize  = true;
     this._label8.Location  = new System.Drawing.Point(24, 42);
     this._label8.Name      = "_label8";
     this._label8.Size      = new System.Drawing.Size(80, 13);
     this._label8.TabIndex  = 1;
     this._label8.Text      = "Repeat wait ms";
     this._label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _testSendIrButton
     //
     this._testSendIrButton.Location = new System.Drawing.Point(280, 183);
     this._testSendIrButton.Name     = "_testSendIrButton";
     this._testSendIrButton.Size     = new System.Drawing.Size(160, 23);
     this._testSendIrButton.TabIndex = 14;
     this._testSendIrButton.Text     = "Test settop box control";
     this._testSendIrButton.UseVisualStyleBackColor = true;
     this._testSendIrButton.Click += new System.EventHandler(this.TestSendIrBtnClick);
     //
     // _testSendIrText
     //
     this._testSendIrText.AcceptsReturn = true;
     this._testSendIrText.BorderColor   = System.Drawing.Color.Empty;
     this._testSendIrText.Location      = new System.Drawing.Point(280, 206);
     this._testSendIrText.Name          = "_testSendIrText";
     this._testSendIrText.Size          = new System.Drawing.Size(160, 20);
     this._testSendIrText.TabIndex      = 15;
     this._testSendIrText.KeyPress     += new System.Windows.Forms.KeyPressEventHandler(this.TestSendIrTxtBoxKeyPress);
     //
     // _interCommandDelay
     //
     this._interCommandDelay.Increment = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     this._interCommandDelay.Location = new System.Drawing.Point(153, 156);
     this._interCommandDelay.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this._interCommandDelay.Name     = "_interCommandDelay";
     this._interCommandDelay.Size     = new System.Drawing.Size(48, 20);
     this._interCommandDelay.TabIndex = 9;
     this._interCommandDelay.Value    = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // _label6
     //
     this._label6.AutoSize  = true;
     this._label6.Location  = new System.Drawing.Point(24, 158);
     this._label6.Name      = "_label6";
     this._label6.Size      = new System.Drawing.Size(121, 13);
     this._label6.TabIndex  = 8;
     this._label6.Text      = "Inter-command delay ms";
     this._label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _commandRepeat
     //
     this._commandRepeat.Location = new System.Drawing.Point(153, 132);
     this._commandRepeat.Maximum  = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this._commandRepeat.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this._commandRepeat.Name     = "_commandRepeat";
     this._commandRepeat.Size     = new System.Drawing.Size(48, 20);
     this._commandRepeat.TabIndex = 7;
     this._commandRepeat.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // _label5
     //
     this._label5.AutoSize  = true;
     this._label5.Location  = new System.Drawing.Point(24, 134);
     this._label5.Name      = "_label5";
     this._label5.Size      = new System.Drawing.Size(117, 13);
     this._label5.TabIndex  = 6;
     this._label5.Text      = "Command repeat count";
     this._label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _tunerCommandsButton
     //
     this._tunerCommandsButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._tunerCommandsButton.Location = new System.Drawing.Point(280, 103);
     this._tunerCommandsButton.Name     = "_tunerCommandsButton";
     this._tunerCommandsButton.Size     = new System.Drawing.Size(160, 23);
     this._tunerCommandsButton.TabIndex = 13;
     this._tunerCommandsButton.Text     = "Learn settop box commands";
     this._tunerCommandsButton.UseVisualStyleBackColor = true;
     this._tunerCommandsButton.Click += new System.EventHandler(this.TunerCommandsButtonClick);
     //
     // _internalCommandsButton
     //
     this._internalCommandsButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._internalCommandsButton.Location = new System.Drawing.Point(280, 16);
     this._internalCommandsButton.Name     = "_internalCommandsButton";
     this._internalCommandsButton.Size     = new System.Drawing.Size(160, 23);
     this._internalCommandsButton.TabIndex = 12;
     this._internalCommandsButton.Text     = "Learn MediaPortal commands";
     this._internalCommandsButton.UseVisualStyleBackColor = true;
     this._internalCommandsButton.Click += new System.EventHandler(this.InternalCommandsButtonClick);
     //
     // _enterCheckBox
     //
     this._enterCheckBox.AutoSize  = true;
     this._enterCheckBox.Enabled   = false;
     this._enterCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this._enterCheckBox.Location  = new System.Drawing.Point(24, 206);
     this._enterCheckBox.Name      = "_enterCheckBox";
     this._enterCheckBox.Size      = new System.Drawing.Size(189, 17);
     this._enterCheckBox.TabIndex  = 11;
     this._enterCheckBox.Text      = "Send \'Enter\' for changing channels";
     this._enterCheckBox.UseVisualStyleBackColor = true;
     this._enterCheckBox.CheckedChanged         += new System.EventHandler(this.EnterCheckBoxCheckedChanged);
     //
     // _digitCheckBox
     //
     this._digitCheckBox.AutoSize  = true;
     this._digitCheckBox.Enabled   = false;
     this._digitCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this._digitCheckBox.Location  = new System.Drawing.Point(24, 190);
     this._digitCheckBox.Name      = "_digitCheckBox";
     this._digitCheckBox.Size      = new System.Drawing.Size(180, 17);
     this._digitCheckBox.TabIndex  = 10;
     this._digitCheckBox.Text      = "Use 3 digits for channel selection";
     this._digitCheckBox.UseVisualStyleBackColor = true;
     this._digitCheckBox.CheckedChanged         += new System.EventHandler(this.DigitCheckBoxCheckedChanged);
     //
     // _outputCheckBox
     //
     this._outputCheckBox.AutoSize  = true;
     this._outputCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this._outputCheckBox.Location  = new System.Drawing.Point(8, 106);
     this._outputCheckBox.Name      = "_outputCheckBox";
     this._outputCheckBox.Size      = new System.Drawing.Size(205, 17);
     this._outputCheckBox.TabIndex  = 5;
     this._outputCheckBox.Text      = "Let MediaPortal control your settopbox";
     this._outputCheckBox.UseVisualStyleBackColor = true;
     this._outputCheckBox.CheckedChanged         += new System.EventHandler(this.OutputCheckBoxCheckedChanged);
     //
     // _inputCheckBox
     //
     this._inputCheckBox.AutoSize  = true;
     this._inputCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this._inputCheckBox.Location  = new System.Drawing.Point(8, 16);
     this._inputCheckBox.Name      = "_inputCheckBox";
     this._inputCheckBox.Size      = new System.Drawing.Size(207, 17);
     this._inputCheckBox.TabIndex  = 0;
     this._inputCheckBox.Text      = "Use your remote to control MediaPortal";
     this._inputCheckBox.UseVisualStyleBackColor = true;
     this._inputCheckBox.CheckedChanged         += new System.EventHandler(this.InputCheckBoxCheckedChanged);
     //
     // _usbuirtVersion
     //
     this._usbuirtVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this._usbuirtVersion.Location = new System.Drawing.Point(200, 15);
     this._usbuirtVersion.Name     = "_usbuirtVersion";
     this._usbuirtVersion.Size     = new System.Drawing.Size(246, 16);
     this._usbuirtVersion.TabIndex = 1;
     this._usbuirtVersion.Text     = "Version";
     //
     // _label1
     //
     this._label1.Location = new System.Drawing.Point(16, 15);
     this._label1.Name     = "_label1";
     this._label1.Size     = new System.Drawing.Size(144, 16);
     this._label1.TabIndex = 0;
     this._label1.Text     = "USBUIRT driver version:";
     //
     // _label4
     //
     this._label4.Location = new System.Drawing.Point(0, 0);
     this._label4.Name     = "_label4";
     this._label4.Size     = new System.Drawing.Size(100, 23);
     this._label4.TabIndex = 0;
     //
     // _groupBox2
     //
     this._groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this._groupBox2.Controls.Add(this._label2);
     this._groupBox2.Controls.Add(this._label3);
     this._groupBox2.Controls.Add(this._linkLabel1);
     this._groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this._groupBox2.Location  = new System.Drawing.Point(6, 346);
     this._groupBox2.Name      = "_groupBox2";
     this._groupBox2.Size      = new System.Drawing.Size(462, 104);
     this._groupBox2.TabIndex  = 2;
     this._groupBox2.TabStop   = false;
     this._groupBox2.Text      = "General Information";
     //
     // _label3
     //
     this._label3.Location = new System.Drawing.Point(16, 72);
     this._label3.Name     = "_label3";
     this._label3.Size     = new System.Drawing.Size(96, 16);
     this._label3.TabIndex = 1;
     this._label3.Text     = "More information:";
     //
     // _linkLabel1
     //
     this._linkLabel1.Location     = new System.Drawing.Point(112, 72);
     this._linkLabel1.Name         = "_linkLabel1";
     this._linkLabel1.Size         = new System.Drawing.Size(120, 16);
     this._linkLabel1.TabIndex     = 2;
     this._linkLabel1.TabStop      = true;
     this._linkLabel1.Text         = "http://www.usbuirt.com";
     this._linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel1LinkClicked);
     //
     // _label2
     //
     this._label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this._label2.Location = new System.Drawing.Point(16, 24);
     this._label2.Name     = "_label2";
     this._label2.Size     = new System.Drawing.Size(438, 40);
     this._label2.TabIndex = 0;
     this._label2.Text     = resources.GetString("_label2.Text");
     //
     // _groupBox3
     //
     this._groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this._groupBox3.Controls.Add(this._valueDLLVersion);
     this._groupBox3.Controls.Add(this._valueAPIVersion);
     this._groupBox3.Controls.Add(this._labelDLLVersion);
     this._groupBox3.Controls.Add(this._labelAPIVersion);
     this._groupBox3.Controls.Add(this._usbuirtConfigVersion);
     this._groupBox3.Controls.Add(this._label7);
     this._groupBox3.Controls.Add(this._usbuirtVersion);
     this._groupBox3.Controls.Add(this._label1);
     this._groupBox3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this._groupBox3.Location  = new System.Drawing.Point(6, 257);
     this._groupBox3.Name      = "_groupBox3";
     this._groupBox3.Size      = new System.Drawing.Size(462, 83);
     this._groupBox3.TabIndex  = 1;
     this._groupBox3.TabStop   = false;
     this._groupBox3.Text      = "Status";
     //
     // _valueDLLVersion
     //
     this._valueDLLVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this._valueDLLVersion.Location = new System.Drawing.Point(200, 47);
     this._valueDLLVersion.Name     = "_valueDLLVersion";
     this._valueDLLVersion.Size     = new System.Drawing.Size(246, 16);
     this._valueDLLVersion.TabIndex = 5;
     this._valueDLLVersion.Text     = "Version";
     //
     // _valueAPIVersion
     //
     this._valueAPIVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this._valueAPIVersion.Location = new System.Drawing.Point(200, 31);
     this._valueAPIVersion.Name     = "_valueAPIVersion";
     this._valueAPIVersion.Size     = new System.Drawing.Size(246, 16);
     this._valueAPIVersion.TabIndex = 3;
     this._valueAPIVersion.Text     = "Version";
     //
     // _labelDLLVersion
     //
     this._labelDLLVersion.AutoSize = true;
     this._labelDLLVersion.Location = new System.Drawing.Point(16, 47);
     this._labelDLLVersion.Name     = "_labelDLLVersion";
     this._labelDLLVersion.Size     = new System.Drawing.Size(118, 13);
     this._labelDLLVersion.TabIndex = 4;
     this._labelDLLVersion.Text     = "USBUIRT DLL version:";
     //
     // _labelAPIVersion
     //
     this._labelAPIVersion.AutoSize = true;
     this._labelAPIVersion.Location = new System.Drawing.Point(16, 31);
     this._labelAPIVersion.Name     = "_labelAPIVersion";
     this._labelAPIVersion.Size     = new System.Drawing.Size(115, 13);
     this._labelAPIVersion.TabIndex = 2;
     this._labelAPIVersion.Text     = "USBUIRT API version:";
     //
     // _usbuirtConfigVersion
     //
     this._usbuirtConfigVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this._usbuirtConfigVersion.Location = new System.Drawing.Point(200, 63);
     this._usbuirtConfigVersion.Name     = "_usbuirtConfigVersion";
     this._usbuirtConfigVersion.Size     = new System.Drawing.Size(246, 13);
     this._usbuirtConfigVersion.TabIndex = 7;
     this._usbuirtConfigVersion.Text     = "Version";
     //
     // _label7
     //
     this._label7.AutoSize = true;
     this._label7.Location = new System.Drawing.Point(16, 63);
     this._label7.Name     = "_label7";
     this._label7.Size     = new System.Drawing.Size(126, 13);
     this._label7.TabIndex = 6;
     this._label7.Text     = "USBUIRT plugin version:";
     //
     // RemoteUSBUIRT
     //
     this.Controls.Add(this._groupBox3);
     this.Controls.Add(this._groupBox2);
     this.Controls.Add(this._groupBox1);
     this.Name  = "RemoteUSBUIRT";
     this.Size  = new System.Drawing.Size(472, 458);
     this.Load += new System.EventHandler(this.USBUIRTLoad);
     this._groupBox1.ResumeLayout(false);
     this._settingsPnl.ResumeLayout(false);
     this._settingsPnl.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this._repeatDelay)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._repeatWait)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._interCommandDelay)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._commandRepeat)).EndInit();
     this._groupBox2.ResumeLayout(false);
     this._groupBox3.ResumeLayout(false);
     this._groupBox3.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #29
0
	public aboutDialog()
	{
		Text = "About";
		FormBorderStyle = FormBorderStyle.FixedDialog;
		ControlBox    = false;
		MaximizeBox   = false;
		MinimizeBox   = false;
		ShowInTaskbar = false;
		Size = new Size(200,275);
		StartPosition = FormStartPosition.CenterParent;

		Label version = new Label();
		version.Parent = this;
		version.Location = new Point(20,20);
		version.Width = this.Width-40;
		version.Height = 20;
		version.Text = "v" + Version + " " + Date;
		version.TextAlign = ContentAlignment.TopCenter;

		LinkLabel email = new LinkLabel();
		email.Parent = this;
		email.Location = new Point(20,50);
		email.Width = version.Width;
		email.Height = 20;
		email.TextAlign = ContentAlignment.TopCenter;
		email.Text = "*****@*****.**";
		email.LinkClicked += new LinkLabelLinkClickedEventHandler(email_LinkClicked);

		LinkLabel web = new LinkLabel();
		web.Parent = this;
		web.Location = new Point(20,70);
		web.Width = email.Width;
		web.Height = 20;
		web.TextAlign = ContentAlignment.TopCenter;
		web.Text = "http://winch.pinkbile.com";
		web.LinkClicked += new LinkLabelLinkClickedEventHandler(web_LinkClicked);

		//gpl text label
		version = new Label();
		version.Parent = this;
		version.Width = this.Width - 40;
		version.Height += 25;
		version.TextAlign = ContentAlignment.TopCenter;
		version.Text = "This program is free software and may be distributed according to the terms of the GNU GPL";
		version.Location = new Point(20,100);

		//progress bar
		progress = new ProgressBar();
		progress.Parent = this;
		progress.Height = 15;
		progress.Width = this.Width - 15;
		progress.Location = new Point(5, 160);

		//Ok button
		Button	btn = new Button();
		btn.Parent = this;
		btn.Text = "&Ok";
		btn.Location = new Point(50, 215);
		btn.Width += 20;
		btn.DialogResult = DialogResult.OK;
		AcceptButton = btn;
		CancelButton = btn;

		//updates button
		btnUpdate = new Button();
		btnUpdate.Parent = this;
		btnUpdate.Width += 40;
		btnUpdate.Text = "Check for updates";
		btnUpdate.Location = new Point(40, 185);
		btnUpdate.Click += new EventHandler(btnUpdate_Click);

		System.Windows.Forms.Timer updateTick = new System.Windows.Forms.Timer();
		updateTick.Interval = 250;
		updateTick.Tick += new EventHandler(updateTick_Tick);
		updateTick.Start();
	}
コード例 #30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._lblCopyright     = new System.Windows.Forms.Label();
     this._pictureBox1      = new System.Windows.Forms.PictureBox();
     this.linkLabel1        = new System.Windows.Forms.LinkLabel();
     this._btnOk            = new System.Windows.Forms.Button();
     this._lblVersion       = new System.Windows.Forms.Label();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     ((System.ComponentModel.ISupportInitialize)(this._pictureBox1)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // _lblCopyright
     //
     this._lblCopyright.Dock      = System.Windows.Forms.DockStyle.Fill;
     this._lblCopyright.Location  = new System.Drawing.Point(174, 25);
     this._lblCopyright.Name      = "_lblCopyright";
     this._lblCopyright.Size      = new System.Drawing.Size(249, 25);
     this._lblCopyright.TabIndex  = 13;
     this._lblCopyright.Text      = "Copyright © 2016 DeveloperInABox";
     this._lblCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _pictureBox1
     //
     this._pictureBox1.Image    = global::iSpyApplication.Properties.Resources.ispy;
     this._pictureBox1.Location = new System.Drawing.Point(3, 3);
     this._pictureBox1.Name     = "_pictureBox1";
     this.tableLayoutPanel1.SetRowSpan(this._pictureBox1, 5);
     this._pictureBox1.Size     = new System.Drawing.Size(152, 142);
     this._pictureBox1.TabIndex = 17;
     this._pictureBox1.TabStop  = false;
     //
     // linkLabel1
     //
     this.linkLabel1.AutoSize     = true;
     this.linkLabel1.Location     = new System.Drawing.Point(174, 50);
     this.linkLabel1.Name         = "linkLabel1";
     this.linkLabel1.Padding      = new System.Windows.Forms.Padding(3);
     this.linkLabel1.Size         = new System.Drawing.Size(154, 23);
     this.linkLabel1.TabIndex     = 21;
     this.linkLabel1.TabStop      = true;
     this.linkLabel1.Text         = "www.iSpyConnect.com";
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // _btnOk
     //
     this._btnOk.Anchor                  = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this._btnOk.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this._btnOk.Location                = new System.Drawing.Point(333, 78);
     this._btnOk.Name                    = "_btnOk";
     this._btnOk.Size                    = new System.Drawing.Size(90, 26);
     this._btnOk.TabIndex                = 19;
     this._btnOk.Text                    = "OK";
     this._btnOk.UseVisualStyleBackColor = true;
     this._btnOk.Click                  += new System.EventHandler(this.BtnOkClick);
     //
     // _lblVersion
     //
     this._lblVersion.AutoSize = true;
     this._lblVersion.Location = new System.Drawing.Point(174, 0);
     this._lblVersion.Name     = "_lblVersion";
     this._lblVersion.Size     = new System.Drawing.Size(56, 17);
     this._lblVersion.TabIndex = 18;
     this._lblVersion.Text     = "Version";
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 2;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40.17595F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 59.82405F));
     this.tableLayoutPanel1.Controls.Add(this._pictureBox1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this._lblVersion, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this._lblCopyright, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.linkLabel1, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this._btnOk, 1, 3);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(8, 8);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 5;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(426, 129);
     this.tableLayoutPanel1.TabIndex = 22;
     //
     // AboutForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.AutoSizeMode      = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.BackColor         = System.Drawing.SystemColors.Control;
     this.ClientSize        = new System.Drawing.Size(442, 145);
     this.Controls.Add(this.tableLayoutPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "AboutForm";
     this.Padding         = new System.Windows.Forms.Padding(8);
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "About";
     this.Load           += new System.EventHandler(this.AboutFormLoad);
     ((System.ComponentModel.ISupportInitialize)(this._pictureBox1)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #31
0
 /// <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(ManagerTemplateForm));
     this.uiManagerHostLabel = new System.Windows.Forms.Label();
     this.uiManagerHostTextBox = new System.Windows.Forms.TextBox();
     this.uiStartButton = new System.Windows.Forms.Button();
     this.uiNodeConfigurationGroupBox = new System.Windows.Forms.GroupBox();
     this.uiDedicatedCheckBox = new System.Windows.Forms.CheckBox();
     this.uiIdLabel = new System.Windows.Forms.Label();
     this.uiIntermediateComboBox = new System.Windows.Forms.CheckBox();
     this.uiIdTextBox = new System.Windows.Forms.TextBox();
     this.uiManagerPortLabel = new System.Windows.Forms.Label();
     this.uiManagerPortTextBox = new System.Windows.Forms.TextBox();
     this.uiResetButton = new System.Windows.Forms.Button();
     this.uiStopButton = new System.Windows.Forms.Button();
     this.TrayIcon = new System.Windows.Forms.NotifyIcon(this.components);
     this.TrayMenu = new System.Windows.Forms.ContextMenu();
     this.tmExit = new System.Windows.Forms.MenuItem();
     this.MainMenu = new System.Windows.Forms.MainMenu(this.components);
     this.uiManagerMenuItem = new System.Windows.Forms.MenuItem();
     this.uiManagerExitMenuItem = new System.Windows.Forms.MenuItem();
     this.uiHelpMenuItem = new System.Windows.Forms.MenuItem();
     this.uiHelpAboutMenuItem = new System.Windows.Forms.MenuItem();
     this.uiActionsGroupBox = new System.Windows.Forms.GroupBox();
     this.uiStatusBar = new System.Windows.Forms.StatusBar();
     this.tabControl = new System.Windows.Forms.TabControl();
     this.uiSetupConnectionTabPage = new System.Windows.Forms.TabPage();
     this.uiAdvancedTabPage = new System.Windows.Forms.TabPage();
     this.uiSchedulerComboBox = new System.Windows.Forms.ComboBox();
     this.uiStorageConfigurationGroupBox = new System.Windows.Forms.GroupBox();
     this.uiDatabaseFileGroupBox = new System.Windows.Forms.GroupBox();
     this.uiDatabaseFileButton = new System.Windows.Forms.Button();
     this.uiDatabaseFileTextBox = new System.Windows.Forms.TextBox();
     this.uiDatabaseTypeLabel = new System.Windows.Forms.Label();
     this.uiDatabaseTypeComboBox = new System.Windows.Forms.ComboBox();
     this.uiDatabaseServerGroupBox = new System.Windows.Forms.GroupBox();
     this.uiDatabasePasswordTextBox = new System.Windows.Forms.TextBox();
     this.uiDatabaseServerTextBox = new System.Windows.Forms.TextBox();
     this.uiDatabaseUserLabel = new System.Windows.Forms.Label();
     this.uiDatabasePasswordLabel = new System.Windows.Forms.Label();
     this.uiDatabaseServerLabel = new System.Windows.Forms.Label();
     this.uiDatabaseNameTextBox = new System.Windows.Forms.TextBox();
     this.uiDatabaseNameLabel = new System.Windows.Forms.Label();
     this.uiDatabaseUserTextBox = new System.Windows.Forms.TextBox();
     this.uiSchedulerLabel = new System.Windows.Forms.Label();
     this.tabEndPoints = new System.Windows.Forms.TabPage();
     this.uiProgressBar = new System.Windows.Forms.ProgressBar();
     this.uiLogMessagesTextBox = new System.Windows.Forms.TextBox();
     this.uiLogMessagesLabel = new System.Windows.Forms.Label();
     this.uiViewFullLogLinkLabel = new System.Windows.Forms.LinkLabel();
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     this.ucEndPoints = new Alchemi.Core.EndPointUtils.EndPointManagerControl();
     this.uiNodeConfigurationGroupBox.SuspendLayout();
     this.uiActionsGroupBox.SuspendLayout();
     this.tabControl.SuspendLayout();
     this.uiSetupConnectionTabPage.SuspendLayout();
     this.uiAdvancedTabPage.SuspendLayout();
     this.uiStorageConfigurationGroupBox.SuspendLayout();
     this.uiDatabaseFileGroupBox.SuspendLayout();
     this.uiDatabaseServerGroupBox.SuspendLayout();
     this.tabEndPoints.SuspendLayout();
     this.SuspendLayout();
     //
     // uiManagerHostLabel
     //
     this.uiManagerHostLabel.AutoSize = true;
     this.uiManagerHostLabel.Location = new System.Drawing.Point(38, 103);
     this.uiManagerHostLabel.Name = "uiManagerHostLabel";
     this.uiManagerHostLabel.Size = new System.Drawing.Size(74, 13);
     this.uiManagerHostLabel.TabIndex = 1;
     this.uiManagerHostLabel.Text = "Manager Host";
     this.uiManagerHostLabel.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // uiManagerHostTextBox
     //
     this.uiManagerHostTextBox.Location = new System.Drawing.Point(120, 100);
     this.uiManagerHostTextBox.Name = "uiManagerHostTextBox";
     this.uiManagerHostTextBox.Size = new System.Drawing.Size(104, 20);
     this.uiManagerHostTextBox.TabIndex = 9;
     //
     // uiStartButton
     //
     this.uiStartButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.uiStartButton.Location = new System.Drawing.Point(88, 50);
     this.uiStartButton.Name = "uiStartButton";
     this.uiStartButton.Size = new System.Drawing.Size(128, 23);
     this.uiStartButton.TabIndex = 12;
     this.uiStartButton.Text = "Start";
     this.uiStartButton.Click += new System.EventHandler(this.uiStartButton_Click);
     //
     // uiNodeConfigurationGroupBox
     //
     this.uiNodeConfigurationGroupBox.Controls.Add(this.uiDedicatedCheckBox);
     this.uiNodeConfigurationGroupBox.Controls.Add(this.uiIdLabel);
     this.uiNodeConfigurationGroupBox.Controls.Add(this.uiIntermediateComboBox);
     this.uiNodeConfigurationGroupBox.Controls.Add(this.uiIdTextBox);
     this.uiNodeConfigurationGroupBox.Controls.Add(this.uiManagerPortLabel);
     this.uiNodeConfigurationGroupBox.Controls.Add(this.uiManagerPortTextBox);
     this.uiNodeConfigurationGroupBox.Controls.Add(this.uiManagerHostLabel);
     this.uiNodeConfigurationGroupBox.Controls.Add(this.uiManagerHostTextBox);
     this.uiNodeConfigurationGroupBox.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.uiNodeConfigurationGroupBox.Location = new System.Drawing.Point(8, 12);
     this.uiNodeConfigurationGroupBox.Name = "uiNodeConfigurationGroupBox";
     this.uiNodeConfigurationGroupBox.Size = new System.Drawing.Size(416, 171);
     this.uiNodeConfigurationGroupBox.TabIndex = 6;
     this.uiNodeConfigurationGroupBox.TabStop = false;
     this.uiNodeConfigurationGroupBox.Text = "Node Configuration";
     //
     // uiDedicatedCheckBox
     //
     this.uiDedicatedCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.uiDedicatedCheckBox.Location = new System.Drawing.Point(120, 68);
     this.uiDedicatedCheckBox.Name = "uiDedicatedCheckBox";
     this.uiDedicatedCheckBox.Size = new System.Drawing.Size(88, 24);
     this.uiDedicatedCheckBox.TabIndex = 8;
     this.uiDedicatedCheckBox.Text = "Dedicated";
     //
     // uiIdLabel
     //
     this.uiIdLabel.Location = new System.Drawing.Point(96, 44);
     this.uiIdLabel.Name = "uiIdLabel";
     this.uiIdLabel.Size = new System.Drawing.Size(16, 16);
     this.uiIdLabel.TabIndex = 12;
     this.uiIdLabel.Text = "Id";
     this.uiIdLabel.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // uiIntermediateComboBox
     //
     this.uiIntermediateComboBox.Enabled = false;
     this.uiIntermediateComboBox.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.uiIntermediateComboBox.Location = new System.Drawing.Point(120, 20);
     this.uiIntermediateComboBox.Name = "uiIntermediateComboBox";
     this.uiIntermediateComboBox.Size = new System.Drawing.Size(88, 24);
     this.uiIntermediateComboBox.TabIndex = 6;
     this.uiIntermediateComboBox.TabStop = false;
     this.uiIntermediateComboBox.Text = "Intermediate";
     //
     // uiIdTextBox
     //
     this.uiIdTextBox.Enabled = false;
     this.uiIdTextBox.Location = new System.Drawing.Point(120, 44);
     this.uiIdTextBox.Name = "uiIdTextBox";
     this.uiIdTextBox.Size = new System.Drawing.Size(240, 20);
     this.uiIdTextBox.TabIndex = 7;
     this.uiIdTextBox.TabStop = false;
     //
     // uiManagerPortLabel
     //
     this.uiManagerPortLabel.AutoSize = true;
     this.uiManagerPortLabel.Location = new System.Drawing.Point(41, 135);
     this.uiManagerPortLabel.Name = "uiManagerPortLabel";
     this.uiManagerPortLabel.Size = new System.Drawing.Size(71, 13);
     this.uiManagerPortLabel.TabIndex = 6;
     this.uiManagerPortLabel.Text = "Manager Port";
     this.uiManagerPortLabel.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // uiManagerPortTextBox
     //
     this.uiManagerPortTextBox.Location = new System.Drawing.Point(120, 132);
     this.uiManagerPortTextBox.Name = "uiManagerPortTextBox";
     this.uiManagerPortTextBox.Size = new System.Drawing.Size(104, 20);
     this.uiManagerPortTextBox.TabIndex = 10;
     //
     // uiResetButton
     //
     this.uiResetButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.uiResetButton.Location = new System.Drawing.Point(88, 20);
     this.uiResetButton.Name = "uiResetButton";
     this.uiResetButton.Size = new System.Drawing.Size(248, 23);
     this.uiResetButton.TabIndex = 11;
     this.uiResetButton.TabStop = false;
     this.uiResetButton.Text = "Reset";
     this.uiResetButton.Click += new System.EventHandler(this.uiResetButton_Click);
     //
     // uiStopButton
     //
     this.uiStopButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.uiStopButton.Location = new System.Drawing.Point(224, 50);
     this.uiStopButton.Name = "uiStopButton";
     this.uiStopButton.Size = new System.Drawing.Size(112, 23);
     this.uiStopButton.TabIndex = 13;
     this.uiStopButton.Text = "Stop";
     this.uiStopButton.Click += new System.EventHandler(this.uiStopButton_Click);
     //
     // TrayIcon
     //
     this.TrayIcon.ContextMenu = this.TrayMenu;
     this.TrayIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("TrayIcon.Icon")));
     this.TrayIcon.Text = "Alchemi Manager";
     this.TrayIcon.Visible = true;
     this.TrayIcon.Click += new System.EventHandler(this.TrayIcon_Click);
     //
     // TrayMenu
     //
     this.TrayMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.tmExit});
     //
     // tmExit
     //
     this.tmExit.Index = 0;
     this.tmExit.Text = "Exit";
     this.tmExit.Click += new System.EventHandler(this.tmExit_Click);
     //
     // MainMenu
     //
     this.MainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.uiManagerMenuItem,
         this.uiHelpMenuItem});
     //
     // uiManagerMenuItem
     //
     this.uiManagerMenuItem.Index = 0;
     this.uiManagerMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.uiManagerExitMenuItem});
     this.uiManagerMenuItem.Text = "Manager";
     //
     // uiManagerExitMenuItem
     //
     this.uiManagerExitMenuItem.Index = 0;
     this.uiManagerExitMenuItem.Text = "Exit";
     this.uiManagerExitMenuItem.Click += new System.EventHandler(this.uiManagerExitMenuItem_Click);
     //
     // uiHelpMenuItem
     //
     this.uiHelpMenuItem.Index = 1;
     this.uiHelpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.uiHelpAboutMenuItem});
     this.uiHelpMenuItem.Text = "Help";
     //
     // uiHelpAboutMenuItem
     //
     this.uiHelpAboutMenuItem.Index = 0;
     this.uiHelpAboutMenuItem.Text = "About";
     this.uiHelpAboutMenuItem.Click += new System.EventHandler(this.uiHelpAboutMenuItem_Click);
     //
     // uiActionsGroupBox
     //
     this.uiActionsGroupBox.Controls.Add(this.uiResetButton);
     this.uiActionsGroupBox.Controls.Add(this.uiStopButton);
     this.uiActionsGroupBox.Controls.Add(this.uiStartButton);
     this.uiActionsGroupBox.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.uiActionsGroupBox.Location = new System.Drawing.Point(23, 305);
     this.uiActionsGroupBox.Name = "uiActionsGroupBox";
     this.uiActionsGroupBox.Size = new System.Drawing.Size(416, 89);
     this.uiActionsGroupBox.TabIndex = 9;
     this.uiActionsGroupBox.TabStop = false;
     this.uiActionsGroupBox.Text = "Actions";
     //
     // uiStatusBar
     //
     this.uiStatusBar.Location = new System.Drawing.Point(0, 447);
     this.uiStatusBar.Name = "uiStatusBar";
     this.uiStatusBar.Size = new System.Drawing.Size(456, 22);
     this.uiStatusBar.TabIndex = 10;
     //
     // tabControl
     //
     this.tabControl.Controls.Add(this.uiSetupConnectionTabPage);
     this.tabControl.Controls.Add(this.uiAdvancedTabPage);
     this.tabControl.Controls.Add(this.tabEndPoints);
     this.tabControl.Location = new System.Drawing.Point(10, 10);
     this.tabControl.Name = "tabControl";
     this.tabControl.SelectedIndex = 0;
     this.tabControl.Size = new System.Drawing.Size(440, 289);
     this.tabControl.TabIndex = 12;
     //
     // uiSetupConnectionTabPage
     //
     this.uiSetupConnectionTabPage.Controls.Add(this.uiNodeConfigurationGroupBox);
     this.uiSetupConnectionTabPage.Location = new System.Drawing.Point(4, 22);
     this.uiSetupConnectionTabPage.Name = "uiSetupConnectionTabPage";
     this.uiSetupConnectionTabPage.Size = new System.Drawing.Size(432, 263);
     this.uiSetupConnectionTabPage.TabIndex = 0;
     this.uiSetupConnectionTabPage.Text = "Setup Connection";
     this.uiSetupConnectionTabPage.UseVisualStyleBackColor = true;
     //
     // uiAdvancedTabPage
     //
     this.uiAdvancedTabPage.Controls.Add(this.uiSchedulerComboBox);
     this.uiAdvancedTabPage.Controls.Add(this.uiStorageConfigurationGroupBox);
     this.uiAdvancedTabPage.Controls.Add(this.uiSchedulerLabel);
     this.uiAdvancedTabPage.Location = new System.Drawing.Point(4, 22);
     this.uiAdvancedTabPage.Name = "uiAdvancedTabPage";
     this.uiAdvancedTabPage.Padding = new System.Windows.Forms.Padding(3);
     this.uiAdvancedTabPage.Size = new System.Drawing.Size(432, 263);
     this.uiAdvancedTabPage.TabIndex = 1;
     this.uiAdvancedTabPage.Text = "Advanced";
     this.uiAdvancedTabPage.UseVisualStyleBackColor = true;
     //
     // uiSchedulerComboBox
     //
     this.uiSchedulerComboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.uiSchedulerComboBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.uiSchedulerComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.uiSchedulerComboBox.FormattingEnabled = true;
     this.uiSchedulerComboBox.Location = new System.Drawing.Point(118, 210);
     this.uiSchedulerComboBox.Name = "uiSchedulerComboBox";
     this.uiSchedulerComboBox.Size = new System.Drawing.Size(296, 21);
     this.uiSchedulerComboBox.TabIndex = 34;
     //
     // uiStorageConfigurationGroupBox
     //
     this.uiStorageConfigurationGroupBox.Controls.Add(this.uiDatabaseFileGroupBox);
     this.uiStorageConfigurationGroupBox.Controls.Add(this.uiDatabaseTypeLabel);
     this.uiStorageConfigurationGroupBox.Controls.Add(this.uiDatabaseTypeComboBox);
     this.uiStorageConfigurationGroupBox.Controls.Add(this.uiDatabaseServerGroupBox);
     this.uiStorageConfigurationGroupBox.Location = new System.Drawing.Point(9, 6);
     this.uiStorageConfigurationGroupBox.Name = "uiStorageConfigurationGroupBox";
     this.uiStorageConfigurationGroupBox.Size = new System.Drawing.Size(416, 155);
     this.uiStorageConfigurationGroupBox.TabIndex = 33;
     this.uiStorageConfigurationGroupBox.TabStop = false;
     this.uiStorageConfigurationGroupBox.Text = "Storage Configuration";
     //
     // uiDatabaseFileGroupBox
     //
     this.uiDatabaseFileGroupBox.Controls.Add(this.uiDatabaseFileButton);
     this.uiDatabaseFileGroupBox.Controls.Add(this.uiDatabaseFileTextBox);
     this.uiDatabaseFileGroupBox.Location = new System.Drawing.Point(9, 40);
     this.uiDatabaseFileGroupBox.Name = "uiDatabaseFileGroupBox";
     this.uiDatabaseFileGroupBox.Size = new System.Drawing.Size(378, 63);
     this.uiDatabaseFileGroupBox.TabIndex = 43;
     this.uiDatabaseFileGroupBox.TabStop = false;
     this.uiDatabaseFileGroupBox.Text = "Database File";
     //
     // uiDatabaseFileButton
     //
     this.uiDatabaseFileButton.Location = new System.Drawing.Point(330, 21);
     this.uiDatabaseFileButton.Name = "uiDatabaseFileButton";
     this.uiDatabaseFileButton.Size = new System.Drawing.Size(31, 23);
     this.uiDatabaseFileButton.TabIndex = 3;
     this.uiDatabaseFileButton.Text = "...";
     this.uiDatabaseFileButton.UseVisualStyleBackColor = true;
     this.uiDatabaseFileButton.Click += new System.EventHandler(this.uiDatabaseFileButton_Click);
     //
     // uiDatabaseFileTextBox
     //
     this.uiDatabaseFileTextBox.Enabled = false;
     this.uiDatabaseFileTextBox.Location = new System.Drawing.Point(12, 21);
     this.uiDatabaseFileTextBox.Name = "uiDatabaseFileTextBox";
     this.uiDatabaseFileTextBox.Size = new System.Drawing.Size(312, 20);
     this.uiDatabaseFileTextBox.TabIndex = 2;
     //
     // uiDatabaseTypeLabel
     //
     this.uiDatabaseTypeLabel.AutoSize = true;
     this.uiDatabaseTypeLabel.Location = new System.Drawing.Point(6, 22);
     this.uiDatabaseTypeLabel.Name = "uiDatabaseTypeLabel";
     this.uiDatabaseTypeLabel.Size = new System.Drawing.Size(31, 13);
     this.uiDatabaseTypeLabel.TabIndex = 42;
     this.uiDatabaseTypeLabel.Text = "Type";
     this.uiDatabaseTypeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // uiDatabaseTypeComboBox
     //
     this.uiDatabaseTypeComboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.uiDatabaseTypeComboBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.uiDatabaseTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.uiDatabaseTypeComboBox.FormattingEnabled = true;
     this.uiDatabaseTypeComboBox.Location = new System.Drawing.Point(43, 19);
     this.uiDatabaseTypeComboBox.Name = "uiDatabaseTypeComboBox";
     this.uiDatabaseTypeComboBox.Size = new System.Drawing.Size(296, 21);
     this.uiDatabaseTypeComboBox.TabIndex = 41;
     this.uiDatabaseTypeComboBox.SelectedIndexChanged += new System.EventHandler(this.uiDatabaseTypeComboBox_SelectedIndexChanged);
     //
     // uiDatabaseServerGroupBox
     //
     this.uiDatabaseServerGroupBox.Controls.Add(this.uiDatabasePasswordTextBox);
     this.uiDatabaseServerGroupBox.Controls.Add(this.uiDatabaseServerTextBox);
     this.uiDatabaseServerGroupBox.Controls.Add(this.uiDatabaseUserLabel);
     this.uiDatabaseServerGroupBox.Controls.Add(this.uiDatabasePasswordLabel);
     this.uiDatabaseServerGroupBox.Controls.Add(this.uiDatabaseServerLabel);
     this.uiDatabaseServerGroupBox.Controls.Add(this.uiDatabaseNameTextBox);
     this.uiDatabaseServerGroupBox.Controls.Add(this.uiDatabaseNameLabel);
     this.uiDatabaseServerGroupBox.Controls.Add(this.uiDatabaseUserTextBox);
     this.uiDatabaseServerGroupBox.Location = new System.Drawing.Point(6, 49);
     this.uiDatabaseServerGroupBox.Name = "uiDatabaseServerGroupBox";
     this.uiDatabaseServerGroupBox.Size = new System.Drawing.Size(378, 86);
     this.uiDatabaseServerGroupBox.TabIndex = 33;
     this.uiDatabaseServerGroupBox.TabStop = false;
     this.uiDatabaseServerGroupBox.Text = "Database Server Configuration";
     //
     // uiDatabasePasswordTextBox
     //
     this.uiDatabasePasswordTextBox.Location = new System.Drawing.Point(260, 54);
     this.uiDatabasePasswordTextBox.Name = "uiDatabasePasswordTextBox";
     this.uiDatabasePasswordTextBox.PasswordChar = '*';
     this.uiDatabasePasswordTextBox.Size = new System.Drawing.Size(104, 20);
     this.uiDatabasePasswordTextBox.TabIndex = 35;
     //
     // uiDatabaseServerTextBox
     //
     this.uiDatabaseServerTextBox.Location = new System.Drawing.Point(68, 22);
     this.uiDatabaseServerTextBox.Name = "uiDatabaseServerTextBox";
     this.uiDatabaseServerTextBox.Size = new System.Drawing.Size(104, 20);
     this.uiDatabaseServerTextBox.TabIndex = 32;
     //
     // uiDatabaseUserLabel
     //
     this.uiDatabaseUserLabel.AutoSize = true;
     this.uiDatabaseUserLabel.Location = new System.Drawing.Point(187, 25);
     this.uiDatabaseUserLabel.Name = "uiDatabaseUserLabel";
     this.uiDatabaseUserLabel.Size = new System.Drawing.Size(55, 13);
     this.uiDatabaseUserLabel.TabIndex = 37;
     this.uiDatabaseUserLabel.Text = "Username";
     this.uiDatabaseUserLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // uiDatabasePasswordLabel
     //
     this.uiDatabasePasswordLabel.AutoSize = true;
     this.uiDatabasePasswordLabel.Location = new System.Drawing.Point(187, 57);
     this.uiDatabasePasswordLabel.Name = "uiDatabasePasswordLabel";
     this.uiDatabasePasswordLabel.Size = new System.Drawing.Size(53, 13);
     this.uiDatabasePasswordLabel.TabIndex = 36;
     this.uiDatabasePasswordLabel.Text = "Password";
     this.uiDatabasePasswordLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // uiDatabaseServerLabel
     //
     this.uiDatabaseServerLabel.AutoSize = true;
     this.uiDatabaseServerLabel.Location = new System.Drawing.Point(9, 25);
     this.uiDatabaseServerLabel.Name = "uiDatabaseServerLabel";
     this.uiDatabaseServerLabel.Size = new System.Drawing.Size(38, 13);
     this.uiDatabaseServerLabel.TabIndex = 38;
     this.uiDatabaseServerLabel.Text = "Server";
     this.uiDatabaseServerLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // uiDatabaseNameTextBox
     //
     this.uiDatabaseNameTextBox.Location = new System.Drawing.Point(68, 54);
     this.uiDatabaseNameTextBox.Name = "uiDatabaseNameTextBox";
     this.uiDatabaseNameTextBox.Size = new System.Drawing.Size(104, 20);
     this.uiDatabaseNameTextBox.TabIndex = 33;
     //
     // uiDatabaseNameLabel
     //
     this.uiDatabaseNameLabel.AutoSize = true;
     this.uiDatabaseNameLabel.Location = new System.Drawing.Point(9, 57);
     this.uiDatabaseNameLabel.Name = "uiDatabaseNameLabel";
     this.uiDatabaseNameLabel.Size = new System.Drawing.Size(53, 13);
     this.uiDatabaseNameLabel.TabIndex = 39;
     this.uiDatabaseNameLabel.Text = "DB Name";
     this.uiDatabaseNameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // uiDatabaseUserTextBox
     //
     this.uiDatabaseUserTextBox.Location = new System.Drawing.Point(260, 22);
     this.uiDatabaseUserTextBox.Name = "uiDatabaseUserTextBox";
     this.uiDatabaseUserTextBox.Size = new System.Drawing.Size(104, 20);
     this.uiDatabaseUserTextBox.TabIndex = 34;
     //
     // uiSchedulerLabel
     //
     this.uiSchedulerLabel.AutoSize = true;
     this.uiSchedulerLabel.Location = new System.Drawing.Point(33, 213);
     this.uiSchedulerLabel.Name = "uiSchedulerLabel";
     this.uiSchedulerLabel.Size = new System.Drawing.Size(55, 13);
     this.uiSchedulerLabel.TabIndex = 32;
     this.uiSchedulerLabel.Text = "Scheduler";
     this.uiSchedulerLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // tabEndPoints
     //
     this.tabEndPoints.Controls.Add(this.ucEndPoints);
     this.tabEndPoints.Location = new System.Drawing.Point(4, 22);
     this.tabEndPoints.Name = "tabEndPoints";
     this.tabEndPoints.Padding = new System.Windows.Forms.Padding(3);
     this.tabEndPoints.Size = new System.Drawing.Size(432, 263);
     this.tabEndPoints.TabIndex = 2;
     this.tabEndPoints.Text = "End Points";
     this.tabEndPoints.UseVisualStyleBackColor = true;
     //
     // uiProgressBar
     //
     this.uiProgressBar.Location = new System.Drawing.Point(23, 575);
     this.uiProgressBar.Name = "uiProgressBar";
     this.uiProgressBar.Size = new System.Drawing.Size(414, 10);
     this.uiProgressBar.Step = 1;
     this.uiProgressBar.TabIndex = 13;
     this.uiProgressBar.Visible = false;
     //
     // uiLogMessagesTextBox
     //
     this.uiLogMessagesTextBox.BackColor = System.Drawing.SystemColors.Info;
     this.uiLogMessagesTextBox.Location = new System.Drawing.Point(22, 424);
     this.uiLogMessagesTextBox.Multiline = true;
     this.uiLogMessagesTextBox.Name = "uiLogMessagesTextBox";
     this.uiLogMessagesTextBox.ReadOnly = true;
     this.uiLogMessagesTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.uiLogMessagesTextBox.Size = new System.Drawing.Size(416, 145);
     this.uiLogMessagesTextBox.TabIndex = 15;
     this.uiLogMessagesTextBox.TabStop = false;
     //
     // uiLogMessagesLabel
     //
     this.uiLogMessagesLabel.Location = new System.Drawing.Point(20, 406);
     this.uiLogMessagesLabel.Name = "uiLogMessagesLabel";
     this.uiLogMessagesLabel.Size = new System.Drawing.Size(88, 15);
     this.uiLogMessagesLabel.TabIndex = 16;
     this.uiLogMessagesLabel.Text = "Log Messages";
     this.uiLogMessagesLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // uiViewFullLogLinkLabel
     //
     this.uiViewFullLogLinkLabel.AutoSize = true;
     this.uiViewFullLogLinkLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.uiViewFullLogLinkLabel.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.uiViewFullLogLinkLabel.Location = new System.Drawing.Point(94, 404);
     this.uiViewFullLogLinkLabel.Name = "uiViewFullLogLinkLabel";
     this.uiViewFullLogLinkLabel.Size = new System.Drawing.Size(98, 15);
     this.uiViewFullLogLinkLabel.TabIndex = 17;
     this.uiViewFullLogLinkLabel.TabStop = true;
     this.uiViewFullLogLinkLabel.Text = "( View full log ... )";
     this.uiViewFullLogLinkLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // openFileDialog
     //
     this.openFileDialog.DefaultExt = "db";
     //
     // ucEndPoints
     //
     this.ucEndPoints.EndPoints = null;
     this.ucEndPoints.Location = new System.Drawing.Point(6, 6);
     this.ucEndPoints.Name = "ucEndPoints";
     this.ucEndPoints.Size = new System.Drawing.Size(420, 251);
     this.ucEndPoints.TabIndex = 0;
     //
     // ManagerTemplateForm
     //
     this.AcceptButton = this.uiStartButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(456, 469);
     this.Controls.Add(this.uiViewFullLogLinkLabel);
     this.Controls.Add(this.uiLogMessagesLabel);
     this.Controls.Add(this.uiActionsGroupBox);
     this.Controls.Add(this.uiLogMessagesTextBox);
     this.Controls.Add(this.uiProgressBar);
     this.Controls.Add(this.tabControl);
     this.Controls.Add(this.uiStatusBar);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Menu = this.MainMenu;
     this.Name = "ManagerTemplateForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Alchemi Manager";
     this.Load += new System.EventHandler(this.ManagerTemplateForm_Load);
     this.uiNodeConfigurationGroupBox.ResumeLayout(false);
     this.uiNodeConfigurationGroupBox.PerformLayout();
     this.uiActionsGroupBox.ResumeLayout(false);
     this.tabControl.ResumeLayout(false);
     this.uiSetupConnectionTabPage.ResumeLayout(false);
     this.uiAdvancedTabPage.ResumeLayout(false);
     this.uiAdvancedTabPage.PerformLayout();
     this.uiStorageConfigurationGroupBox.ResumeLayout(false);
     this.uiStorageConfigurationGroupBox.PerformLayout();
     this.uiDatabaseFileGroupBox.ResumeLayout(false);
     this.uiDatabaseFileGroupBox.PerformLayout();
     this.uiDatabaseServerGroupBox.ResumeLayout(false);
     this.uiDatabaseServerGroupBox.PerformLayout();
     this.tabEndPoints.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #32
0
ファイル: main.cs プロジェクト: d3x0r/xperdex
    ///<para>Constructs and initializes all child controls of this dialog box.</para>
    private void InitializeComponent()
    {
        // Label with to display current opacity level
        Label Label1 = new Label();

        Label1.AutoSize = true;
        Label1.Location = new System.Drawing.Point(4, 8);
        Label1.Text     = "1. Drag&&Drop an image file from windows explorer into this window.";
        Controls.Add(Label1);

        Label Label2 = new Label();

        Label2.AutoSize = true;
        Label2.Location = new System.Drawing.Point(4, 38);
        Label2.Text     = "2. Play with the opacity level [0..255]:";
        Controls.Add(Label2);

        // Label with to display current opacity level
        LabelValue          = new Label();
        LabelValue.AutoSize = true;
        LabelValue.Location = new System.Drawing.Point(195, 38);
        LabelValue.Text     = "255";

        Controls.Add(LabelValue);


        // Trackbar to change opacity level
        Track = new TrackBar();

        Track.Location = new System.Drawing.Point(18, 58);
        Track.Size     = new System.Drawing.Size(310, 0);
        Track.BeginInit();
        Track.Maximum       = 255;
        Track.TickFrequency = 5;
        Track.TickStyle     = TickStyle.TopLeft;
        Track.Value         = 255;
        Track.EndInit();

        Track.ValueChanged += new EventHandler(Track_ValueChanged);

        Controls.Add(Track);


        Label Label3 = new Label();

        Label3.AutoSize = true;
        Label3.Location = new System.Drawing.Point(4, 108);
        Label3.Text     = "3. Drag the layered window arround you desktop!";
        Controls.Add(Label3);


        // Label with two links to me! :)
        LinkLabel Link = new LinkLabel();

        Link.Location = new System.Drawing.Point(4, 140);
        Link.Size     = new System.Drawing.Size(250, 80);
        Link.Text     = "by Rui Lopes <*****@*****.**>";
        Link.Links.Add(3, 9, "http://www.ruilopes.com");
        Link.Links.Add(14, 16, "mailto:[email protected]");

        Link.LinkClicked += new LinkLabelLinkClickedEventHandler(Link_LinkClicked);

        Controls.Add(Link);


        // TestForm will containt the per-pixel-alpha dib
        TestForm = new MyPerPixelAlphaForm();
        TestForm.Show();
    }
コード例 #33
0
 /// <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(LineFeatureStyleEditor));
     this.applyLineStyle    = new System.Windows.Forms.CheckBox();
     this.compositeLines    = new System.Windows.Forms.CheckBox();
     this.CompositeGroup    = new System.Windows.Forms.GroupBox();
     this.toolStrip1        = new System.Windows.Forms.ToolStrip();
     this.AddStyleButton    = new System.Windows.Forms.ToolStripButton();
     this.RemoveStyleButton = new System.Windows.Forms.ToolStripButton();
     this.lineStyles        = new System.Windows.Forms.ListBox();
     this.AdvancedPanel     = new System.Windows.Forms.Panel();
     this.compositePanel    = new System.Windows.Forms.Panel();
     this.propertyPanel     = new System.Windows.Forms.Panel();
     this.lineGroup         = new System.Windows.Forms.GroupBox();
     this.lineStyleEditor   = new Maestro.Editors.LayerDefinition.Vector.StyleEditors.LineStyleEditor();
     this.sizeGroup         = new System.Windows.Forms.GroupBox();
     this.sizeUnitsCombo    = new System.Windows.Forms.ComboBox();
     this.UnitsTable        = new System.Data.DataTable();
     this.dataColumn5       = new System.Data.DataColumn();
     this.dataColumn6       = new System.Data.DataColumn();
     this.sizeContextCombo  = new System.Windows.Forms.ComboBox();
     this.SizeContextTable  = new System.Data.DataTable();
     this.dataColumn3       = new System.Data.DataColumn();
     this.dataColumn4       = new System.Data.DataColumn();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.previewGroup      = new System.Windows.Forms.GroupBox();
     this.lnkRefresh        = new System.Windows.Forms.LinkLabel();
     this.previewPicture    = new System.Windows.Forms.PictureBox();
     this.ComboBoxDataSet   = new System.Data.DataSet();
     this.CompositeGroup.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.AdvancedPanel.SuspendLayout();
     this.compositePanel.SuspendLayout();
     this.propertyPanel.SuspendLayout();
     this.lineGroup.SuspendLayout();
     this.sizeGroup.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.UnitsTable)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.SizeContextTable)).BeginInit();
     this.previewGroup.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewPicture)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ComboBoxDataSet)).BeginInit();
     this.SuspendLayout();
     //
     // applyLineStyle
     //
     this.applyLineStyle.Checked    = true;
     this.applyLineStyle.CheckState = System.Windows.Forms.CheckState.Checked;
     resources.ApplyResources(this.applyLineStyle, "applyLineStyle");
     this.applyLineStyle.Name            = "applyLineStyle";
     this.applyLineStyle.CheckedChanged += new System.EventHandler(this.applyLineStyle_CheckedChanged);
     //
     // compositeLines
     //
     this.compositeLines.Checked    = true;
     this.compositeLines.CheckState = System.Windows.Forms.CheckState.Checked;
     resources.ApplyResources(this.compositeLines, "compositeLines");
     this.compositeLines.Name            = "compositeLines";
     this.compositeLines.CheckedChanged += new System.EventHandler(this.compositeLines_CheckedChanged);
     //
     // CompositeGroup
     //
     this.CompositeGroup.Controls.Add(this.toolStrip1);
     this.CompositeGroup.Controls.Add(this.lineStyles);
     resources.ApplyResources(this.CompositeGroup, "CompositeGroup");
     this.CompositeGroup.Name    = "CompositeGroup";
     this.CompositeGroup.TabStop = false;
     //
     // toolStrip1
     //
     this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.AddStyleButton,
         this.RemoveStyleButton
     });
     resources.ApplyResources(this.toolStrip1, "toolStrip1");
     this.toolStrip1.Name       = "toolStrip1";
     this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
     //
     // AddStyleButton
     //
     this.AddStyleButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     resources.ApplyResources(this.AddStyleButton, "AddStyleButton");
     this.AddStyleButton.Name   = "AddStyleButton";
     this.AddStyleButton.Click += new System.EventHandler(this.AddStyleButton_Click);
     //
     // RemoveStyleButton
     //
     this.RemoveStyleButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     resources.ApplyResources(this.RemoveStyleButton, "RemoveStyleButton");
     this.RemoveStyleButton.Name   = "RemoveStyleButton";
     this.RemoveStyleButton.Click += new System.EventHandler(this.RemoveStyleButton_Click);
     //
     // lineStyles
     //
     resources.ApplyResources(this.lineStyles, "lineStyles");
     this.lineStyles.DrawMode              = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.lineStyles.Name                  = "lineStyles";
     this.lineStyles.DrawItem             += new System.Windows.Forms.DrawItemEventHandler(this.lineStyles_DrawItem);
     this.lineStyles.SelectedIndexChanged += new System.EventHandler(this.lineStyles_SelectedIndexChanged);
     //
     // AdvancedPanel
     //
     this.AdvancedPanel.Controls.Add(this.compositeLines);
     this.AdvancedPanel.Controls.Add(this.applyLineStyle);
     resources.ApplyResources(this.AdvancedPanel, "AdvancedPanel");
     this.AdvancedPanel.Name = "AdvancedPanel";
     //
     // compositePanel
     //
     this.compositePanel.Controls.Add(this.CompositeGroup);
     resources.ApplyResources(this.compositePanel, "compositePanel");
     this.compositePanel.Name = "compositePanel";
     //
     // propertyPanel
     //
     this.propertyPanel.Controls.Add(this.lineGroup);
     this.propertyPanel.Controls.Add(this.sizeGroup);
     resources.ApplyResources(this.propertyPanel, "propertyPanel");
     this.propertyPanel.Name = "propertyPanel";
     //
     // lineGroup
     //
     this.lineGroup.Controls.Add(this.lineStyleEditor);
     resources.ApplyResources(this.lineGroup, "lineGroup");
     this.lineGroup.Name    = "lineGroup";
     this.lineGroup.TabStop = false;
     //
     // lineStyleEditor
     //
     this.lineStyleEditor.ColorExpression = "";
     resources.ApplyResources(this.lineStyleEditor, "lineStyleEditor");
     this.lineStyleEditor.Name = "lineStyleEditor";
     this.lineStyleEditor.RequiresExpressionEditor += new System.EventHandler(this.lineStyleEditor_RequiresExpressionEditor);
     //
     // sizeGroup
     //
     this.sizeGroup.Controls.Add(this.sizeUnitsCombo);
     this.sizeGroup.Controls.Add(this.sizeContextCombo);
     this.sizeGroup.Controls.Add(this.label3);
     this.sizeGroup.Controls.Add(this.label2);
     resources.ApplyResources(this.sizeGroup, "sizeGroup");
     this.sizeGroup.Name    = "sizeGroup";
     this.sizeGroup.TabStop = false;
     //
     // sizeUnitsCombo
     //
     resources.ApplyResources(this.sizeUnitsCombo, "sizeUnitsCombo");
     this.sizeUnitsCombo.DataSource            = this.UnitsTable;
     this.sizeUnitsCombo.DisplayMember         = "Display";
     this.sizeUnitsCombo.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.sizeUnitsCombo.Name                  = "sizeUnitsCombo";
     this.sizeUnitsCombo.ValueMember           = "Value";
     this.sizeUnitsCombo.SelectedIndexChanged += new System.EventHandler(this.sizeUnitsCombo_SelectedIndexChanged);
     //
     // UnitsTable
     //
     this.UnitsTable.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn5,
         this.dataColumn6
     });
     this.UnitsTable.TableName = "Units";
     //
     // dataColumn5
     //
     this.dataColumn5.Caption    = "Display";
     this.dataColumn5.ColumnName = "Display";
     //
     // dataColumn6
     //
     this.dataColumn6.Caption    = "Value";
     this.dataColumn6.ColumnName = "Value";
     //
     // sizeContextCombo
     //
     resources.ApplyResources(this.sizeContextCombo, "sizeContextCombo");
     this.sizeContextCombo.DataSource            = this.SizeContextTable;
     this.sizeContextCombo.DisplayMember         = "Display";
     this.sizeContextCombo.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.sizeContextCombo.Name                  = "sizeContextCombo";
     this.sizeContextCombo.ValueMember           = "Value";
     this.sizeContextCombo.SelectedIndexChanged += new System.EventHandler(this.sizeContextCombo_SelectedIndexChanged);
     //
     // SizeContextTable
     //
     this.SizeContextTable.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn3,
         this.dataColumn4
     });
     this.SizeContextTable.TableName = "SizeContext";
     //
     // dataColumn3
     //
     this.dataColumn3.Caption    = "Display";
     this.dataColumn3.ColumnName = "Display";
     //
     // dataColumn4
     //
     this.dataColumn4.Caption    = "Value";
     this.dataColumn4.ColumnName = "Value";
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // previewGroup
     //
     this.previewGroup.Controls.Add(this.lnkRefresh);
     this.previewGroup.Controls.Add(this.previewPicture);
     resources.ApplyResources(this.previewGroup, "previewGroup");
     this.previewGroup.Name    = "previewGroup";
     this.previewGroup.TabStop = false;
     //
     // lnkRefresh
     //
     resources.ApplyResources(this.lnkRefresh, "lnkRefresh");
     this.lnkRefresh.BackColor    = System.Drawing.Color.Transparent;
     this.lnkRefresh.Name         = "lnkRefresh";
     this.lnkRefresh.TabStop      = true;
     this.lnkRefresh.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkRefresh_LinkClicked);
     //
     // previewPicture
     //
     resources.ApplyResources(this.previewPicture, "previewPicture");
     this.previewPicture.BackColor   = System.Drawing.Color.White;
     this.previewPicture.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.previewPicture.Name        = "previewPicture";
     this.previewPicture.TabStop     = false;
     this.previewPicture.Paint      += new System.Windows.Forms.PaintEventHandler(this.previewPicture_Paint);
     //
     // ComboBoxDataSet
     //
     this.ComboBoxDataSet.DataSetName = "ComboBoxDataSet";
     this.ComboBoxDataSet.Locale      = new System.Globalization.CultureInfo("da-DK");
     this.ComboBoxDataSet.Tables.AddRange(new System.Data.DataTable[] {
         this.SizeContextTable,
         this.UnitsTable
     });
     //
     // LineFeatureStyleEditor
     //
     resources.ApplyResources(this, "$this");
     this.Controls.Add(this.previewGroup);
     this.Controls.Add(this.propertyPanel);
     this.Controls.Add(this.compositePanel);
     this.Controls.Add(this.AdvancedPanel);
     this.Name = "LineFeatureStyleEditor";
     this.CompositeGroup.ResumeLayout(false);
     this.CompositeGroup.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.AdvancedPanel.ResumeLayout(false);
     this.compositePanel.ResumeLayout(false);
     this.propertyPanel.ResumeLayout(false);
     this.lineGroup.ResumeLayout(false);
     this.sizeGroup.ResumeLayout(false);
     this.sizeGroup.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.UnitsTable)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.SizeContextTable)).EndInit();
     this.previewGroup.ResumeLayout(false);
     this.previewGroup.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewPicture)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ComboBoxDataSet)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #34
0
ファイル: CPanelMenu.cs プロジェクト: ykebaili/Timos
        /// ////////////////////////////////////////////////////
        public void InitPanel()
        {
            AssureMenu();
            if (m_menuCustom == null)
            {
                return;
            }

            try
            {
                m_btnEdit.Visible = CTimosApp.SessionClient.GetInfoUtilisateur().GetDonneeDroit(
                    CDroitDeBase.c_droitBasePersonnalisation) != null;
            }
            catch
            {
                m_btnEdit.Visible = false;
            }
            foreach (LinkLabel label in m_listLabels)
            {
                label.Hide();
                label.Dispose();
            }
            m_listLabels.Clear();
            if (m_menuCustom == null || m_menuCustom.ListeMenusFils.Count == 0)
            {
                Visible = false;
                return;
            }
            else
            {
                Visible = true;
            }
            int nHeight = 0;
            int nStartY = 0;

            //if (m_menuCustom.Libelle != "")
            //{
            m_panelTitre.Visible = true;
            //m_lblTitre.Text = m_menuCustom.Libelle;
            nHeight += m_panelTitre.Height + c_nHauteurSeparation;
            nStartY += m_panelTitre.Height + c_nHauteurSeparation;
            //}
            int nNbMenus = 0;

            foreach (CMenuCustom menu in m_menuCustom.ListeMenusFils)
            {
                if (ShouldAffiche(menu))
                {
                    nNbMenus++;
                    LinkLabel label = new LinkLabel();
                    label.Font         = m_labelExemple.Font;
                    label.BackColor    = m_labelExemple.BackColor;
                    label.Image        = m_labelExemple.Image;
                    label.ImageAlign   = m_labelExemple.ImageAlign;
                    label.TextAlign    = m_labelExemple.TextAlign;
                    label.ForeColor    = m_labelExemple.ForeColor;
                    label.LinkColor    = m_labelExemple.LinkColor;
                    label.LinkBehavior = m_labelExemple.LinkBehavior;
                    label.Links.Add(0, menu.Libelle.Length, menu);
                    label.Text         = menu.Libelle;
                    label.LinkClicked += new LinkLabelLinkClickedEventHandler(OnClickMenu);
                    label.Parent       = this;
                    label.Left         = c_margeGauche;
                    label.Top          = nStartY;
                    label.Width        = Width - c_margeGauche - 5;
                    label.Height       = m_labelExemple.Height;
                    label.Anchor       = m_labelExemple.Anchor;
                    nStartY           += c_nHauteur1Menu + c_nHauteurSeparation;
                    this.Controls.Add(label);
                    m_listLabels.Add(label);

                    label.Paint += new PaintEventHandler(label_Paint);
                }
            }
            nHeight += nNbMenus * (c_nHauteur1Menu + c_nHauteurSeparation) - c_nHauteurSeparation;
            Height   = nHeight;
        }
コード例 #35
0
        private void CreateControls()
        {
            Texture2D leftTexture  = Game.Content.Load <Texture2D>(@"GUI\leftarrowUp");
            Texture2D rightTexture = Game.Content.Load <Texture2D>(@"GUI\rightarrowUp");
            Texture2D stopTexture  = Game.Content.Load <Texture2D>(@"GUI\StopBar");

            backgroundImage = new PictureBox(
                Game.Content.Load <Texture2D>(@"Backgrounds\titlescreen"),
                GameRef.ScreenRectangle);

            ControlManager.Add(backgroundImage);

            Label label1 = new Label
            {
                Text = "Who will search for the Eyes of the Dragon?"
            };

            label1.Size     = label1.SpriteFont.MeasureString(label1.Text);
            label1.Position = new Vector2(
                (GameRef.Window.ClientBounds.Width - label1.Size.X) / 2, 150);

            ControlManager.Add(label1);

            nameSelector = new LeftRightSelector(leftTexture, rightTexture, stopTexture);
            nameSelector.SetItems(maleName, 125);
            nameSelector.Position = new Vector2(label1.Position.X, 200);

            ControlManager.Add(nameSelector);

            genderSelector = new LeftRightSelector(leftTexture, rightTexture, stopTexture);
            genderSelector.SetItems(genderItems, 125);
            genderSelector.Position          = new Vector2(label1.Position.X, 250);
            genderSelector.SelectionChanged += GenderSelector_SelectionChanged;

            ControlManager.Add(genderSelector);

            classSelector = new LeftRightSelector(leftTexture, rightTexture, stopTexture);
            classSelector.SetItems(classItems, 125);
            classSelector.Position          = new Vector2(label1.Position.X, 300);
            classSelector.SelectionChanged += ClassSelector_SelectionChanged;

            ControlManager.Add(classSelector);

            LinkLabel linkLabel1 = new LinkLabel
            {
                Text     = "Accept this character.",
                Position = new Vector2(label1.Position.X, 350)
            };

            linkLabel1.Selected += new EventHandler(LinkLabel1_Selected);

            ControlManager.Add(linkLabel1);

            characterImage = new PictureBox(
                characterImages[0, 0],
                new Rectangle(600, 200, 96, 96),
                new Rectangle(0, 0, 32, 32));

            ControlManager.Add(characterImage);

            ControlManager.NextControl();
        }
コード例 #36
0
ファイル: CPanelMenu.cs プロジェクト: ykebaili/Timos
 /// <summary>
 /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
 /// le contenu de cette méthode avec l'éditeur de code.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CPanelMenu));
     this.m_btnEdit       = new System.Windows.Forms.PictureBox();
     this.m_sousMenu      = new System.Windows.Forms.ContextMenu();
     this.m_timerMovePict = new System.Windows.Forms.Timer(this.components);
     this.m_labelExemple  = new System.Windows.Forms.LinkLabel();
     this.m_panelTitre    = new System.Windows.Forms.Panel();
     this.m_toolTip       = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.m_btnEdit)).BeginInit();
     this.m_panelTitre.SuspendLayout();
     this.SuspendLayout();
     //
     // m_btnEdit
     //
     this.m_btnEdit.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.m_btnEdit.BackColor = System.Drawing.Color.Transparent;
     this.m_btnEdit.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.m_btnEdit.Image     = ((System.Drawing.Image)(resources.GetObject("m_btnEdit.Image")));
     this.m_btnEdit.Location  = new System.Drawing.Point(132, 0);
     this.m_btnEdit.Name      = "m_btnEdit";
     this.m_btnEdit.Size      = new System.Drawing.Size(29, 30);
     this.m_btnEdit.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.m_btnEdit.TabIndex  = 5;
     this.m_btnEdit.TabStop   = false;
     this.m_btnEdit.Click    += new System.EventHandler(this.m_btnEdit_Click);
     //
     // m_timerMovePict
     //
     this.m_timerMovePict.Enabled  = true;
     this.m_timerMovePict.Interval = 20;
     this.m_timerMovePict.Tick    += new System.EventHandler(this.m_timerMovePict_Tick);
     //
     // m_labelExemple
     //
     this.m_labelExemple.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.m_labelExemple.BackColor    = System.Drawing.Color.Transparent;
     this.m_labelExemple.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.m_labelExemple.ForeColor    = System.Drawing.Color.White;
     this.m_labelExemple.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.m_labelExemple.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.m_labelExemple.LinkColor    = System.Drawing.Color.White;
     this.m_labelExemple.Location     = new System.Drawing.Point(16, 88);
     this.m_labelExemple.Name         = "m_labelExemple";
     this.m_labelExemple.Size         = new System.Drawing.Size(140, 22);
     this.m_labelExemple.TabIndex     = 4;
     this.m_labelExemple.TabStop      = true;
     this.m_labelExemple.Text         = "linkLabel1";
     this.m_labelExemple.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.m_labelExemple.Visible      = false;
     //
     // m_panelTitre
     //
     this.m_panelTitre.BackColor = System.Drawing.Color.Transparent;
     this.m_panelTitre.Controls.Add(this.m_btnEdit);
     this.m_panelTitre.Dock     = System.Windows.Forms.DockStyle.Top;
     this.m_panelTitre.Location = new System.Drawing.Point(0, 0);
     this.m_panelTitre.Name     = "m_panelTitre";
     this.m_panelTitre.Size     = new System.Drawing.Size(164, 33);
     this.m_panelTitre.TabIndex = 6;
     //
     // CPanelMenu
     //
     this.BackColor             = System.Drawing.Color.White;
     this.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.Controls.Add(this.m_panelTitre);
     this.Controls.Add(this.m_labelExemple);
     this.Name  = "CPanelMenu";
     this.Size  = new System.Drawing.Size(164, 214);
     this.Load += new System.EventHandler(this.CPanelMenu_Load);
     ((System.ComponentModel.ISupportInitialize)(this.m_btnEdit)).EndInit();
     this.m_panelTitre.ResumeLayout(false);
     this.m_panelTitre.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #37
0
 private void InitializeComponent()
 {
     this.panel2 = new Panel();
     this.shujuyuancunfangweizhi = new Label();
     this.mingmingkongjian       = new Label();
     this.shengchengweizhi       = new Label();
     this.lujing           = new Label();
     this.weizhi           = new Label();
     this.kongjian         = new Label();
     this.jiaoliuluntan    = new LinkLabel();
     this.guanfangwangzhan = new LinkLabel();
     this.jishuboke        = new LinkLabel();
     this.banben           = new Label();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     this.panel2.Anchor                = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
     this.panel2.BackgroundImage       = (Image)Resources.ad;
     this.panel2.BackgroundImageLayout = ImageLayout.None;
     this.panel2.Controls.Add((Control)this.banben);
     this.panel2.Controls.Add((Control)this.jishuboke);
     this.panel2.Controls.Add((Control)this.guanfangwangzhan);
     this.panel2.Controls.Add((Control)this.jiaoliuluntan);
     this.panel2.Controls.Add((Control)this.kongjian);
     this.panel2.Controls.Add((Control)this.weizhi);
     this.panel2.Controls.Add((Control)this.lujing);
     this.panel2.Controls.Add((Control)this.shengchengweizhi);
     this.panel2.Controls.Add((Control)this.mingmingkongjian);
     this.panel2.Controls.Add((Control)this.shujuyuancunfangweizhi);
     this.panel2.Location = new Point(98, 12);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new Size(662, 499);
     this.panel2.TabIndex = 9;
     this.shujuyuancunfangweizhi.AutoSize  = true;
     this.shujuyuancunfangweizhi.BackColor = Color.Transparent;
     this.shujuyuancunfangweizhi.Location  = new Point(153, 126);
     this.shujuyuancunfangweizhi.Name      = "shujuyuancunfangweizhi";
     this.shujuyuancunfangweizhi.Size      = new Size(89, 12);
     this.shujuyuancunfangweizhi.TabIndex  = 0;
     this.shujuyuancunfangweizhi.Text      = "数据源存放路径";
     this.mingmingkongjian.AutoSize        = true;
     this.mingmingkongjian.BackColor       = Color.Transparent;
     this.mingmingkongjian.Location        = new Point(153, 232);
     this.mingmingkongjian.Name            = "mingmingkongjian";
     this.mingmingkongjian.Size            = new Size(53, 12);
     this.mingmingkongjian.TabIndex        = 1;
     this.mingmingkongjian.Text            = "命名空间";
     this.shengchengweizhi.AutoSize        = true;
     this.shengchengweizhi.BackColor       = Color.Transparent;
     this.shengchengweizhi.Location        = new Point(153, 177);
     this.shengchengweizhi.Name            = "shengchengweizhi";
     this.shengchengweizhi.Size            = new Size(53, 12);
     this.shengchengweizhi.TabIndex        = 2;
     this.shengchengweizhi.Text            = "生成位置";
     this.lujing.AutoSize               = true;
     this.lujing.BackColor              = Color.Transparent;
     this.lujing.Location               = new Point(153, 151);
     this.lujing.Name                   = "lujing";
     this.lujing.Size                   = new Size(41, 12);
     this.lujing.TabIndex               = 3;
     this.lujing.Text                   = "label4";
     this.weizhi.AutoSize               = true;
     this.weizhi.BackColor              = Color.Transparent;
     this.weizhi.Location               = new Point(153, 202);
     this.weizhi.Name                   = "weizhi";
     this.weizhi.Size                   = new Size(41, 12);
     this.weizhi.TabIndex               = 4;
     this.weizhi.Text                   = "label5";
     this.kongjian.AutoSize             = true;
     this.kongjian.BackColor            = Color.Transparent;
     this.kongjian.Location             = new Point(153, 259);
     this.kongjian.Name                 = "kongjian";
     this.kongjian.Size                 = new Size(41, 12);
     this.kongjian.TabIndex             = 5;
     this.kongjian.Text                 = "label6";
     this.jiaoliuluntan.AutoSize        = true;
     this.jiaoliuluntan.BackColor       = Color.Transparent;
     this.jiaoliuluntan.Font            = new Font("微软雅黑", 12f, FontStyle.Regular, GraphicsUnit.Point, (byte)134);
     this.jiaoliuluntan.ForeColor       = Color.Black;
     this.jiaoliuluntan.LinkBehavior    = LinkBehavior.NeverUnderline;
     this.jiaoliuluntan.LinkColor       = Color.Black;
     this.jiaoliuluntan.Location        = new Point(509, (int)sbyte.MaxValue);
     this.jiaoliuluntan.Name            = "jiaoliuluntan";
     this.jiaoliuluntan.Size            = new Size(74, 21);
     this.jiaoliuluntan.TabIndex        = 6;
     this.jiaoliuluntan.TabStop         = true;
     this.jiaoliuluntan.Text            = "权限管理系统";
     this.jiaoliuluntan.LinkClicked    += new LinkLabelLinkClickedEventHandler(this.jiaoliuluntan_LinkClicked);
     this.guanfangwangzhan.AutoSize     = true;
     this.guanfangwangzhan.BackColor    = Color.Transparent;
     this.guanfangwangzhan.Font         = new Font("微软雅黑", 12f);
     this.guanfangwangzhan.ForeColor    = Color.Black;
     this.guanfangwangzhan.LinkBehavior = LinkBehavior.NeverUnderline;
     this.guanfangwangzhan.LinkColor    = Color.Black;
     this.guanfangwangzhan.Location     = new Point(509, 193);
     this.guanfangwangzhan.Name         = "guanfangwangzhan";
     this.guanfangwangzhan.Size         = new Size(74, 21);
     this.guanfangwangzhan.TabIndex     = 7;
     this.guanfangwangzhan.TabStop      = true;
     this.guanfangwangzhan.Text         = "官方网站";
     this.jishuboke.AutoSize            = true;
     this.jishuboke.BackColor           = Color.Transparent;
     this.jishuboke.Font                = new Font("微软雅黑", 12f);
     this.jishuboke.ForeColor           = Color.Black;
     this.jishuboke.LinkBehavior        = LinkBehavior.NeverUnderline;
     this.jishuboke.LinkColor           = Color.Black;
     this.jishuboke.Location            = new Point(509, 161);
     this.jishuboke.Name                = "jishuboke";
     this.jishuboke.Size                = new Size(74, 21);
     this.jishuboke.TabIndex            = 8;
     this.jishuboke.TabStop             = true;
     this.jishuboke.Text                = "技术博客";
     this.banben.AutoSize               = true;
     this.banben.BackColor              = Color.Transparent;
     this.banben.Font                   = new Font("微软雅黑", 12f);
     this.banben.ForeColor              = Color.White;
     this.banben.Location               = new Point(103, 67);
     this.banben.Name                   = "banben";
     this.banben.Size                   = new Size(395, 21);
     this.banben.TabIndex               = 10;
     this.banben.Text                   = "您好,感谢您使用狼奔代码生成器。";
     this.AutoScaleDimensions           = new SizeF(6f, 12f);
     this.AutoScaleMode                 = AutoScaleMode.Font;
     this.ClientSize = new Size(849, 510);
     this.Controls.Add((Control)this.panel2);
     this.Name = "Form1";
     this.Text = "Form1";
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #38
0
        private void InitializeComponent()
        {
            ResourceManager resourceManager = new ResourceManager(typeof(frmAsignacionManual));

            this.lblZona         = new Label();
            this.cboZonaEdificio = new ComboBox();
            this.cboLecturista   = new ComboBox();
            this.lblLecturista   = new Label();
            this.dtpFechaB       = new DateTimePicker();
            this.lblAl           = new Label();
            this.lblDel          = new Label();
            this.dtpFechaA       = new DateTimePicker();
            this.btnCancelar     = new Button();
            this.btnAceptar      = new Button();
            this.grdAsignacionLecturistaZonaEdificio = new DataGrid();
            this.dataGridTableStyle1    = new DataGridTableStyle();
            this.grdcolZonaEdificio     = new DataGridTextBoxColumn();
            this.grdcolLecturista       = new DataGridTextBoxColumn();
            this.grdcolConsecutivo      = new DataGridTextBoxColumn();
            this.grdcolNombreLecturista = new DataGridTextBoxColumn();
            this.grdcolDescripcion      = new DataGridTextBoxColumn();
            this.grdcolNuevo            = new DataGridBoolColumn();
            this.linkAgregar            = new LinkLabel();
            this.linkEliminar           = new LinkLabel();
            this.grdcolFechaA           = new DataGridTextBoxColumn();
            this.grdcolFechaB           = new DataGridTextBoxColumn();
            this.grdAsignacionLecturistaZonaEdificio.BeginInit();
            this.SuspendLayout();
            this.lblZona.AutoSize = true;
            this.lblZona.Location = new Point(16, 36);
            this.lblZona.Name     = "lblZona";
            this.lblZona.Size     = new Size(33, 13);
            this.lblZona.TabIndex = 0;
            this.lblZona.Text     = "Zona:";
            this.cboZonaEdificio.DropDownStyle    = ComboBoxStyle.DropDownList;
            this.cboZonaEdificio.Location         = new Point(88, 32);
            this.cboZonaEdificio.MaxDropDownItems = 20;
            this.cboZonaEdificio.Name             = "cboZonaEdificio";
            this.cboZonaEdificio.Size             = new Size(360, 21);
            this.cboZonaEdificio.TabIndex         = 1;
            this.cboLecturista.DropDownStyle      = ComboBoxStyle.DropDownList;
            this.cboLecturista.Location           = new Point(88, 64);
            this.cboLecturista.MaxDropDownItems   = 20;
            this.cboLecturista.Name      = "cboLecturista";
            this.cboLecturista.Size      = new Size(360, 21);
            this.cboLecturista.TabIndex  = 3;
            this.lblLecturista.AutoSize  = true;
            this.lblLecturista.Location  = new Point(16, 68);
            this.lblLecturista.Name      = "lblLecturista";
            this.lblLecturista.Size      = new Size(56, 13);
            this.lblLecturista.TabIndex  = 2;
            this.lblLecturista.Text      = "Lecturista:";
            this.dtpFechaB.Location      = new Point(88, 128);
            this.dtpFechaB.Name          = "dtpFechaB";
            this.dtpFechaB.Size          = new Size(360, 20);
            this.dtpFechaB.TabIndex      = 9;
            this.dtpFechaB.ValueChanged += new EventHandler(this.dtpFechaB_ValueChanged);
            this.lblAl.AutoSize          = true;
            this.lblAl.Location          = new Point(16, 132);
            this.lblAl.Name              = "lblAl";
            this.lblAl.Size              = new Size(17, 13);
            this.lblAl.TabIndex          = 8;
            this.lblAl.Text              = "Al:";
            this.lblDel.AutoSize         = true;
            this.lblDel.Location         = new Point(16, 100);
            this.lblDel.Name             = "lblDel";
            this.lblDel.Size             = new Size(24, 13);
            this.lblDel.TabIndex         = 6;
            this.lblDel.Text             = "Del:";
            this.dtpFechaA.Location      = new Point(88, 96);
            this.dtpFechaA.Name          = "dtpFechaA";
            this.dtpFechaA.Size          = new Size(360, 20);
            this.dtpFechaA.TabIndex      = 7;
            this.dtpFechaA.ValueChanged += new EventHandler(this.dtpFechaA_ValueChanged);
            this.btnCancelar.Anchor      = AnchorStyles.Top | AnchorStyles.Right;
            this.btnCancelar.Image       = (Image)resourceManager.GetObject("btnCancelar.Image");
            this.btnCancelar.ImageAlign  = ContentAlignment.MiddleLeft;
            this.btnCancelar.Location    = new Point(706, 56);
            this.btnCancelar.Name        = "btnCancelar";
            this.btnCancelar.TabIndex    = 11;
            this.btnCancelar.Text        = "Cancelar";
            this.btnCancelar.TextAlign   = ContentAlignment.MiddleRight;
            this.btnCancelar.Click      += new EventHandler(this.btnCancelar_Click);
            this.btnAceptar.Anchor       = AnchorStyles.Top | AnchorStyles.Right;
            this.btnAceptar.Enabled      = false;
            this.btnAceptar.Image        = (Image)resourceManager.GetObject("btnAceptar.Image");
            this.btnAceptar.ImageAlign   = ContentAlignment.MiddleLeft;
            this.btnAceptar.Location     = new Point(706, 24);
            this.btnAceptar.Name         = "btnAceptar";
            this.btnAceptar.TabIndex     = 10;
            this.btnAceptar.Text         = "Aceptar";
            this.btnAceptar.TextAlign    = ContentAlignment.MiddleRight;
            this.btnAceptar.Click       += new EventHandler(this.btnAceptar_Click);
            this.grdAsignacionLecturistaZonaEdificio.Anchor          = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
            this.grdAsignacionLecturistaZonaEdificio.DataMember      = "";
            this.grdAsignacionLecturistaZonaEdificio.HeaderForeColor = SystemColors.ControlText;
            this.grdAsignacionLecturistaZonaEdificio.Location        = new Point(16, 200);
            this.grdAsignacionLecturistaZonaEdificio.Name            = "grdAsignacionLecturistaZonaEdificio";
            this.grdAsignacionLecturistaZonaEdificio.ReadOnly        = true;
            this.grdAsignacionLecturistaZonaEdificio.Size            = new Size(768, 352);
            this.grdAsignacionLecturistaZonaEdificio.TabIndex        = 12;
            this.grdAsignacionLecturistaZonaEdificio.TableStyles.AddRange(new DataGridTableStyle[1]
            {
                this.dataGridTableStyle1
            });
            this.dataGridTableStyle1.AlternatingBackColor = Color.FromArgb(224, 224, 224);
            this.dataGridTableStyle1.DataGrid             = this.grdAsignacionLecturistaZonaEdificio;
            this.dataGridTableStyle1.GridColumnStyles.AddRange(new DataGridColumnStyle[8]
            {
                (DataGridColumnStyle)this.grdcolZonaEdificio,
                (DataGridColumnStyle)this.grdcolLecturista,
                (DataGridColumnStyle)this.grdcolConsecutivo,
                (DataGridColumnStyle)this.grdcolDescripcion,
                (DataGridColumnStyle)this.grdcolNombreLecturista,
                (DataGridColumnStyle)this.grdcolFechaA,
                (DataGridColumnStyle)this.grdcolFechaB,
                (DataGridColumnStyle)this.grdcolNuevo
            });
            this.dataGridTableStyle1.HeaderForeColor = SystemColors.ControlText;
            this.dataGridTableStyle1.MappingName     = "AsignacionLecturistaZonaEdificio";
            this.dataGridTableStyle1.ReadOnly        = true;
            this.grdcolZonaEdificio.Format           = "";
            this.grdcolZonaEdificio.FormatInfo       = (IFormatProvider)null;
            this.grdcolZonaEdificio.HeaderText       = "ZonaEdificio";
            this.grdcolZonaEdificio.MappingName      = "ZonaEdificio";
            this.grdcolZonaEdificio.ReadOnly         = true;
            this.grdcolZonaEdificio.Width            = 0;
            this.grdcolLecturista.Format             = "";
            this.grdcolLecturista.FormatInfo         = (IFormatProvider)null;
            this.grdcolLecturista.HeaderText         = "Lecturista";
            this.grdcolLecturista.MappingName        = "Lecturista";
            this.grdcolLecturista.ReadOnly           = true;
            this.grdcolLecturista.Width             = 0;
            this.grdcolConsecutivo.Format           = "";
            this.grdcolConsecutivo.FormatInfo       = (IFormatProvider)null;
            this.grdcolConsecutivo.HeaderText       = "Consecutivo";
            this.grdcolConsecutivo.MappingName      = "Consecutivo";
            this.grdcolConsecutivo.ReadOnly         = true;
            this.grdcolConsecutivo.Width            = 0;
            this.grdcolNombreLecturista.Format      = "";
            this.grdcolNombreLecturista.FormatInfo  = (IFormatProvider)null;
            this.grdcolNombreLecturista.HeaderText  = "Nombre Lecturista";
            this.grdcolNombreLecturista.MappingName = "NombreLecturista";
            this.grdcolNombreLecturista.ReadOnly    = true;
            this.grdcolNombreLecturista.Width       = 220;
            this.grdcolDescripcion.Format           = "";
            this.grdcolDescripcion.FormatInfo       = (IFormatProvider)null;
            this.grdcolDescripcion.HeaderText       = "Zona";
            this.grdcolDescripcion.MappingName      = "Descripcion";
            this.grdcolDescripcion.ReadOnly         = true;
            this.grdcolDescripcion.Width            = 220;
            this.grdcolNuevo.Alignment         = HorizontalAlignment.Center;
            this.grdcolNuevo.FalseValue        = (object)false;
            this.grdcolNuevo.HeaderText        = "Nuevo";
            this.grdcolNuevo.MappingName       = "Nuevo";
            this.grdcolNuevo.NullValue         = (object)(DBNull)resourceManager.GetObject("grdcolNuevo.NullValue");
            this.grdcolNuevo.TrueValue         = (object)true;
            this.grdcolNuevo.Width             = 50;
            this.linkAgregar.AutoSize          = true;
            this.linkAgregar.Location          = new Point(88, 168);
            this.linkAgregar.Name              = "linkAgregar";
            this.linkAgregar.Size              = new Size(44, 13);
            this.linkAgregar.TabIndex          = 13;
            ((Label)this.linkAgregar).TabStop  = true;
            this.linkAgregar.Text              = "Agregar";
            this.linkAgregar.LinkClicked      += new LinkLabelLinkClickedEventHandler(this.linkAgregar_LinkClicked);
            this.linkEliminar.AutoSize         = true;
            this.linkEliminar.Location         = new Point(144, 168);
            this.linkEliminar.Name             = "linkEliminar";
            this.linkEliminar.Size             = new Size(45, 13);
            this.linkEliminar.TabIndex         = 14;
            ((Label)this.linkEliminar).TabStop = true;
            this.linkEliminar.Text             = "Eliminar";
            this.linkEliminar.LinkClicked     += new LinkLabelLinkClickedEventHandler(this.linkEliminar_LinkClicked);
            this.grdcolFechaA.Format           = "";
            this.grdcolFechaA.FormatInfo       = (IFormatProvider)null;
            this.grdcolFechaA.HeaderText       = "Fecha vigencia A";
            this.grdcolFechaA.MappingName      = "FechaA";
            this.grdcolFechaA.ReadOnly         = true;
            this.grdcolFechaA.Width            = 101;
            this.grdcolFechaB.Format           = "";
            this.grdcolFechaB.FormatInfo       = (IFormatProvider)null;
            this.grdcolFechaB.HeaderText       = "Fecha vigencia B";
            this.grdcolFechaB.MappingName      = "FechaB";
            this.grdcolFechaB.ReadOnly         = true;
            this.grdcolFechaB.Width            = 101;
            this.AutoScaleBaseSize             = new Size(5, 13);
            this.ClientSize = new Size(794, 560);
            this.Controls.AddRange(new Control[13]
            {
                (Control)this.linkEliminar,
                (Control)this.linkAgregar,
                (Control)this.lblAl,
                (Control)this.lblDel,
                (Control)this.lblLecturista,
                (Control)this.lblZona,
                (Control)this.grdAsignacionLecturistaZonaEdificio,
                (Control)this.btnCancelar,
                (Control)this.btnAceptar,
                (Control)this.dtpFechaB,
                (Control)this.dtpFechaA,
                (Control)this.cboLecturista,
                (Control)this.cboZonaEdificio
            });
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.MaximizeBox     = false;
            this.MinimizeBox     = false;
            this.Name            = "frmAsignacionManual";
            this.StartPosition   = FormStartPosition.CenterParent;
            this.Text            = "Asignación Manual";
            this.Load           += new EventHandler(this.frmAsignacionManual_Load);
            this.grdAsignacionLecturistaZonaEdificio.EndInit();
            this.ResumeLayout(false);
        }
コード例 #39
0
ファイル: main.cs プロジェクト: vantruc/skimpt
 /// <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(main));
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.exitButton = new System.Windows.Forms.Button();
     this.cameraButton = new SkimptControls.GlassButton();
     this.hightlightButton = new SkimptControls.GlassButton();
     this.updateMessageLink = new System.Windows.Forms.LinkLabel();
     this.updateMessageLabel = new System.Windows.Forms.Label();
     this.unhookButton = new System.Windows.Forms.Button();
     this.mainProgramMessage = new System.Windows.Forms.TextBox();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.browseButton = new System.Windows.Forms.Button();
     this.fileLocationTextBox = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.radioButton2 = new System.Windows.Forms.RadioButton();
     this.radioButton1 = new System.Windows.Forms.RadioButton();
     this.saveFileSettingButton = new SkimptControls.GlassButton();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.saveFtpSettingButton = new SkimptControls.GlassButton();
     this.ftpTestConnButton = new SkimptControls.GlassButton();
     this.ftpDirTxtBox = new System.Windows.Forms.TextBox();
     this.ftpPortTxtBox = new System.Windows.Forms.TextBox();
     this.ftpPassTxtBox = new System.Windows.Forms.TextBox();
     this.ftpUserTxtBox = new System.Windows.Forms.TextBox();
     this.ftpHostTxtBox = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.tabPage4 = new System.Windows.Forms.TabPage();
     this.savePSDasFileCheckbox = new System.Windows.Forms.CheckBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.removeContextMenuButton = new SkimptControls.GlassButton();
     this.attachContextMenuButton = new SkimptControls.GlassButton();
     this.ShowMessagesCheckbox = new System.Windows.Forms.CheckBox();
     this.HideUponLaunchCheckbox = new System.Windows.Forms.CheckBox();
     this.startOnWindowsLoadCheckBox = new System.Windows.Forms.CheckBox();
     this.saveGlobalSettingButton = new SkimptControls.GlassButton();
     this.tabPage5 = new System.Windows.Forms.TabPage();
     this.fontDialog1 = new System.Windows.Forms.FontDialog();
     this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
     this.notificationIconContext = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.contextStartCamera = new System.Windows.Forms.ToolStripMenuItem();
     this.contextHighlightMode = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.contextShowMenu = new System.Windows.Forms.ToolStripMenuItem();
     this.contextExitMenu = new System.Windows.Forms.ToolStripMenuItem();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.tabPage3.SuspendLayout();
     this.tabPage4.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.notificationIconContext.SuspendLayout();
     this.SuspendLayout();
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Controls.Add(this.tabPage4);
     this.tabControl1.Controls.Add(this.tabPage5);
     this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabControl1.HotTrack = true;
     this.tabControl1.ItemSize = new System.Drawing.Size(96, 26);
     this.tabControl1.Location = new System.Drawing.Point(0, 0);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.ShowToolTips = true;
     this.tabControl1.Size = new System.Drawing.Size(483, 250);
     this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.tabPage1.Controls.Add(this.exitButton);
     this.tabPage1.Controls.Add(this.cameraButton);
     this.tabPage1.Controls.Add(this.hightlightButton);
     this.tabPage1.Controls.Add(this.updateMessageLink);
     this.tabPage1.Controls.Add(this.updateMessageLabel);
     this.tabPage1.Controls.Add(this.unhookButton);
     this.tabPage1.Controls.Add(this.mainProgramMessage);
     this.tabPage1.Location = new System.Drawing.Point(4, 30);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(475, 216);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Main";
     this.tabPage1.ToolTipText = "Main screen";
     //
     // exitButton
     //
     this.exitButton.Location = new System.Drawing.Point(13, 178);
     this.exitButton.Name = "exitButton";
     this.exitButton.Size = new System.Drawing.Size(88, 31);
     this.exitButton.TabIndex = 5;
     this.exitButton.Text = "Exit Skimpt";
     this.exitButton.UseVisualStyleBackColor = true;
     this.exitButton.Click += new System.EventHandler(this.exitButton_Click);
     //
     // cameraButton
     //
     this.cameraButton.BackColor = System.Drawing.Color.DarkViolet;
     this.cameraButton.ForeColor = System.Drawing.Color.Black;
     this.cameraButton.Location = new System.Drawing.Point(12, 73);
     this.cameraButton.Name = "cameraButton";
     this.cameraButton.ShineColor = System.Drawing.Color.Thistle;
     this.cameraButton.Size = new System.Drawing.Size(214, 36);
     this.cameraButton.TabIndex = 6;
     this.cameraButton.Text = "Start Camera Mode";
     this.cameraButton.Click += new System.EventHandler(this.cameraButton_Click);
     //
     // hightlightButton
     //
     this.hightlightButton.BackColor = System.Drawing.Color.SteelBlue;
     this.hightlightButton.Location = new System.Drawing.Point(244, 73);
     this.hightlightButton.Name = "hightlightButton";
     this.hightlightButton.ShineColor = System.Drawing.Color.SkyBlue;
     this.hightlightButton.Size = new System.Drawing.Size(214, 36);
     this.hightlightButton.TabIndex = 5;
     this.hightlightButton.Text = "Start Highlight mode";
     this.hightlightButton.Click += new System.EventHandler(this.hightlightButton_Click);
     //
     // updateMessageLink
     //
     this.updateMessageLink.AutoSize = true;
     this.updateMessageLink.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.updateMessageLink.Location = new System.Drawing.Point(184, 151);
     this.updateMessageLink.Name = "updateMessageLink";
     this.updateMessageLink.Size = new System.Drawing.Size(126, 19);
     this.updateMessageLink.TabIndex = 4;
     this.updateMessageLink.TabStop = true;
     this.updateMessageLink.Text = "Skimpt Homepage";
     this.updateMessageLink.Visible = false;
     this.updateMessageLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.updateMessageLink_LinkClicked);
     //
     // updateMessageLabel
     //
     this.updateMessageLabel.AutoSize = true;
     this.updateMessageLabel.ForeColor = System.Drawing.Color.Red;
     this.updateMessageLabel.Location = new System.Drawing.Point(15, 151);
     this.updateMessageLabel.Name = "updateMessageLabel";
     this.updateMessageLabel.Size = new System.Drawing.Size(173, 19);
     this.updateMessageLabel.TabIndex = 3;
     this.updateMessageLabel.Text = "New Update Available on";
     this.updateMessageLabel.Visible = false;
     //
     // unhookButton
     //
     this.unhookButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.unhookButton.Location = new System.Drawing.Point(320, 177);
     this.unhookButton.Name = "unhookButton";
     this.unhookButton.Size = new System.Drawing.Size(149, 33);
     this.unhookButton.TabIndex = 1;
     this.unhookButton.Text = "Unhook Print Screen";
     this.unhookButton.UseVisualStyleBackColor = true;
     this.unhookButton.Click += new System.EventHandler(this.unhookButton_Click);
     //
     // mainProgramMessage
     //
     this.mainProgramMessage.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainProgramMessage.ForeColor = System.Drawing.Color.Green;
     this.mainProgramMessage.Location = new System.Drawing.Point(8, 19);
     this.mainProgramMessage.Multiline = true;
     this.mainProgramMessage.Name = "mainProgramMessage";
     this.mainProgramMessage.Size = new System.Drawing.Size(463, 48);
     this.mainProgramMessage.TabIndex = 0;
     this.mainProgramMessage.Text = "Program messages will be displayed here";
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.tabPage2.Controls.Add(this.groupBox1);
     this.tabPage2.Controls.Add(this.radioButton2);
     this.tabPage2.Controls.Add(this.radioButton1);
     this.tabPage2.Controls.Add(this.saveFileSettingButton);
     this.tabPage2.Location = new System.Drawing.Point(4, 30);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(475, 216);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "File";
     this.tabPage2.ToolTipText = "change file settings including save path";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.browseButton);
     this.groupBox1.Controls.Add(this.fileLocationTextBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(6, 74);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(463, 92);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "File Location";
     //
     // browseButton
     //
     this.browseButton.Location = new System.Drawing.Point(416, 49);
     this.browseButton.Name = "browseButton";
     this.browseButton.Size = new System.Drawing.Size(32, 27);
     this.browseButton.TabIndex = 2;
     this.browseButton.Text = "...";
     this.browseButton.UseVisualStyleBackColor = true;
     this.browseButton.Click += new System.EventHandler(this.browseButton_Click);
     //
     // fileLocationTextBox
     //
     this.fileLocationTextBox.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.fileLocationTextBox.Location = new System.Drawing.Point(17, 50);
     this.fileLocationTextBox.Name = "fileLocationTextBox";
     this.fileLocationTextBox.ReadOnly = true;
     this.fileLocationTextBox.Size = new System.Drawing.Size(393, 27);
     this.fileLocationTextBox.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 27);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(191, 19);
     this.label1.TabIndex = 0;
     this.label1.Text = "Save my file to this location:";
     //
     // radioButton2
     //
     this.radioButton2.AutoSize = true;
     this.radioButton2.Location = new System.Drawing.Point(26, 45);
     this.radioButton2.Name = "radioButton2";
     this.radioButton2.Size = new System.Drawing.Size(213, 23);
     this.radioButton2.TabIndex = 1;
     this.radioButton2.Text = "Allow me to specify each file";
     this.radioButton2.UseVisualStyleBackColor = true;
     //
     // radioButton1
     //
     this.radioButton1.AutoSize = true;
     this.radioButton1.Checked = true;
     this.radioButton1.Location = new System.Drawing.Point(26, 16);
     this.radioButton1.Name = "radioButton1";
     this.radioButton1.Size = new System.Drawing.Size(185, 23);
     this.radioButton1.TabIndex = 0;
     this.radioButton1.TabStop = true;
     this.radioButton1.Text = "Randomly name my files";
     this.radioButton1.UseVisualStyleBackColor = true;
     //
     // saveFileSettingButton
     //
     this.saveFileSettingButton.Location = new System.Drawing.Point(155, 172);
     this.saveFileSettingButton.Name = "saveFileSettingButton";
     this.saveFileSettingButton.Size = new System.Drawing.Size(141, 36);
     this.saveFileSettingButton.TabIndex = 5;
     this.saveFileSettingButton.Text = "Save File Settings";
     this.saveFileSettingButton.Click += new System.EventHandler(this.saveFileSettingButton_Click);
     //
     // tabPage3
     //
     this.tabPage3.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.tabPage3.Controls.Add(this.saveFtpSettingButton);
     this.tabPage3.Controls.Add(this.ftpTestConnButton);
     this.tabPage3.Controls.Add(this.ftpDirTxtBox);
     this.tabPage3.Controls.Add(this.ftpPortTxtBox);
     this.tabPage3.Controls.Add(this.ftpPassTxtBox);
     this.tabPage3.Controls.Add(this.ftpUserTxtBox);
     this.tabPage3.Controls.Add(this.ftpHostTxtBox);
     this.tabPage3.Controls.Add(this.label6);
     this.tabPage3.Controls.Add(this.label5);
     this.tabPage3.Controls.Add(this.label4);
     this.tabPage3.Controls.Add(this.label3);
     this.tabPage3.Controls.Add(this.label2);
     this.tabPage3.Location = new System.Drawing.Point(4, 30);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(475, 216);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "Upload";
     this.tabPage3.ToolTipText = "Set upload settings to remote server";
     //
     // saveFtpSettingButton
     //
     this.saveFtpSettingButton.BackColor = System.Drawing.Color.DarkSlateBlue;
     this.saveFtpSettingButton.Location = new System.Drawing.Point(332, 173);
     this.saveFtpSettingButton.Name = "saveFtpSettingButton";
     this.saveFtpSettingButton.ShineColor = System.Drawing.Color.SlateBlue;
     this.saveFtpSettingButton.Size = new System.Drawing.Size(135, 35);
     this.saveFtpSettingButton.TabIndex = 13;
     this.saveFtpSettingButton.Text = "Save FTP Settings";
     this.saveFtpSettingButton.Click += new System.EventHandler(this.saveFtpSettingButton_Click);
     //
     // ftpTestConnButton
     //
     this.ftpTestConnButton.BackColor = System.Drawing.Color.Crimson;
     this.ftpTestConnButton.Location = new System.Drawing.Point(191, 173);
     this.ftpTestConnButton.Name = "ftpTestConnButton";
     this.ftpTestConnButton.ShineColor = System.Drawing.Color.Pink;
     this.ftpTestConnButton.Size = new System.Drawing.Size(135, 35);
     this.ftpTestConnButton.TabIndex = 12;
     this.ftpTestConnButton.Text = "Test Connection";
     this.ftpTestConnButton.Click += new System.EventHandler(this.ftpTestConnButton_Click);
     //
     // ftpDirTxtBox
     //
     this.ftpDirTxtBox.Location = new System.Drawing.Point(163, 140);
     this.ftpDirTxtBox.Name = "ftpDirTxtBox";
     this.ftpDirTxtBox.Size = new System.Drawing.Size(307, 27);
     this.ftpDirTxtBox.TabIndex = 11;
     //
     // ftpPortTxtBox
     //
     this.ftpPortTxtBox.Location = new System.Drawing.Point(163, 107);
     this.ftpPortTxtBox.Name = "ftpPortTxtBox";
     this.ftpPortTxtBox.Size = new System.Drawing.Size(307, 27);
     this.ftpPortTxtBox.TabIndex = 10;
     this.ftpPortTxtBox.Text = "21";
     //
     // ftpPassTxtBox
     //
     this.ftpPassTxtBox.Location = new System.Drawing.Point(163, 74);
     this.ftpPassTxtBox.Name = "ftpPassTxtBox";
     this.ftpPassTxtBox.Size = new System.Drawing.Size(307, 27);
     this.ftpPassTxtBox.TabIndex = 9;
     this.ftpPassTxtBox.UseSystemPasswordChar = true;
     //
     // ftpUserTxtBox
     //
     this.ftpUserTxtBox.Location = new System.Drawing.Point(163, 41);
     this.ftpUserTxtBox.Name = "ftpUserTxtBox";
     this.ftpUserTxtBox.Size = new System.Drawing.Size(307, 27);
     this.ftpUserTxtBox.TabIndex = 8;
     //
     // ftpHostTxtBox
     //
     this.ftpHostTxtBox.Location = new System.Drawing.Point(163, 11);
     this.ftpHostTxtBox.Name = "ftpHostTxtBox";
     this.ftpHostTxtBox.Size = new System.Drawing.Size(307, 27);
     this.ftpHostTxtBox.TabIndex = 5;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(24, 143);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(133, 19);
     this.label6.TabIndex = 4;
     this.label6.Text = "Initial Directory (./)";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(64, 110);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(93, 19);
     this.label5.TabIndex = 3;
     this.label5.Text = "Remote Port:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(28, 77);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(129, 19);
     this.label4.TabIndex = 2;
     this.label4.Text = "Remote Password:"******"label3";
     this.label3.Size = new System.Drawing.Size(133, 19);
     this.label3.TabIndex = 1;
     this.label3.Text = "Remote Username:"******"label2";
     this.label2.Size = new System.Drawing.Size(139, 19);
     this.label2.TabIndex = 0;
     this.label2.Text = "Remote Host Name:";
     //
     // tabPage4
     //
     this.tabPage4.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.tabPage4.Controls.Add(this.savePSDasFileCheckbox);
     this.tabPage4.Controls.Add(this.groupBox2);
     this.tabPage4.Controls.Add(this.ShowMessagesCheckbox);
     this.tabPage4.Controls.Add(this.HideUponLaunchCheckbox);
     this.tabPage4.Controls.Add(this.startOnWindowsLoadCheckBox);
     this.tabPage4.Controls.Add(this.saveGlobalSettingButton);
     this.tabPage4.Location = new System.Drawing.Point(4, 30);
     this.tabPage4.Name = "tabPage4";
     this.tabPage4.Size = new System.Drawing.Size(475, 216);
     this.tabPage4.TabIndex = 3;
     this.tabPage4.Text = "Settings";
     this.tabPage4.ToolTipText = "Set global application settings";
     //
     // savePSDasFileCheckbox
     //
     this.savePSDasFileCheckbox.AutoSize = true;
     this.savePSDasFileCheckbox.Location = new System.Drawing.Point(25, 90);
     this.savePSDasFileCheckbox.Name = "savePSDasFileCheckbox";
     this.savePSDasFileCheckbox.Size = new System.Drawing.Size(191, 23);
     this.savePSDasFileCheckbox.TabIndex = 15;
     this.savePSDasFileCheckbox.Text = "Save a JPEG of a PSD file.";
     this.savePSDasFileCheckbox.UseVisualStyleBackColor = true;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.removeContextMenuButton);
     this.groupBox2.Controls.Add(this.attachContextMenuButton);
     this.groupBox2.Location = new System.Drawing.Point(25, 119);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(428, 62);
     this.groupBox2.TabIndex = 14;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Windows Context Menu";
     //
     // removeContextMenuButton
     //
     this.removeContextMenuButton.BackColor = System.Drawing.Color.Crimson;
     this.removeContextMenuButton.Location = new System.Drawing.Point(220, 21);
     this.removeContextMenuButton.Name = "removeContextMenuButton";
     this.removeContextMenuButton.ShineColor = System.Drawing.Color.Pink;
     this.removeContextMenuButton.Size = new System.Drawing.Size(198, 35);
     this.removeContextMenuButton.TabIndex = 14;
     this.removeContextMenuButton.Text = " Remove";
     this.removeContextMenuButton.Click += new System.EventHandler(this.removeContextMenuButton_Click);
     //
     // attachContextMenuButton
     //
     this.attachContextMenuButton.BackColor = System.Drawing.Color.Crimson;
     this.attachContextMenuButton.Location = new System.Drawing.Point(16, 21);
     this.attachContextMenuButton.Name = "attachContextMenuButton";
     this.attachContextMenuButton.ShineColor = System.Drawing.Color.Pink;
     this.attachContextMenuButton.Size = new System.Drawing.Size(198, 35);
     this.attachContextMenuButton.TabIndex = 13;
     this.attachContextMenuButton.Text = "Attach ";
     this.attachContextMenuButton.Click += new System.EventHandler(this.attachToWindowsButton_Click);
     //
     // ShowMessagesCheckbox
     //
     this.ShowMessagesCheckbox.AutoSize = true;
     this.ShowMessagesCheckbox.Location = new System.Drawing.Point(25, 61);
     this.ShowMessagesCheckbox.Name = "ShowMessagesCheckbox";
     this.ShowMessagesCheckbox.Size = new System.Drawing.Size(306, 23);
     this.ShowMessagesCheckbox.TabIndex = 3;
     this.ShowMessagesCheckbox.Text = "Show program messages in a message box";
     this.ShowMessagesCheckbox.UseVisualStyleBackColor = true;
     //
     // HideUponLaunchCheckbox
     //
     this.HideUponLaunchCheckbox.AutoSize = true;
     this.HideUponLaunchCheckbox.Location = new System.Drawing.Point(25, 32);
     this.HideUponLaunchCheckbox.Name = "HideUponLaunchCheckbox";
     this.HideUponLaunchCheckbox.Size = new System.Drawing.Size(284, 23);
     this.HideUponLaunchCheckbox.TabIndex = 1;
     this.HideUponLaunchCheckbox.Text = "Hide instantly upon launch of program. ";
     this.HideUponLaunchCheckbox.UseVisualStyleBackColor = true;
     //
     // startOnWindowsLoadCheckBox
     //
     this.startOnWindowsLoadCheckBox.AutoSize = true;
     this.startOnWindowsLoadCheckBox.Location = new System.Drawing.Point(25, 3);
     this.startOnWindowsLoadCheckBox.Name = "startOnWindowsLoadCheckBox";
     this.startOnWindowsLoadCheckBox.Size = new System.Drawing.Size(307, 23);
     this.startOnWindowsLoadCheckBox.TabIndex = 0;
     this.startOnWindowsLoadCheckBox.Text = "Start this program when Windows boots up";
     this.startOnWindowsLoadCheckBox.UseVisualStyleBackColor = true;
     //
     // saveGlobalSettingButton
     //
     this.saveGlobalSettingButton.BackColor = System.Drawing.Color.Chocolate;
     this.saveGlobalSettingButton.Location = new System.Drawing.Point(158, 186);
     this.saveGlobalSettingButton.Name = "saveGlobalSettingButton";
     this.saveGlobalSettingButton.OuterBorderColor = System.Drawing.Color.LightSalmon;
     this.saveGlobalSettingButton.Size = new System.Drawing.Size(161, 27);
     this.saveGlobalSettingButton.TabIndex = 6;
     this.saveGlobalSettingButton.Text = "Save Program Settings";
     this.saveGlobalSettingButton.Click += new System.EventHandler(this.saveGlobalSettingButton_Click);
     //
     // tabPage5
     //
     this.tabPage5.Location = new System.Drawing.Point(4, 30);
     this.tabPage5.Name = "tabPage5";
     this.tabPage5.Size = new System.Drawing.Size(475, 216);
     this.tabPage5.TabIndex = 4;
     this.tabPage5.Text = "Log";
     this.tabPage5.ToolTipText = "Check log files";
     this.tabPage5.UseVisualStyleBackColor = true;
     //
     // notifyIcon
     //
     this.notifyIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;
     this.notifyIcon.BalloonTipText = "Program Status: Running";
     this.notifyIcon.BalloonTipTitle = "Skimpt v1.01";
     this.notifyIcon.ContextMenuStrip = this.notificationIconContext;
     this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
     this.notifyIcon.Text = "Skimpt v1.01\r\nProgram Status: Running";
     this.notifyIcon.Visible = true;
     this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon_MouseDoubleClick);
     //
     // notificationIconContext
     //
     this.notificationIconContext.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.contextStartCamera,
         this.contextHighlightMode,
         this.toolStripSeparator1,
         this.contextShowMenu,
         this.contextExitMenu});
     this.notificationIconContext.Name = "notificationIconContext";
     this.notificationIconContext.Size = new System.Drawing.Size(172, 98);
     //
     // contextStartCamera
     //
     this.contextStartCamera.Name = "contextStartCamera";
     this.contextStartCamera.Size = new System.Drawing.Size(171, 22);
     this.contextStartCamera.Text = "Start Camera Mode";
     this.contextStartCamera.Click += new System.EventHandler(this.contextStartCamera_Click);
     //
     // contextHighlightMode
     //
     this.contextHighlightMode.Name = "contextHighlightMode";
     this.contextHighlightMode.Size = new System.Drawing.Size(171, 22);
     this.contextHighlightMode.Text = "Start Highlight Mode";
     this.contextHighlightMode.Click += new System.EventHandler(this.contextHighlightMode_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(168, 6);
     //
     // contextShowMenu
     //
     this.contextShowMenu.Name = "contextShowMenu";
     this.contextShowMenu.Size = new System.Drawing.Size(171, 22);
     this.contextShowMenu.Text = "Show Main Window";
     this.contextShowMenu.Click += new System.EventHandler(this.contextShowMenu_Click);
     //
     // contextExitMenu
     //
     this.contextExitMenu.Name = "contextExitMenu";
     this.contextExitMenu.Size = new System.Drawing.Size(171, 22);
     this.contextExitMenu.Text = "Exit Skimpt";
     this.contextExitMenu.Click += new System.EventHandler(this.contextExitMenu_Click);
     //
     // main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize = true;
     this.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
     this.ClientSize = new System.Drawing.Size(483, 250);
     this.Controls.Add(this.tabControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "main";
     this.Opacity = 0.9;
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.Text = "Skimpt v 1.01";
     this.TopMost = true;
     this.Load += new System.EventHandler(this.main_Load);
     this.Shown += new System.EventHandler(this.main_Shown);
     this.Closing += new System.ComponentModel.CancelEventHandler(this.main_Closing);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     this.tabPage2.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.tabPage3.ResumeLayout(false);
     this.tabPage3.PerformLayout();
     this.tabPage4.ResumeLayout(false);
     this.tabPage4.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.notificationIconContext.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #40
0
ファイル: About.cs プロジェクト: DragonZX/chmprocessor
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(About));
     this.btnOk       = new System.Windows.Forms.Button();
     this.label1      = new System.Windows.Forms.Label();
     this.label2      = new System.Windows.Forms.Label();
     this.labLicencia = new System.Windows.Forms.Label();
     this.lnkWebsite  = new System.Windows.Forms.LinkLabel();
     this.txtLicencia = new System.Windows.Forms.TextBox();
     this.label3      = new System.Windows.Forms.Label();
     this.lnkTidy     = new System.Windows.Forms.LinkLabel();
     this.lnkSqlite   = new System.Windows.Forms.LinkLabel();
     this.lnkTango    = new System.Windows.Forms.LinkLabel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.LnkJQuery   = new System.Windows.Forms.LinkLabel();
     this.LnkLayout   = new System.Windows.Forms.LinkLabel();
     this.LnkJsTree   = new System.Windows.Forms.LinkLabel();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // btnOk
     //
     this.btnOk.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.btnOk.Location = new System.Drawing.Point(225, 400);
     this.btnOk.Name     = "btnOk";
     this.btnOk.Size     = new System.Drawing.Size(88, 32);
     this.btnOk.TabIndex = 0;
     this.btnOk.Text     = "Ok";
     this.btnOk.Click   += new System.EventHandler(this.btnOk_Click);
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(86, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(441, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "chmProcessor - A Html / Word converter to Compiled HTML Help v1.7.3";
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location = new System.Drawing.Point(86, 28);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(441, 34);
     this.label2.TabIndex = 2;
     this.label2.Text     = "(C) 2008 Toni Bennasar Obrador, Mike Hudgell, Paolo Moretti, Jozsef Bekes, Luc Va" +
                            "n Asch";
     //
     // labLicencia
     //
     this.labLicencia.Location = new System.Drawing.Point(11, 81);
     this.labLicencia.Name     = "labLicencia";
     this.labLicencia.Size     = new System.Drawing.Size(100, 19);
     this.labLicencia.TabIndex = 3;
     this.labLicencia.Text     = "License:";
     //
     // lnkWebsite
     //
     this.lnkWebsite.Location     = new System.Drawing.Point(86, 62);
     this.lnkWebsite.Name         = "lnkWebsite";
     this.lnkWebsite.Size         = new System.Drawing.Size(200, 16);
     this.lnkWebsite.TabIndex     = 4;
     this.lnkWebsite.TabStop      = true;
     this.lnkWebsite.Text         = "http://chmprocessor.sourceforge.net/";
     this.lnkWebsite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkWebsite_LinkClicked);
     //
     // txtLicencia
     //
     this.txtLicencia.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.txtLicencia.Font       = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLicencia.Location   = new System.Drawing.Point(11, 103);
     this.txtLicencia.Multiline  = true;
     this.txtLicencia.Name       = "txtLicencia";
     this.txtLicencia.ReadOnly   = true;
     this.txtLicencia.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.txtLicencia.Size       = new System.Drawing.Size(516, 246);
     this.txtLicencia.TabIndex   = 5;
     this.txtLicencia.WordWrap   = false;
     //
     // label3
     //
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(11, 362);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(95, 13);
     this.label3.TabIndex = 6;
     this.label3.Text     = "This software uses";
     //
     // lnkTidy
     //
     this.lnkTidy.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lnkTidy.AutoSize     = true;
     this.lnkTidy.Location     = new System.Drawing.Point(112, 362);
     this.lnkTidy.Name         = "lnkTidy";
     this.lnkTidy.Size         = new System.Drawing.Size(27, 13);
     this.lnkTidy.TabIndex     = 7;
     this.lnkTidy.TabStop      = true;
     this.lnkTidy.Text         = "Tidy";
     this.lnkTidy.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkTidy_LinkClicked);
     //
     // lnkSqlite
     //
     this.lnkSqlite.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lnkSqlite.AutoSize     = true;
     this.lnkSqlite.Location     = new System.Drawing.Point(145, 362);
     this.lnkSqlite.Name         = "lnkSqlite";
     this.lnkSqlite.Size         = new System.Drawing.Size(33, 13);
     this.lnkSqlite.TabIndex     = 8;
     this.lnkSqlite.TabStop      = true;
     this.lnkSqlite.Text         = "Sqlite";
     this.lnkSqlite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkSqlite_LinkClicked);
     //
     // lnkTango
     //
     this.lnkTango.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lnkTango.AutoSize     = true;
     this.lnkTango.Location     = new System.Drawing.Point(184, 362);
     this.lnkTango.Name         = "lnkTango";
     this.lnkTango.Size         = new System.Drawing.Size(67, 13);
     this.lnkTango.TabIndex     = 9;
     this.lnkTango.TabStop      = true;
     this.lnkTango.Text         = "Tango Icons";
     this.lnkTango.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkTango_LinkClicked);
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(11, 12);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(69, 66);
     this.pictureBox1.TabIndex = 10;
     this.pictureBox1.TabStop  = false;
     //
     // LnkJQuery
     //
     this.LnkJQuery.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.LnkJQuery.AutoSize     = true;
     this.LnkJQuery.Location     = new System.Drawing.Point(258, 361);
     this.LnkJQuery.Name         = "LnkJQuery";
     this.LnkJQuery.Size         = new System.Drawing.Size(37, 13);
     this.LnkJQuery.TabIndex     = 11;
     this.LnkJQuery.TabStop      = true;
     this.LnkJQuery.Text         = "jQuery";
     this.LnkJQuery.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkJQuery_LinkClicked);
     //
     // LnkLayout
     //
     this.LnkLayout.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.LnkLayout.AutoSize     = true;
     this.LnkLayout.Location     = new System.Drawing.Point(301, 362);
     this.LnkLayout.Name         = "LnkLayout";
     this.LnkLayout.Size         = new System.Drawing.Size(121, 13);
     this.LnkLayout.TabIndex     = 12;
     this.LnkLayout.TabStop      = true;
     this.LnkLayout.Text         = "jQuery UI Layout Plug-in";
     this.LnkLayout.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkLayout_LinkClicked);
     //
     // LnkJsTree
     //
     this.LnkJsTree.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.LnkJsTree.AutoSize     = true;
     this.LnkJsTree.Location     = new System.Drawing.Point(428, 362);
     this.LnkJsTree.Name         = "LnkJsTree";
     this.LnkJsTree.Size         = new System.Drawing.Size(36, 13);
     this.LnkJsTree.TabIndex     = 13;
     this.LnkJsTree.TabStop      = true;
     this.LnkJsTree.Text         = "jsTree";
     this.LnkJsTree.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkJsTree_LinkClicked);
     //
     // About
     //
     this.AcceptButton      = this.btnOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(539, 444);
     this.Controls.Add(this.LnkJsTree);
     this.Controls.Add(this.LnkLayout);
     this.Controls.Add(this.LnkJQuery);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.lnkTango);
     this.Controls.Add(this.lnkSqlite);
     this.Controls.Add(this.lnkTidy);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.txtLicencia);
     this.Controls.Add(this.lnkWebsite);
     this.Controls.Add(this.labLicencia);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnOk);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "About";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "About chmProcessor...";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #41
0
ファイル: MainForm.cs プロジェクト: matttija/afrodevices
    private void InitializeComponent()
    {
        this.components = new System.ComponentModel.Container();
        System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
        System.Windows.Forms.Label label42;
        this.tabControl = new System.Windows.Forms.TabControl();
        this.tabPage1 = new System.Windows.Forms.TabPage();
        this.showdebug = new System.Windows.Forms.CheckBox();
        this.Compare_Settings = new System.Windows.Forms.Button();
        this.RxD = new System.Windows.Forms.GroupBox();
        this.static48 = new System.Windows.Forms.Label();
        this.bytecounter = new System.Windows.Forms.Label();
        this.textRxD = new System.Windows.Forms.TextBox();
        this.clearRxD = new System.Windows.Forms.Button();
        this.linkLabel1 = new System.Windows.Forms.LinkLabel();
        this.btnRefresh = new System.Windows.Forms.Button();
        this.readsettings = new System.Windows.Forms.Button();
        this.writesettings = new System.Windows.Forms.Button();
        this.labelok = new System.Windows.Forms.Label();
        this.writeall = new System.Windows.Forms.Button();
        this.resetmC = new System.Windows.Forms.Button();
        this.comport = new System.Windows.Forms.ComboBox();
        this.connect = new System.Windows.Forms.Button();
        this.searchlabel = new System.Windows.Forms.Label();
        this.progressBar2 = new System.Windows.Forms.ProgressBar();
        this.pictureBox2 = new System.Windows.Forms.PictureBox();
        this.tabPage2 = new System.Windows.Forms.TabPage();
        this.groupBox14 = new System.Windows.Forms.GroupBox();
        this.label34 = new System.Windows.Forms.Label();
        this.label33 = new System.Windows.Forms.Label();
        this.label32 = new System.Windows.Forms.Label();
        this.label31 = new System.Windows.Forms.Label();
        this.label30 = new System.Windows.Forms.Label();
        this.label29 = new System.Windows.Forms.Label();
        this.label28 = new System.Windows.Forms.Label();
        this.label27 = new System.Windows.Forms.Label();
        this.tbch8 = new XComponent.SliderBar.MACTrackBar();
        this.tbch7 = new XComponent.SliderBar.MACTrackBar();
        this.tbch6 = new XComponent.SliderBar.MACTrackBar();
        this.tbch5 = new XComponent.SliderBar.MACTrackBar();
        this.tbch4 = new XComponent.SliderBar.MACTrackBar();
        this.tbch3 = new XComponent.SliderBar.MACTrackBar();
        this.tbch2 = new XComponent.SliderBar.MACTrackBar();
        this.tbch1 = new XComponent.SliderBar.MACTrackBar();
        this.groupBox2 = new System.Windows.Forms.GroupBox();
        this.switchbox = new System.Windows.Forms.ComboBox();
        this.deactivatemotors = new System.Windows.Forms.CheckBox();
        this.static67 = new System.Windows.Forms.Label();
        this.static68 = new System.Windows.Forms.Label();
        this.static66 = new System.Windows.Forms.Label();
        this.static65 = new System.Windows.Forms.Label();
        this.static64 = new System.Windows.Forms.Label();
        this.static63 = new System.Windows.Forms.Label();
        this.yawbox = new System.Windows.Forms.ComboBox();
        this.rollbox = new System.Windows.Forms.ComboBox();
        this.Nickbox = new System.Windows.Forms.ComboBox();
        this.throttlebox = new System.Windows.Forms.ComboBox();
        this.textBoxu = new System.Windows.Forms.TextBox();
        this.labelu = new System.Windows.Forms.Label();
        this.static40 = new System.Windows.Forms.Label();
        this.textBoxS = new System.Windows.Forms.TextBox();
        this.textBoxR = new System.Windows.Forms.TextBox();
        this.textBoxQ = new System.Windows.Forms.TextBox();
        this.checkBoxT = new System.Windows.Forms.CheckBox();
        this.labels = new System.Windows.Forms.Label();
        this.labelr = new System.Windows.Forms.Label();
        this.labelq = new System.Windows.Forms.Label();
        this.static15 = new System.Windows.Forms.Label();
        this.static13 = new System.Windows.Forms.Label();
        this.static14 = new System.Windows.Forms.Label();
        this.static12 = new System.Windows.Forms.Label();
        this.static11 = new System.Windows.Forms.Label();
        this.checkBoxT2 = new System.Windows.Forms.CheckBox();
        this.static9 = new System.Windows.Forms.Label();
        this.static10 = new System.Windows.Forms.Label();
        this.tabPage3 = new System.Windows.Forms.TabPage();
        this.groupBox6 = new System.Windows.Forms.GroupBox();
        this.textBoxx = new System.Windows.Forms.TextBox();
        this.textBoxw = new System.Windows.Forms.TextBox();
        this.labelx = new System.Windows.Forms.Label();
        this.labelw = new System.Windows.Forms.Label();
        this.static46 = new System.Windows.Forms.Label();
        this.static45 = new System.Windows.Forms.Label();
        this.textBoxp = new System.Windows.Forms.TextBox();
        this.textBoxo = new System.Windows.Forms.TextBox();
        this.textBoxn = new System.Windows.Forms.TextBox();
        this.labelp = new System.Windows.Forms.Label();
        this.labelo = new System.Windows.Forms.Label();
        this.labeln = new System.Windows.Forms.Label();
        this.static39 = new System.Windows.Forms.Label();
        this.static38 = new System.Windows.Forms.Label();
        this.static37 = new System.Windows.Forms.Label();
        this.static36 = new System.Windows.Forms.Label();
        this.static35 = new System.Windows.Forms.Label();
        this.static34 = new System.Windows.Forms.Label();
        this.groupBox5 = new System.Windows.Forms.GroupBox();
        this.trackBar15 = new System.Windows.Forms.TrackBar();
        this.checkBox3 = new System.Windows.Forms.CheckBox();
        this.label14 = new System.Windows.Forms.Label();
        this.label25 = new System.Windows.Forms.Label();
        this.label26 = new System.Windows.Forms.Label();
        this.textBoxm = new System.Windows.Forms.TextBox();
        this.textBoxl = new System.Windows.Forms.TextBox();
        this.labelm = new System.Windows.Forms.Label();
        this.labell = new System.Windows.Forms.Label();
        this.static33 = new System.Windows.Forms.Label();
        this.static32 = new System.Windows.Forms.Label();
        this.static29 = new System.Windows.Forms.Label();
        this.static31 = new System.Windows.Forms.Label();
        this.static30 = new System.Windows.Forms.Label();
        this.groupBox4 = new System.Windows.Forms.GroupBox();
        this.checkBoxf2 = new System.Windows.Forms.CheckBox();
        this.checkBoxf = new System.Windows.Forms.CheckBox();
        this.checkBoxe2 = new System.Windows.Forms.CheckBox();
        this.checkBoxe = new System.Windows.Forms.CheckBox();
        this.static28 = new System.Windows.Forms.Label();
        this.static27 = new System.Windows.Forms.Label();
        this.checkBoxD2 = new System.Windows.Forms.CheckBox();
        this.checkBoxB2 = new System.Windows.Forms.CheckBox();
        this.checkBoxC2 = new System.Windows.Forms.CheckBox();
        this.checkBoxD = new System.Windows.Forms.CheckBox();
        this.checkBoxC = new System.Windows.Forms.CheckBox();
        this.checkBoxB = new System.Windows.Forms.CheckBox();
        this.static26 = new System.Windows.Forms.Label();
        this.static25 = new System.Windows.Forms.Label();
        this.static24 = new System.Windows.Forms.Label();
        this.static22 = new System.Windows.Forms.Label();
        this.static23 = new System.Windows.Forms.Label();
        this.static21 = new System.Windows.Forms.Label();
        this.groupBox3 = new System.Windows.Forms.GroupBox();
        this.checkBox2 = new System.Windows.Forms.CheckBox();
        this.trackBar14 = new System.Windows.Forms.TrackBar();
        this.label24 = new System.Windows.Forms.Label();
        this.textBoxy = new System.Windows.Forms.TextBox();
        this.label23 = new System.Windows.Forms.Label();
        this.textBoxH = new System.Windows.Forms.TextBox();
        this.textBoxG = new System.Windows.Forms.TextBox();
        this.labely = new System.Windows.Forms.Label();
        this.labelH = new System.Windows.Forms.Label();
        this.label16 = new System.Windows.Forms.Label();
        this.labelG = new System.Windows.Forms.Label();
        this.static17 = new System.Windows.Forms.Label();
        this.label22 = new System.Windows.Forms.Label();
        this.static16 = new System.Windows.Forms.Label();
        this.static18 = new System.Windows.Forms.Label();
        this.static20 = new System.Windows.Forms.Label();
        this.static19 = new System.Windows.Forms.Label();
        this.groupBox1 = new System.Windows.Forms.GroupBox();
        this.label21 = new System.Windows.Forms.Label();
        this.label20 = new System.Windows.Forms.Label();
        this.checkBox1 = new System.Windows.Forms.CheckBox();
        this.trackBar13 = new System.Windows.Forms.TrackBar();
        this.label18 = new System.Windows.Forms.Label();
        this.static6 = new System.Windows.Forms.Label();
        this.static5 = new System.Windows.Forms.Label();
        this.static4 = new System.Windows.Forms.Label();
        this.textBoxi = new System.Windows.Forms.TextBox();
        this.label19 = new System.Windows.Forms.Label();
        this.static3 = new System.Windows.Forms.Label();
        this.labeli = new System.Windows.Forms.Label();
        this.static7 = new System.Windows.Forms.Label();
        this.static2 = new System.Windows.Forms.Label();
        this.labelj = new System.Windows.Forms.Label();
        this.textBoxz = new System.Windows.Forms.TextBox();
        this.textBoxk = new System.Windows.Forms.TextBox();
        this.labelz = new System.Windows.Forms.Label();
        this.labelk = new System.Windows.Forms.Label();
        this.textBoxj = new System.Windows.Forms.TextBox();
        this.tabPage5 = new System.Windows.Forms.TabPage();
        this.groupBox15 = new System.Windows.Forms.GroupBox();
        this.label41 = new System.Windows.Forms.Label();
        this.label40 = new System.Windows.Forms.Label();
        this.labelled2 = new System.Windows.Forms.Label();
        this.labelled1 = new System.Windows.Forms.Label();
        this.label37 = new System.Windows.Forms.Label();
        this.label38 = new System.Windows.Forms.Label();
        this.label39 = new System.Windows.Forms.Label();
        this.label36 = new System.Windows.Forms.Label();
        this.label35 = new System.Windows.Forms.Label();
        this.groupBox8 = new System.Windows.Forms.GroupBox();
        this.errorlabel = new System.Windows.Forms.Label();
        this.label12 = new System.Windows.Forms.Label();
        this.static47 = new System.Windows.Forms.Label();
        this.groupBox7 = new System.Windows.Forms.GroupBox();
        this.voltagelevel = new System.Windows.Forms.Label();
        this.progressBar1 = new System.Windows.Forms.ProgressBar();
        this.textBoxv = new System.Windows.Forms.TextBox();
        this.labelv = new System.Windows.Forms.Label();
        this.static44 = new System.Windows.Forms.Label();
        this.static41 = new System.Windows.Forms.Label();
        this.static43 = new System.Windows.Forms.Label();
        this.static42 = new System.Windows.Forms.Label();
        this.tabPage4 = new System.Windows.Forms.TabPage();
        this.static99 = new System.Windows.Forms.Label();
        this.Battery = new System.Windows.Forms.GroupBox();
        this.labelvolts = new System.Windows.Forms.Label();
        this.pbVoltage = new System.Windows.Forms.ProgressBar();
        this.groupBox12 = new System.Windows.Forms.GroupBox();
        this.TrackBar7 = new XComponent.SliderBar.MACTrackBar();
        this.static58 = new System.Windows.Forms.Label();
        this.static55 = new System.Windows.Forms.Label();
        this.static61 = new System.Windows.Forms.Label();
        this.groupBox11 = new System.Windows.Forms.GroupBox();
        this.TrackBar12 = new XComponent.SliderBar.MACTrackBar();
        this.TrackBar11 = new XComponent.SliderBar.MACTrackBar();
        this.TrackBar10 = new XComponent.SliderBar.MACTrackBar();
        this.panel2 = new System.Windows.Forms.Panel();
        this.panel4 = new System.Windows.Forms.Panel();
        this.panelRollCenter = new System.Windows.Forms.Panel();
        this.label15 = new System.Windows.Forms.Label();
        this.panel1 = new System.Windows.Forms.Panel();
        this.label10 = new System.Windows.Forms.Label();
        this.label9 = new System.Windows.Forms.Label();
        this.label8 = new System.Windows.Forms.Label();
        this.label6 = new System.Windows.Forms.Label();
        this.label7 = new System.Windows.Forms.Label();
        this.label5 = new System.Windows.Forms.Label();
        this.label4 = new System.Windows.Forms.Label();
        this.label3 = new System.Windows.Forms.Label();
        this.label2 = new System.Windows.Forms.Label();
        this.label1 = new System.Windows.Forms.Label();
        this.TrackBar9 = new XComponent.SliderBar.MACTrackBar();
        this.TrackBar8 = new XComponent.SliderBar.MACTrackBar();
        this.groupBox10 = new System.Windows.Forms.GroupBox();
        this.TrackBar6 = new XComponent.SliderBar.MACTrackBar();
        this.TrackBar5 = new XComponent.SliderBar.MACTrackBar();
        this.TrackBar4 = new XComponent.SliderBar.MACTrackBar();
        this.static54 = new System.Windows.Forms.Label();
        this.static53 = new System.Windows.Forms.Label();
        this.staic59 = new System.Windows.Forms.Label();
        this.static60 = new System.Windows.Forms.Label();
        this.static52 = new System.Windows.Forms.Label();
        this.groupBox9 = new System.Windows.Forms.GroupBox();
        this.TrackBar3 = new XComponent.SliderBar.MACTrackBar();
        this.TrackBar2 = new XComponent.SliderBar.MACTrackBar();
        this.static51 = new System.Windows.Forms.Label();
        this.TrackBar1 = new XComponent.SliderBar.MACTrackBar();
        this.static49 = new System.Windows.Forms.Label();
        this.static57 = new System.Windows.Forms.Label();
        this.static50 = new System.Windows.Forms.Label();
        this.static56 = new System.Windows.Forms.Label();
        this.tabPage6 = new System.Windows.Forms.TabPage();
        this.groupBox13 = new System.Windows.Forms.GroupBox();
        this.label13 = new System.Windows.Forms.Label();
        this.flash = new System.Windows.Forms.Button();
        this.progressBar4 = new System.Windows.Forms.ProgressBar();
        this.showavrout = new System.Windows.Forms.CheckBox();
        this.avrdudeout = new System.Windows.Forms.TextBox();
        this.serialPort = new System.IO.Ports.SerialPort(this.components);
        this.timer1 = new System.Windows.Forms.Timer(this.components);
        this.pictureBox1 = new System.Windows.Forms.PictureBox();
        this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
        this.statusStrip1 = new System.Windows.Forms.StatusStrip();
        this.toolStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
        this.timersens = new System.Windows.Forms.Timer(this.components);
        this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
        this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
        this.pingshrediquette = new System.Windows.Forms.Timer(this.components);
        this.label11 = new System.Windows.Forms.Label();
        this.startupdelay = new System.Windows.Forms.Timer(this.components);
        this.linkLabel2 = new System.Windows.Forms.LinkLabel();
        this.label17 = new System.Windows.Forms.Label();
        this.lbch1 = new System.Windows.Forms.Label();
        this.lbch2 = new System.Windows.Forms.Label();
        this.lbch3 = new System.Windows.Forms.Label();
        this.lbch4 = new System.Windows.Forms.Label();
        this.lbch5 = new System.Windows.Forms.Label();
        this.lbch6 = new System.Windows.Forms.Label();
        this.lbch7 = new System.Windows.Forms.Label();
        this.lbch8 = new System.Windows.Forms.Label();
        this.emergmask = new TriGUI_v11.BitMask();
        this.led2mask = new TriGUI_v11.BitMask();
        this.led1mask = new TriGUI_v11.BitMask();
        label42 = new System.Windows.Forms.Label();
        this.tabControl.SuspendLayout();
        this.tabPage1.SuspendLayout();
        this.RxD.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
        this.tabPage2.SuspendLayout();
        this.groupBox14.SuspendLayout();
        this.groupBox2.SuspendLayout();
        this.tabPage3.SuspendLayout();
        this.groupBox6.SuspendLayout();
        this.groupBox5.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.trackBar15)).BeginInit();
        this.groupBox4.SuspendLayout();
        this.groupBox3.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.trackBar14)).BeginInit();
        this.groupBox1.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.trackBar13)).BeginInit();
        this.tabPage5.SuspendLayout();
        this.groupBox15.SuspendLayout();
        this.groupBox8.SuspendLayout();
        this.groupBox7.SuspendLayout();
        this.tabPage4.SuspendLayout();
        this.Battery.SuspendLayout();
        this.groupBox12.SuspendLayout();
        this.groupBox11.SuspendLayout();
        this.groupBox10.SuspendLayout();
        this.groupBox9.SuspendLayout();
        this.tabPage6.SuspendLayout();
        this.groupBox13.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
        this.statusStrip1.SuspendLayout();
        this.SuspendLayout();
        // 
        // tabControl
        // 
        this.tabControl.Controls.Add(this.tabPage1);
        this.tabControl.Controls.Add(this.tabPage2);
        this.tabControl.Controls.Add(this.tabPage3);
        this.tabControl.Controls.Add(this.tabPage5);
        this.tabControl.Controls.Add(this.tabPage4);
        this.tabControl.Controls.Add(this.tabPage6);
        this.tabControl.Location = new System.Drawing.Point(12, 60);
        this.tabControl.Name = "tabControl";
        this.tabControl.SelectedIndex = 0;
        this.tabControl.Size = new System.Drawing.Size(657, 392);
        this.tabControl.TabIndex = 0;
        this.tabControl.SelectedIndexChanged += new System.EventHandler(this.TabControl1SelectedIndexChanged);
        // 
        // tabPage1
        // 
        this.tabPage1.Controls.Add(this.showdebug);
        this.tabPage1.Controls.Add(this.Compare_Settings);
        this.tabPage1.Controls.Add(this.RxD);
        this.tabPage1.Controls.Add(this.linkLabel1);
        this.tabPage1.Controls.Add(this.btnRefresh);
        this.tabPage1.Controls.Add(this.readsettings);
        this.tabPage1.Controls.Add(this.writesettings);
        this.tabPage1.Controls.Add(this.labelok);
        this.tabPage1.Controls.Add(this.writeall);
        this.tabPage1.Controls.Add(this.resetmC);
        this.tabPage1.Controls.Add(this.comport);
        this.tabPage1.Controls.Add(this.connect);
        this.tabPage1.Controls.Add(this.searchlabel);
        this.tabPage1.Controls.Add(this.progressBar2);
        this.tabPage1.Controls.Add(this.pictureBox2);
        this.tabPage1.Location = new System.Drawing.Point(4, 22);
        this.tabPage1.Name = "tabPage1";
        this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
        this.tabPage1.Size = new System.Drawing.Size(649, 366);
        this.tabPage1.TabIndex = 0;
        this.tabPage1.Text = "Connection";
        this.tabPage1.UseVisualStyleBackColor = true;
        // 
        // showdebug
        // 
        this.showdebug.Location = new System.Drawing.Point(21, 307);
        this.showdebug.Name = "showdebug";
        this.showdebug.Size = new System.Drawing.Size(104, 24);
        this.showdebug.TabIndex = 11;
        this.showdebug.Text = "Show terminal";
        this.toolTip1.SetToolTip(this.showdebug, "Shows a terminal windows showing which things are transferred from the tricopter");
        this.showdebug.UseVisualStyleBackColor = true;
        this.showdebug.CheckedChanged += new System.EventHandler(this.ShowdebugCheckedChanged);
        // 
        // Compare_Settings
        // 
        this.Compare_Settings.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.Compare_Settings.Location = new System.Drawing.Point(21, 278);
        this.Compare_Settings.Name = "Compare_Settings";
        this.Compare_Settings.Size = new System.Drawing.Size(136, 23);
        this.Compare_Settings.TabIndex = 21;
        this.Compare_Settings.Text = "Compare settings (*.shr)";
        this.Compare_Settings.UseVisualStyleBackColor = true;
        this.Compare_Settings.Click += new System.EventHandler(this.Button2Click);
        // 
        // RxD
        // 
        this.RxD.Controls.Add(this.static48);
        this.RxD.Controls.Add(this.bytecounter);
        this.RxD.Controls.Add(this.textRxD);
        this.RxD.Controls.Add(this.clearRxD);
        this.RxD.Location = new System.Drawing.Point(338, 14);
        this.RxD.Name = "RxD";
        this.RxD.Size = new System.Drawing.Size(289, 297);
        this.RxD.TabIndex = 10;
        this.RxD.TabStop = false;
        this.RxD.Text = "RxD";
        this.RxD.Visible = false;
        // 
        // static48
        // 
        this.static48.Location = new System.Drawing.Point(39, 273);
        this.static48.Name = "static48";
        this.static48.Size = new System.Drawing.Size(70, 18);
        this.static48.TabIndex = 16;
        this.static48.Text = "Dataset size:";
        // 
        // bytecounter
        // 
        this.bytecounter.Location = new System.Drawing.Point(114, 273);
        this.bytecounter.Name = "bytecounter";
        this.bytecounter.Size = new System.Drawing.Size(83, 18);
        this.bytecounter.TabIndex = 15;
        this.bytecounter.Text = "---";
        // 
        // textRxD
        // 
        this.textRxD.Location = new System.Drawing.Point(6, 19);
        this.textRxD.Multiline = true;
        this.textRxD.Name = "textRxD";
        this.textRxD.ReadOnly = true;
        this.textRxD.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
        this.textRxD.Size = new System.Drawing.Size(285, 224);
        this.textRxD.TabIndex = 3;
        // 
        // clearRxD
        // 
        this.clearRxD.Location = new System.Drawing.Point(207, 268);
        this.clearRxD.Name = "clearRxD";
        this.clearRxD.Size = new System.Drawing.Size(75, 23);
        this.clearRxD.TabIndex = 5;
        this.clearRxD.Text = "clear";
        this.toolTip1.SetToolTip(this.clearRxD, "Clears the content of the terminal window");
        this.clearRxD.UseVisualStyleBackColor = true;
        this.clearRxD.Click += new System.EventHandler(this.ClearRxDClick);
        // 
        // linkLabel1
        // 
        this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.linkLabel1.Location = new System.Drawing.Point(366, 285);
        this.linkLabel1.Name = "linkLabel1";
        this.linkLabel1.Size = new System.Drawing.Size(211, 23);
        this.linkLabel1.TabIndex = 20;
        this.linkLabel1.TabStop = true;
        this.linkLabel1.Text = "Watch the tutorial video!";
        this.toolTip1.SetToolTip(this.linkLabel1, "http://www.villalachouette.de/william/krims/tricopter/TriGUI_tut.wmv");
        this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel1LinkClicked);
        // 
        // btnRefresh
        // 
        this.btnRefresh.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.btnRefresh.Location = new System.Drawing.Point(163, 62);
        this.btnRefresh.Name = "btnRefresh";
        this.btnRefresh.Size = new System.Drawing.Size(58, 21);
        this.btnRefresh.TabIndex = 19;
        this.btnRefresh.Text = "Refresh";
        this.btnRefresh.UseVisualStyleBackColor = true;
        this.btnRefresh.Click += new System.EventHandler(this.Button1Click);
        // 
        // readsettings
        // 
        this.readsettings.Enabled = false;
        this.readsettings.Location = new System.Drawing.Point(21, 229);
        this.readsettings.Name = "readsettings";
        this.readsettings.Size = new System.Drawing.Size(136, 23);
        this.readsettings.TabIndex = 16;
        this.readsettings.Text = "Load file and write to µC";
        this.toolTip1.SetToolTip(this.readsettings, "Loads all parameters from a text file and writes them to the the µC");
        this.readsettings.UseVisualStyleBackColor = true;
        this.readsettings.Click += new System.EventHandler(this.ReadsettingsClick);
        // 
        // writesettings
        // 
        this.writesettings.Enabled = false;
        this.writesettings.Location = new System.Drawing.Point(21, 200);
        this.writesettings.Name = "writesettings";
        this.writesettings.Size = new System.Drawing.Size(136, 23);
        this.writesettings.TabIndex = 15;
        this.writesettings.Text = "Save all parameters to file";
        this.toolTip1.SetToolTip(this.writesettings, "Saves the all parameters from the GUI to a text file");
        this.writesettings.UseVisualStyleBackColor = true;
        this.writesettings.Click += new System.EventHandler(this.writesettingsClick);
        // 
        // labelok
        // 
        this.labelok.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.labelok.ForeColor = System.Drawing.Color.Lime;
        this.labelok.Location = new System.Drawing.Point(567, 314);
        this.labelok.Name = "labelok";
        this.labelok.Size = new System.Drawing.Size(76, 23);
        this.labelok.TabIndex = 13;
        this.labelok.Text = "OK!";
        this.labelok.TextAlign = System.Drawing.ContentAlignment.BottomRight;
        this.labelok.Visible = false;
        // 
        // writeall
        // 
        this.writeall.Enabled = false;
        this.writeall.Location = new System.Drawing.Point(21, 131);
        this.writeall.Name = "writeall";
        this.writeall.Size = new System.Drawing.Size(136, 50);
        this.writeall.TabIndex = 6;
        this.writeall.Text = "Write all parameters to µC";
        this.toolTip1.SetToolTip(this.writeall, "Writes all the parameters of all tabs and resets the tricopter. The new parameter" +
                "s are subsequently loaded again from the copter");
        this.writeall.UseVisualStyleBackColor = true;
        this.writeall.Click += new System.EventHandler(this.WriteallClick);
        // 
        // resetmC
        // 
        this.resetmC.Enabled = false;
        this.resetmC.Location = new System.Drawing.Point(21, 89);
        this.resetmC.Name = "resetmC";
        this.resetmC.Size = new System.Drawing.Size(136, 23);
        this.resetmC.TabIndex = 2;
        this.resetmC.Text = "Disconnect";
        this.toolTip1.SetToolTip(this.resetmC, "Sends reset command to the tricopter and closes the serialport");
        this.resetmC.UseVisualStyleBackColor = true;
        this.resetmC.Click += new System.EventHandler(this.resetmCClick);
        // 
        // comport
        // 
        this.comport.FormattingEnabled = true;
        this.comport.Items.AddRange(new object[] {
            "COM1",
            "COM2",
            "COM3",
            "COM4",
            "COM5",
            "COM6",
            "COM7",
            "COM8",
            "COM9",
            "COM10",
            "COM11",
            "COM12",
            "COM13",
            "COM14",
            "COM15",
            "COM16",
            "COM17",
            "COM18",
            "COM19",
            "COM20",
            "COM21",
            "COM22",
            "COM23",
            "COM24",
            "COM25",
            "COM26",
            "COM27",
            "COM28",
            "COM29",
            "COM30"});
        this.comport.Location = new System.Drawing.Point(163, 35);
        this.comport.Name = "comport";
        this.comport.Size = new System.Drawing.Size(58, 21);
        this.comport.TabIndex = 1;
        this.comport.Text = "COM1";
        this.toolTip1.SetToolTip(this.comport, "Select the COM port here.\r\nPlease note that avrdude doesn\'t seem to support high " +
                "COM port numbers...");
        this.comport.SelectedIndexChanged += new System.EventHandler(this.ComportSelectedIndexChanged);
        // 
        // connect
        // 
        this.connect.Location = new System.Drawing.Point(21, 33);
        this.connect.Name = "connect";
        this.connect.Size = new System.Drawing.Size(136, 50);
        this.connect.TabIndex = 0;
        this.connect.Text = "Connect + read out";
        this.toolTip1.SetToolTip(this.connect, "Opens a serial connection and reads the current paramters from the tricopter");
        this.connect.UseVisualStyleBackColor = true;
        this.connect.Click += new System.EventHandler(this.ConnectClick);
        // 
        // searchlabel
        // 
        this.searchlabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.searchlabel.ForeColor = System.Drawing.Color.Lime;
        this.searchlabel.Location = new System.Drawing.Point(511, 314);
        this.searchlabel.Name = "searchlabel";
        this.searchlabel.Size = new System.Drawing.Size(132, 23);
        this.searchlabel.TabIndex = 17;
        this.searchlabel.Text = "Searching...";
        this.searchlabel.TextAlign = System.Drawing.ContentAlignment.BottomRight;
        this.searchlabel.Visible = false;
        // 
        // progressBar2
        // 
        this.progressBar2.Location = new System.Drawing.Point(6, 337);
        this.progressBar2.MarqueeAnimationSpeed = 10;
        this.progressBar2.Maximum = 27;
        this.progressBar2.Name = "progressBar2";
        this.progressBar2.Size = new System.Drawing.Size(637, 20);
        this.progressBar2.Step = 1;
        this.progressBar2.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
        this.progressBar2.TabIndex = 12;
        // 
        // pictureBox2
        // 
        this.pictureBox2.Location = new System.Drawing.Point(327, 14);
        this.pictureBox2.Name = "pictureBox2";
        this.pictureBox2.Size = new System.Drawing.Size(300, 300);
        this.pictureBox2.TabIndex = 14;
        this.pictureBox2.TabStop = false;
        // 
        // tabPage2
        // 
        this.tabPage2.Controls.Add(this.groupBox14);
        this.tabPage2.Controls.Add(this.groupBox2);
        this.tabPage2.Location = new System.Drawing.Point(4, 22);
        this.tabPage2.Name = "tabPage2";
        this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
        this.tabPage2.Size = new System.Drawing.Size(649, 366);
        this.tabPage2.TabIndex = 1;
        this.tabPage2.Text = "Radio settings";
        this.tabPage2.UseVisualStyleBackColor = true;
        // 
        // groupBox14
        // 
        this.groupBox14.Controls.Add(label42);
        this.groupBox14.Controls.Add(this.lbch8);
        this.groupBox14.Controls.Add(this.lbch7);
        this.groupBox14.Controls.Add(this.lbch6);
        this.groupBox14.Controls.Add(this.lbch5);
        this.groupBox14.Controls.Add(this.lbch4);
        this.groupBox14.Controls.Add(this.lbch3);
        this.groupBox14.Controls.Add(this.lbch2);
        this.groupBox14.Controls.Add(this.lbch1);
        this.groupBox14.Controls.Add(this.label34);
        this.groupBox14.Controls.Add(this.label33);
        this.groupBox14.Controls.Add(this.label32);
        this.groupBox14.Controls.Add(this.label31);
        this.groupBox14.Controls.Add(this.label30);
        this.groupBox14.Controls.Add(this.label29);
        this.groupBox14.Controls.Add(this.label28);
        this.groupBox14.Controls.Add(this.label27);
        this.groupBox14.Controls.Add(this.tbch8);
        this.groupBox14.Controls.Add(this.tbch7);
        this.groupBox14.Controls.Add(this.tbch6);
        this.groupBox14.Controls.Add(this.tbch5);
        this.groupBox14.Controls.Add(this.tbch4);
        this.groupBox14.Controls.Add(this.tbch3);
        this.groupBox14.Controls.Add(this.tbch2);
        this.groupBox14.Controls.Add(this.tbch1);
        this.groupBox14.Location = new System.Drawing.Point(407, 20);
        this.groupBox14.Name = "groupBox14";
        this.groupBox14.Size = new System.Drawing.Size(223, 329);
        this.groupBox14.TabIndex = 8;
        this.groupBox14.TabStop = false;
        this.groupBox14.Text = "RX Channels";
        // 
        // label34
        // 
        this.label34.AutoSize = true;
        this.label34.Location = new System.Drawing.Point(191, 141);
        this.label34.Name = "label34";
        this.label34.Size = new System.Drawing.Size(13, 13);
        this.label34.TabIndex = 40;
        this.label34.Text = "8";
        // 
        // label33
        // 
        this.label33.AutoSize = true;
        this.label33.Location = new System.Drawing.Point(166, 141);
        this.label33.Name = "label33";
        this.label33.Size = new System.Drawing.Size(13, 13);
        this.label33.TabIndex = 39;
        this.label33.Text = "7";
        // 
        // label32
        // 
        this.label32.AutoSize = true;
        this.label32.Location = new System.Drawing.Point(141, 141);
        this.label32.Name = "label32";
        this.label32.Size = new System.Drawing.Size(13, 13);
        this.label32.TabIndex = 38;
        this.label32.Text = "6";
        // 
        // label31
        // 
        this.label31.AutoSize = true;
        this.label31.Location = new System.Drawing.Point(116, 141);
        this.label31.Name = "label31";
        this.label31.Size = new System.Drawing.Size(13, 13);
        this.label31.TabIndex = 37;
        this.label31.Text = "5";
        // 
        // label30
        // 
        this.label30.AutoSize = true;
        this.label30.Location = new System.Drawing.Point(91, 141);
        this.label30.Name = "label30";
        this.label30.Size = new System.Drawing.Size(13, 13);
        this.label30.TabIndex = 36;
        this.label30.Text = "4";
        // 
        // label29
        // 
        this.label29.AutoSize = true;
        this.label29.Location = new System.Drawing.Point(66, 141);
        this.label29.Name = "label29";
        this.label29.Size = new System.Drawing.Size(13, 13);
        this.label29.TabIndex = 35;
        this.label29.Text = "3";
        // 
        // label28
        // 
        this.label28.AutoSize = true;
        this.label28.Location = new System.Drawing.Point(41, 141);
        this.label28.Name = "label28";
        this.label28.Size = new System.Drawing.Size(13, 13);
        this.label28.TabIndex = 34;
        this.label28.Text = "2";
        // 
        // label27
        // 
        this.label27.AutoSize = true;
        this.label27.Location = new System.Drawing.Point(16, 141);
        this.label27.Name = "label27";
        this.label27.Size = new System.Drawing.Size(13, 13);
        this.label27.TabIndex = 33;
        this.label27.Text = "1";
        // 
        // tbch8
        // 
        this.tbch8.BackColor = System.Drawing.Color.Transparent;
        this.tbch8.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.tbch8.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.tbch8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.tbch8.IndentHeight = 1;
        this.tbch8.IndentWidth = 1;
        this.tbch8.LargeChange = 100;
        this.tbch8.Location = new System.Drawing.Point(188, 35);
        this.tbch8.Maximum = 255;
        this.tbch8.Minimum = 0;
        this.tbch8.Name = "tbch8";
        this.tbch8.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.tbch8.Size = new System.Drawing.Size(19, 100);
        this.tbch8.SmallChange = 10;
        this.tbch8.TabIndex = 32;
        this.tbch8.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.tbch8.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.tbch8.TickFrequency = 64;
        this.tbch8.TickHeight = 1;
        this.tbch8.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.tbch8.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.tbch8.TrackerSize = new System.Drawing.Size(13, 13);
        this.tbch8.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.tbch8.TrackLineHeight = 9;
        this.tbch8.Value = 9;
        // 
        // tbch7
        // 
        this.tbch7.BackColor = System.Drawing.Color.Transparent;
        this.tbch7.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.tbch7.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.tbch7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.tbch7.IndentHeight = 1;
        this.tbch7.IndentWidth = 1;
        this.tbch7.LargeChange = 100;
        this.tbch7.Location = new System.Drawing.Point(163, 35);
        this.tbch7.Maximum = 255;
        this.tbch7.Minimum = 0;
        this.tbch7.Name = "tbch7";
        this.tbch7.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.tbch7.Size = new System.Drawing.Size(19, 100);
        this.tbch7.SmallChange = 10;
        this.tbch7.TabIndex = 31;
        this.tbch7.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.tbch7.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.tbch7.TickFrequency = 64;
        this.tbch7.TickHeight = 1;
        this.tbch7.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.tbch7.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.tbch7.TrackerSize = new System.Drawing.Size(13, 13);
        this.tbch7.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.tbch7.TrackLineHeight = 9;
        this.tbch7.Value = 9;
        // 
        // tbch6
        // 
        this.tbch6.BackColor = System.Drawing.Color.Transparent;
        this.tbch6.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.tbch6.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.tbch6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.tbch6.IndentHeight = 1;
        this.tbch6.IndentWidth = 1;
        this.tbch6.LargeChange = 100;
        this.tbch6.Location = new System.Drawing.Point(138, 35);
        this.tbch6.Maximum = 255;
        this.tbch6.Minimum = 0;
        this.tbch6.Name = "tbch6";
        this.tbch6.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.tbch6.Size = new System.Drawing.Size(19, 100);
        this.tbch6.SmallChange = 10;
        this.tbch6.TabIndex = 30;
        this.tbch6.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.tbch6.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.tbch6.TickFrequency = 64;
        this.tbch6.TickHeight = 1;
        this.tbch6.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.tbch6.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.tbch6.TrackerSize = new System.Drawing.Size(13, 13);
        this.tbch6.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.tbch6.TrackLineHeight = 9;
        this.tbch6.Value = 9;
        // 
        // tbch5
        // 
        this.tbch5.BackColor = System.Drawing.Color.Transparent;
        this.tbch5.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.tbch5.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.tbch5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.tbch5.IndentHeight = 1;
        this.tbch5.IndentWidth = 1;
        this.tbch5.LargeChange = 100;
        this.tbch5.Location = new System.Drawing.Point(113, 35);
        this.tbch5.Maximum = 255;
        this.tbch5.Minimum = 0;
        this.tbch5.Name = "tbch5";
        this.tbch5.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.tbch5.Size = new System.Drawing.Size(19, 100);
        this.tbch5.SmallChange = 10;
        this.tbch5.TabIndex = 29;
        this.tbch5.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.tbch5.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.tbch5.TickFrequency = 64;
        this.tbch5.TickHeight = 1;
        this.tbch5.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.tbch5.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.tbch5.TrackerSize = new System.Drawing.Size(13, 13);
        this.tbch5.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.tbch5.TrackLineHeight = 9;
        this.tbch5.Value = 9;
        // 
        // tbch4
        // 
        this.tbch4.BackColor = System.Drawing.Color.Transparent;
        this.tbch4.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.tbch4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.tbch4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.tbch4.IndentHeight = 1;
        this.tbch4.IndentWidth = 1;
        this.tbch4.LargeChange = 100;
        this.tbch4.Location = new System.Drawing.Point(88, 35);
        this.tbch4.Maximum = 255;
        this.tbch4.Minimum = 0;
        this.tbch4.Name = "tbch4";
        this.tbch4.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.tbch4.Size = new System.Drawing.Size(19, 100);
        this.tbch4.SmallChange = 10;
        this.tbch4.TabIndex = 28;
        this.tbch4.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.tbch4.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.tbch4.TickFrequency = 64;
        this.tbch4.TickHeight = 1;
        this.tbch4.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.tbch4.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.tbch4.TrackerSize = new System.Drawing.Size(13, 13);
        this.tbch4.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.tbch4.TrackLineHeight = 9;
        this.tbch4.Value = 9;
        // 
        // tbch3
        // 
        this.tbch3.BackColor = System.Drawing.Color.Transparent;
        this.tbch3.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.tbch3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.tbch3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.tbch3.IndentHeight = 1;
        this.tbch3.IndentWidth = 1;
        this.tbch3.LargeChange = 100;
        this.tbch3.Location = new System.Drawing.Point(63, 35);
        this.tbch3.Maximum = 255;
        this.tbch3.Minimum = 0;
        this.tbch3.Name = "tbch3";
        this.tbch3.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.tbch3.Size = new System.Drawing.Size(19, 100);
        this.tbch3.SmallChange = 10;
        this.tbch3.TabIndex = 27;
        this.tbch3.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.tbch3.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.tbch3.TickFrequency = 64;
        this.tbch3.TickHeight = 1;
        this.tbch3.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.tbch3.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.tbch3.TrackerSize = new System.Drawing.Size(13, 13);
        this.tbch3.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.tbch3.TrackLineHeight = 9;
        this.tbch3.Value = 9;
        // 
        // tbch2
        // 
        this.tbch2.BackColor = System.Drawing.Color.Transparent;
        this.tbch2.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.tbch2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.tbch2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.tbch2.IndentHeight = 1;
        this.tbch2.IndentWidth = 1;
        this.tbch2.LargeChange = 100;
        this.tbch2.Location = new System.Drawing.Point(38, 35);
        this.tbch2.Maximum = 255;
        this.tbch2.Minimum = 0;
        this.tbch2.Name = "tbch2";
        this.tbch2.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.tbch2.Size = new System.Drawing.Size(19, 100);
        this.tbch2.SmallChange = 10;
        this.tbch2.TabIndex = 26;
        this.tbch2.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.tbch2.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.tbch2.TickFrequency = 64;
        this.tbch2.TickHeight = 1;
        this.tbch2.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.tbch2.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.tbch2.TrackerSize = new System.Drawing.Size(13, 13);
        this.tbch2.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.tbch2.TrackLineHeight = 9;
        this.tbch2.Value = 9;
        // 
        // tbch1
        // 
        this.tbch1.BackColor = System.Drawing.Color.Transparent;
        this.tbch1.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.tbch1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.tbch1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.tbch1.IndentHeight = 1;
        this.tbch1.IndentWidth = 1;
        this.tbch1.LargeChange = 100;
        this.tbch1.Location = new System.Drawing.Point(13, 35);
        this.tbch1.Maximum = 255;
        this.tbch1.Minimum = 0;
        this.tbch1.Name = "tbch1";
        this.tbch1.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.tbch1.Size = new System.Drawing.Size(19, 100);
        this.tbch1.SmallChange = 10;
        this.tbch1.TabIndex = 25;
        this.tbch1.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.tbch1.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.tbch1.TickFrequency = 64;
        this.tbch1.TickHeight = 1;
        this.tbch1.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.tbch1.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.tbch1.TrackerSize = new System.Drawing.Size(13, 13);
        this.tbch1.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.tbch1.TrackLineHeight = 9;
        this.tbch1.Value = 9;
        // 
        // groupBox2
        // 
        this.groupBox2.Controls.Add(this.switchbox);
        this.groupBox2.Controls.Add(this.deactivatemotors);
        this.groupBox2.Controls.Add(this.static67);
        this.groupBox2.Controls.Add(this.static68);
        this.groupBox2.Controls.Add(this.static66);
        this.groupBox2.Controls.Add(this.static65);
        this.groupBox2.Controls.Add(this.static64);
        this.groupBox2.Controls.Add(this.static63);
        this.groupBox2.Controls.Add(this.yawbox);
        this.groupBox2.Controls.Add(this.rollbox);
        this.groupBox2.Controls.Add(this.Nickbox);
        this.groupBox2.Controls.Add(this.throttlebox);
        this.groupBox2.Controls.Add(this.textBoxu);
        this.groupBox2.Controls.Add(this.labelu);
        this.groupBox2.Controls.Add(this.static40);
        this.groupBox2.Controls.Add(this.textBoxS);
        this.groupBox2.Controls.Add(this.textBoxR);
        this.groupBox2.Controls.Add(this.textBoxQ);
        this.groupBox2.Controls.Add(this.checkBoxT);
        this.groupBox2.Controls.Add(this.labels);
        this.groupBox2.Controls.Add(this.labelr);
        this.groupBox2.Controls.Add(this.labelq);
        this.groupBox2.Controls.Add(this.static15);
        this.groupBox2.Controls.Add(this.static13);
        this.groupBox2.Controls.Add(this.static14);
        this.groupBox2.Controls.Add(this.static12);
        this.groupBox2.Controls.Add(this.static11);
        this.groupBox2.Controls.Add(this.checkBoxT2);
        this.groupBox2.Controls.Add(this.static9);
        this.groupBox2.Controls.Add(this.static10);
        this.groupBox2.Location = new System.Drawing.Point(18, 20);
        this.groupBox2.Name = "groupBox2";
        this.groupBox2.Size = new System.Drawing.Size(383, 329);
        this.groupBox2.TabIndex = 7;
        this.groupBox2.TabStop = false;
        this.groupBox2.Text = "Transmitter settings";
        // 
        // switchbox
        // 
        this.switchbox.FormattingEnabled = true;
        this.switchbox.Items.AddRange(new object[] {
            "Ch. 1",
            "Ch. 2",
            "Ch. 3",
            "Ch. 4",
            "Ch. 5",
            "Ch. 6",
            "Ch. 7",
            "Ch. 8",
            "Ch. 9",
            "Ch. 10",
            "Ch. 11",
            "Ch. 12"});
        this.switchbox.Location = new System.Drawing.Point(267, 235);
        this.switchbox.Name = "switchbox";
        this.switchbox.Size = new System.Drawing.Size(57, 21);
        this.switchbox.TabIndex = 28;
        this.toolTip1.SetToolTip(this.switchbox, "Select RC function here");
        // 
        // deactivatemotors
        // 
        this.deactivatemotors.Checked = true;
        this.deactivatemotors.CheckState = System.Windows.Forms.CheckState.Checked;
        this.deactivatemotors.Location = new System.Drawing.Point(15, 286);
        this.deactivatemotors.Name = "deactivatemotors";
        this.deactivatemotors.Size = new System.Drawing.Size(132, 24);
        this.deactivatemotors.TabIndex = 27;
        this.deactivatemotors.Text = "Deactivate motors";
        this.toolTip1.SetToolTip(this.deactivatemotors, "Deactivate motors (for safety)");
        this.deactivatemotors.UseVisualStyleBackColor = true;
        this.deactivatemotors.Click += new System.EventHandler(this.DeactivatemotorsClick);
        // 
        // static67
        // 
        this.static67.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static67.Location = new System.Drawing.Point(15, 202);
        this.static67.Name = "static67";
        this.static67.Size = new System.Drawing.Size(246, 15);
        this.static67.TabIndex = 26;
        this.static67.Text = "Controls (RX/TX channel assignment)";
        // 
        // static68
        // 
        this.static68.Location = new System.Drawing.Point(267, 204);
        this.static68.Name = "static68";
        this.static68.Size = new System.Drawing.Size(87, 30);
        this.static68.TabIndex = 26;
        this.static68.Text = "Motor switch/ \r\nmode selection:";
        // 
        // static66
        // 
        this.static66.Location = new System.Drawing.Point(204, 217);
        this.static66.Name = "static66";
        this.static66.Size = new System.Drawing.Size(57, 15);
        this.static66.TabIndex = 26;
        this.static66.Text = "Yaw:";
        // 
        // static65
        // 
        this.static65.Location = new System.Drawing.Point(141, 217);
        this.static65.Name = "static65";
        this.static65.Size = new System.Drawing.Size(57, 15);
        this.static65.TabIndex = 26;
        this.static65.Text = "Roll:";
        // 
        // static64
        // 
        this.static64.Location = new System.Drawing.Point(78, 217);
        this.static64.Name = "static64";
        this.static64.Size = new System.Drawing.Size(57, 15);
        this.static64.TabIndex = 26;
        this.static64.Text = "Nick:";
        // 
        // static63
        // 
        this.static63.Location = new System.Drawing.Point(15, 217);
        this.static63.Name = "static63";
        this.static63.Size = new System.Drawing.Size(57, 15);
        this.static63.TabIndex = 26;
        this.static63.Text = "Throttle:";
        // 
        // yawbox
        // 
        this.yawbox.FormattingEnabled = true;
        this.yawbox.Items.AddRange(new object[] {
            "Ch. 1",
            "Ch. 2",
            "Ch. 3",
            "Ch. 4",
            "Ch. 5",
            "Ch. 6",
            "Ch. 7",
            "Ch. 8",
            "Ch. 9",
            "Ch. 10",
            "Ch. 11",
            "Ch. 12"});
        this.yawbox.Location = new System.Drawing.Point(204, 235);
        this.yawbox.Name = "yawbox";
        this.yawbox.Size = new System.Drawing.Size(57, 21);
        this.yawbox.TabIndex = 25;
        this.toolTip1.SetToolTip(this.yawbox, "Select RC function here");
        // 
        // rollbox
        // 
        this.rollbox.FormattingEnabled = true;
        this.rollbox.Items.AddRange(new object[] {
            "Ch. 1",
            "Ch. 2",
            "Ch. 3",
            "Ch. 4",
            "Ch. 5",
            "Ch. 6",
            "Ch. 7",
            "Ch. 8",
            "Ch. 9",
            "Ch. 10",
            "Ch. 11",
            "Ch. 12"});
        this.rollbox.Location = new System.Drawing.Point(141, 235);
        this.rollbox.Name = "rollbox";
        this.rollbox.Size = new System.Drawing.Size(57, 21);
        this.rollbox.TabIndex = 24;
        this.toolTip1.SetToolTip(this.rollbox, "Select RC function here");
        // 
        // Nickbox
        // 
        this.Nickbox.FormattingEnabled = true;
        this.Nickbox.Items.AddRange(new object[] {
            "Ch. 1",
            "Ch. 2",
            "Ch. 3",
            "Ch. 4",
            "Ch. 5",
            "Ch. 6",
            "Ch. 7",
            "Ch. 8",
            "Ch. 9",
            "Ch. 10",
            "Ch. 11",
            "Ch. 12"});
        this.Nickbox.Location = new System.Drawing.Point(78, 235);
        this.Nickbox.Name = "Nickbox";
        this.Nickbox.Size = new System.Drawing.Size(57, 21);
        this.Nickbox.TabIndex = 23;
        this.toolTip1.SetToolTip(this.Nickbox, "Select RC function here");
        // 
        // throttlebox
        // 
        this.throttlebox.FormattingEnabled = true;
        this.throttlebox.Items.AddRange(new object[] {
            "Ch. 1",
            "Ch. 2",
            "Ch. 3",
            "Ch. 4",
            "Ch. 5",
            "Ch. 6",
            "Ch. 7",
            "Ch. 8",
            "Ch. 9",
            "Ch. 10",
            "Ch. 11",
            "Ch. 12"});
        this.throttlebox.Location = new System.Drawing.Point(15, 235);
        this.throttlebox.Name = "throttlebox";
        this.throttlebox.Size = new System.Drawing.Size(57, 21);
        this.throttlebox.TabIndex = 22;
        this.toolTip1.SetToolTip(this.throttlebox, "Select RC function here");
        // 
        // textBoxu
        // 
        this.textBoxu.Location = new System.Drawing.Point(290, 128);
        this.textBoxu.Name = "textBoxu";
        this.textBoxu.Size = new System.Drawing.Size(50, 20);
        this.textBoxu.TabIndex = 21;
        this.toolTip1.SetToolTip(this.textBoxu, "Minimum throttle of the motors when they are turned on and the throttle stick is " +
                "at the bottom");
        this.textBoxu.TextChanged += new System.EventHandler(this.TextBoxuTextChanged);
        // 
        // labelu
        // 
        this.labelu.Location = new System.Drawing.Point(225, 131);
        this.labelu.Name = "labelu";
        this.labelu.Size = new System.Drawing.Size(50, 20);
        this.labelu.TabIndex = 20;
        this.labelu.Text = "---";
        // 
        // static40
        // 
        this.static40.Location = new System.Drawing.Point(15, 131);
        this.static40.Name = "static40";
        this.static40.Size = new System.Drawing.Size(186, 23);
        this.static40.TabIndex = 19;
        this.static40.Text = "Minimum throttle (idle up) [15]";
        // 
        // textBoxS
        // 
        this.textBoxS.Location = new System.Drawing.Point(290, 82);
        this.textBoxS.Name = "textBoxS";
        this.textBoxS.Size = new System.Drawing.Size(50, 20);
        this.textBoxS.TabIndex = 17;
        this.toolTip1.SetToolTip(this.textBoxS, "Yaw sensitivity (for both hover and acro mode)");
        this.textBoxS.TextChanged += new System.EventHandler(this.TextBoxSTextChanged);
        // 
        // textBoxR
        // 
        this.textBoxR.Location = new System.Drawing.Point(290, 59);
        this.textBoxR.Name = "textBoxR";
        this.textBoxR.Size = new System.Drawing.Size(50, 20);
        this.textBoxR.TabIndex = 16;
        this.toolTip1.SetToolTip(this.textBoxR, "Agility in hover mode");
        this.textBoxR.TextChanged += new System.EventHandler(this.TextBoxRTextChanged);
        // 
        // textBoxQ
        // 
        this.textBoxQ.Location = new System.Drawing.Point(290, 36);
        this.textBoxQ.Name = "textBoxQ";
        this.textBoxQ.Size = new System.Drawing.Size(50, 20);
        this.textBoxQ.TabIndex = 15;
        this.toolTip1.SetToolTip(this.textBoxQ, "Agility in acro mode");
        this.textBoxQ.TextChanged += new System.EventHandler(this.TextBoxQTextChanged);
        // 
        // checkBoxT
        // 
        this.checkBoxT.Checked = true;
        this.checkBoxT.CheckState = System.Windows.Forms.CheckState.Checked;
        this.checkBoxT.Enabled = false;
        this.checkBoxT.Location = new System.Drawing.Point(225, 105);
        this.checkBoxT.Name = "checkBoxT";
        this.checkBoxT.Size = new System.Drawing.Size(30, 20);
        this.checkBoxT.TabIndex = 14;
        this.checkBoxT.UseVisualStyleBackColor = true;
        // 
        // labels
        // 
        this.labels.Location = new System.Drawing.Point(225, 85);
        this.labels.Name = "labels";
        this.labels.Size = new System.Drawing.Size(50, 20);
        this.labels.TabIndex = 13;
        this.labels.Text = "---";
        // 
        // labelr
        // 
        this.labelr.Location = new System.Drawing.Point(225, 62);
        this.labelr.Name = "labelr";
        this.labelr.Size = new System.Drawing.Size(50, 20);
        this.labelr.TabIndex = 12;
        this.labelr.Text = "---";
        // 
        // labelq
        // 
        this.labelq.Location = new System.Drawing.Point(225, 39);
        this.labelq.Name = "labelq";
        this.labelq.Size = new System.Drawing.Size(50, 20);
        this.labelq.TabIndex = 11;
        this.labelq.Text = "---";
        // 
        // static15
        // 
        this.static15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static15.Location = new System.Drawing.Point(290, 16);
        this.static15.Name = "static15";
        this.static15.Size = new System.Drawing.Size(84, 23);
        this.static15.TabIndex = 10;
        this.static15.Text = "New values";
        // 
        // static13
        // 
        this.static13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static13.Location = new System.Drawing.Point(15, 16);
        this.static13.Name = "static13";
        this.static13.Size = new System.Drawing.Size(115, 23);
        this.static13.TabIndex = 9;
        this.static13.Text = "Parameter [default]";
        // 
        // static14
        // 
        this.static14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static14.Location = new System.Drawing.Point(205, 16);
        this.static14.Name = "static14";
        this.static14.Size = new System.Drawing.Size(79, 23);
        this.static14.TabIndex = 8;
        this.static14.Text = "Values in µC";
        // 
        // static12
        // 
        this.static12.Location = new System.Drawing.Point(15, 108);
        this.static12.Name = "static12";
        this.static12.Size = new System.Drawing.Size(198, 23);
        this.static12.TabIndex = 5;
        this.static12.Text = "ACRO: Exponential agility boost [0]";
        // 
        // static11
        // 
        this.static11.Location = new System.Drawing.Point(15, 85);
        this.static11.Name = "static11";
        this.static11.Size = new System.Drawing.Size(198, 23);
        this.static11.TabIndex = 4;
        this.static11.Text = "Yaw stick sensitivity [130]";
        // 
        // checkBoxT2
        // 
        this.checkBoxT2.Checked = true;
        this.checkBoxT2.CheckState = System.Windows.Forms.CheckState.Checked;
        this.checkBoxT2.Location = new System.Drawing.Point(290, 105);
        this.checkBoxT2.Name = "checkBoxT2";
        this.checkBoxT2.Size = new System.Drawing.Size(50, 20);
        this.checkBoxT2.TabIndex = 6;
        this.checkBoxT2.Text = "on";
        this.toolTip1.SetToolTip(this.checkBoxT2, "Exponential increase in agility when roll or yaw sticks move out of the centre");
        this.checkBoxT2.UseVisualStyleBackColor = true;
        // 
        // static9
        // 
        this.static9.Location = new System.Drawing.Point(15, 39);
        this.static9.Name = "static9";
        this.static9.Size = new System.Drawing.Size(198, 23);
        this.static9.TabIndex = 2;
        this.static9.Text = "ACRO: Stick sensitivity roll + nick [130]";
        // 
        // static10
        // 
        this.static10.Location = new System.Drawing.Point(15, 62);
        this.static10.Name = "static10";
        this.static10.Size = new System.Drawing.Size(200, 23);
        this.static10.TabIndex = 3;
        this.static10.Text = "HOVER: Stick sensitivity roll + nick [70]";
        // 
        // tabPage3
        // 
        this.tabPage3.Controls.Add(this.groupBox6);
        this.tabPage3.Controls.Add(this.groupBox5);
        this.tabPage3.Controls.Add(this.groupBox4);
        this.tabPage3.Controls.Add(this.groupBox3);
        this.tabPage3.Controls.Add(this.groupBox1);
        this.tabPage3.Location = new System.Drawing.Point(4, 22);
        this.tabPage3.Name = "tabPage3";
        this.tabPage3.Size = new System.Drawing.Size(649, 366);
        this.tabPage3.TabIndex = 2;
        this.tabPage3.Text = "PID loop";
        this.tabPage3.UseVisualStyleBackColor = true;
        // 
        // groupBox6
        // 
        this.groupBox6.Controls.Add(this.textBoxx);
        this.groupBox6.Controls.Add(this.textBoxw);
        this.groupBox6.Controls.Add(this.labelx);
        this.groupBox6.Controls.Add(this.labelw);
        this.groupBox6.Controls.Add(this.static46);
        this.groupBox6.Controls.Add(this.static45);
        this.groupBox6.Controls.Add(this.textBoxp);
        this.groupBox6.Controls.Add(this.textBoxo);
        this.groupBox6.Controls.Add(this.textBoxn);
        this.groupBox6.Controls.Add(this.labelp);
        this.groupBox6.Controls.Add(this.labelo);
        this.groupBox6.Controls.Add(this.labeln);
        this.groupBox6.Controls.Add(this.static39);
        this.groupBox6.Controls.Add(this.static38);
        this.groupBox6.Controls.Add(this.static37);
        this.groupBox6.Controls.Add(this.static36);
        this.groupBox6.Controls.Add(this.static35);
        this.groupBox6.Controls.Add(this.static34);
        this.groupBox6.Location = new System.Drawing.Point(3, 180);
        this.groupBox6.Name = "groupBox6";
        this.groupBox6.Size = new System.Drawing.Size(267, 182);
        this.groupBox6.TabIndex = 4;
        this.groupBox6.TabStop = false;
        this.groupBox6.Text = "ACC settings";
        // 
        // textBoxx
        // 
        this.textBoxx.Location = new System.Drawing.Point(193, 130);
        this.textBoxx.Name = "textBoxx";
        this.textBoxx.Size = new System.Drawing.Size(50, 20);
        this.textBoxx.TabIndex = 25;
        this.toolTip1.SetToolTip(this.textBoxx, "Y acc offset determines at which angle the acc thinks it is horizontal. If your c" +
                "opter doesn\'t stay in place, you need to tune this parameter.");
        this.textBoxx.TextChanged += new System.EventHandler(this.TextBoxxTextChanged);
        // 
        // textBoxw
        // 
        this.textBoxw.Location = new System.Drawing.Point(193, 107);
        this.textBoxw.Name = "textBoxw";
        this.textBoxw.Size = new System.Drawing.Size(50, 20);
        this.textBoxw.TabIndex = 24;
        this.toolTip1.SetToolTip(this.textBoxw, "X acc offset determines at which angle the acc thinks it is horizontal. If your c" +
                "opter doesn\'t stay in place, you need to tune this parameter.");
        this.textBoxw.TextChanged += new System.EventHandler(this.TextBoxwTextChanged);
        // 
        // labelx
        // 
        this.labelx.Location = new System.Drawing.Point(126, 133);
        this.labelx.Name = "labelx";
        this.labelx.Size = new System.Drawing.Size(50, 20);
        this.labelx.TabIndex = 23;
        this.labelx.Text = "---";
        // 
        // labelw
        // 
        this.labelw.Location = new System.Drawing.Point(126, 110);
        this.labelw.Name = "labelw";
        this.labelw.Size = new System.Drawing.Size(50, 20);
        this.labelw.TabIndex = 22;
        this.labelw.Text = "---";
        // 
        // static46
        // 
        this.static46.Location = new System.Drawing.Point(8, 133);
        this.static46.Name = "static46";
        this.static46.Size = new System.Drawing.Size(100, 23);
        this.static46.TabIndex = 21;
        this.static46.Text = "Y acc offset [128]";
        // 
        // static45
        // 
        this.static45.Location = new System.Drawing.Point(8, 110);
        this.static45.Name = "static45";
        this.static45.Size = new System.Drawing.Size(100, 23);
        this.static45.TabIndex = 20;
        this.static45.Text = "X acc offset [128]";
        // 
        // textBoxp
        // 
        this.textBoxp.Location = new System.Drawing.Point(193, 84);
        this.textBoxp.Name = "textBoxp";
        this.textBoxp.Size = new System.Drawing.Size(50, 20);
        this.textBoxp.TabIndex = 19;
        this.toolTip1.SetToolTip(this.textBoxp, "Scale factor of the acc, the acc has to have a similar amplitude as the gyro inte" +
                "gral");
        this.textBoxp.TextChanged += new System.EventHandler(this.TextBoxpTextChanged);
        // 
        // textBoxo
        // 
        this.textBoxo.Location = new System.Drawing.Point(193, 61);
        this.textBoxo.Name = "textBoxo";
        this.textBoxo.Size = new System.Drawing.Size(50, 20);
        this.textBoxo.TabIndex = 18;
        this.toolTip1.SetToolTip(this.textBoxo, "Scale factor of the acc, the acc has to have a similar amplitude as the gyro inte" +
                "gral");
        this.textBoxo.TextChanged += new System.EventHandler(this.TextBoxoTextChanged);
        // 
        // textBoxn
        // 
        this.textBoxn.Location = new System.Drawing.Point(193, 38);
        this.textBoxn.Name = "textBoxn";
        this.textBoxn.Size = new System.Drawing.Size(50, 20);
        this.textBoxn.TabIndex = 17;
        this.toolTip1.SetToolTip(this.textBoxn, "Determines how much the gyro integral is influenced by the acc");
        this.textBoxn.TextChanged += new System.EventHandler(this.TextBoxnTextChanged);
        // 
        // labelp
        // 
        this.labelp.Location = new System.Drawing.Point(126, 87);
        this.labelp.Name = "labelp";
        this.labelp.Size = new System.Drawing.Size(50, 20);
        this.labelp.TabIndex = 16;
        this.labelp.Text = "---";
        // 
        // labelo
        // 
        this.labelo.Location = new System.Drawing.Point(126, 64);
        this.labelo.Name = "labelo";
        this.labelo.Size = new System.Drawing.Size(50, 20);
        this.labelo.TabIndex = 15;
        this.labelo.Text = "---";
        // 
        // labeln
        // 
        this.labeln.Location = new System.Drawing.Point(126, 41);
        this.labeln.Name = "labeln";
        this.labeln.Size = new System.Drawing.Size(50, 20);
        this.labeln.TabIndex = 14;
        this.labeln.Text = "---";
        // 
        // static39
        // 
        this.static39.Location = new System.Drawing.Point(8, 87);
        this.static39.Name = "static39";
        this.static39.Size = new System.Drawing.Size(100, 23);
        this.static39.TabIndex = 13;
        this.static39.Text = "Y acc scale [140]";
        // 
        // static38
        // 
        this.static38.Location = new System.Drawing.Point(8, 64);
        this.static38.Name = "static38";
        this.static38.Size = new System.Drawing.Size(100, 23);
        this.static38.TabIndex = 12;
        this.static38.Text = "X acc scale [140]";
        // 
        // static37
        // 
        this.static37.Location = new System.Drawing.Point(8, 41);
        this.static37.Name = "static37";
        this.static37.Size = new System.Drawing.Size(100, 23);
        this.static37.TabIndex = 11;
        this.static37.Text = "ACC influence [10]";
        // 
        // static36
        // 
        this.static36.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static36.Location = new System.Drawing.Point(193, 14);
        this.static36.Name = "static36";
        this.static36.Size = new System.Drawing.Size(74, 23);
        this.static36.TabIndex = 10;
        this.static36.Text = "New values";
        // 
        // static35
        // 
        this.static35.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static35.Location = new System.Drawing.Point(113, 14);
        this.static35.Name = "static35";
        this.static35.Size = new System.Drawing.Size(79, 23);
        this.static35.TabIndex = 8;
        this.static35.Text = "Values in µC";
        // 
        // static34
        // 
        this.static34.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static34.Location = new System.Drawing.Point(8, 14);
        this.static34.Name = "static34";
        this.static34.Size = new System.Drawing.Size(115, 23);
        this.static34.TabIndex = 9;
        this.static34.Text = "Parameter [default]";
        // 
        // groupBox5
        // 
        this.groupBox5.Controls.Add(this.trackBar15);
        this.groupBox5.Controls.Add(this.checkBox3);
        this.groupBox5.Controls.Add(this.label14);
        this.groupBox5.Controls.Add(this.label25);
        this.groupBox5.Controls.Add(this.label26);
        this.groupBox5.Controls.Add(this.textBoxm);
        this.groupBox5.Controls.Add(this.textBoxl);
        this.groupBox5.Controls.Add(this.labelm);
        this.groupBox5.Controls.Add(this.labell);
        this.groupBox5.Controls.Add(this.static33);
        this.groupBox5.Controls.Add(this.static32);
        this.groupBox5.Controls.Add(this.static29);
        this.groupBox5.Controls.Add(this.static31);
        this.groupBox5.Controls.Add(this.static30);
        this.groupBox5.Location = new System.Drawing.Point(276, 267);
        this.groupBox5.Name = "groupBox5";
        this.groupBox5.Size = new System.Drawing.Size(370, 95);
        this.groupBox5.TabIndex = 3;
        this.groupBox5.TabStop = false;
        this.groupBox5.Text = "Yaw PI";
        // 
        // trackBar15
        // 
        this.trackBar15.BackColor = System.Drawing.SystemColors.Window;
        this.trackBar15.LargeChange = 2;
        this.trackBar15.Location = new System.Drawing.Point(325, 30);
        this.trackBar15.Margin = new System.Windows.Forms.Padding(1);
        this.trackBar15.Name = "trackBar15";
        this.trackBar15.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.trackBar15.Size = new System.Drawing.Size(42, 61);
        this.trackBar15.TabIndex = 21;
        this.trackBar15.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
        this.trackBar15.Value = 6;
        this.trackBar15.Scroll += new System.EventHandler(this.TrackBar15Scroll);
        // 
        // checkBox3
        // 
        this.checkBox3.Location = new System.Drawing.Point(335, 10);
        this.checkBox3.Name = "checkBox3";
        this.checkBox3.Size = new System.Drawing.Size(20, 24);
        this.checkBox3.TabIndex = 20;
        this.checkBox3.UseVisualStyleBackColor = true;
        this.checkBox3.CheckedChanged += new System.EventHandler(this.CheckBox3CheckedChanged);
        // 
        // label14
        // 
        this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label14.Location = new System.Drawing.Point(259, 34);
        this.label14.Name = "label14";
        this.label14.Size = new System.Drawing.Size(63, 23);
        this.label14.TabIndex = 18;
        this.label14.Text = "high sens";
        this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
        // 
        // label25
        // 
        this.label25.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label25.Location = new System.Drawing.Point(259, 69);
        this.label25.Name = "label25";
        this.label25.Size = new System.Drawing.Size(63, 23);
        this.label25.TabIndex = 19;
        this.label25.Text = "low sens";
        this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
        // 
        // label26
        // 
        this.label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label26.Location = new System.Drawing.Point(266, 16);
        this.label26.Name = "label26";
        this.label26.Size = new System.Drawing.Size(63, 23);
        this.label26.TabIndex = 17;
        this.label26.Text = "Easy mode";
        // 
        // textBoxm
        // 
        this.textBoxm.Location = new System.Drawing.Point(190, 53);
        this.textBoxm.Name = "textBoxm";
        this.textBoxm.Size = new System.Drawing.Size(50, 20);
        this.textBoxm.TabIndex = 16;
        this.toolTip1.SetToolTip(this.textBoxm, "I of yaw: to sum of the errors in angular velocity");
        this.textBoxm.TextChanged += new System.EventHandler(this.TextBoxmTextChanged);
        // 
        // textBoxl
        // 
        this.textBoxl.Location = new System.Drawing.Point(190, 30);
        this.textBoxl.Name = "textBoxl";
        this.textBoxl.Size = new System.Drawing.Size(50, 20);
        this.textBoxl.TabIndex = 15;
        this.toolTip1.SetToolTip(this.textBoxl, "P of yaw: reacts to errors in yaw velocity");
        this.textBoxl.TextChanged += new System.EventHandler(this.TextBoxlTextChanged);
        // 
        // labelm
        // 
        this.labelm.Location = new System.Drawing.Point(113, 56);
        this.labelm.Name = "labelm";
        this.labelm.Size = new System.Drawing.Size(50, 20);
        this.labelm.TabIndex = 14;
        this.labelm.Text = "---";
        // 
        // labell
        // 
        this.labell.Location = new System.Drawing.Point(113, 33);
        this.labell.Name = "labell";
        this.labell.Size = new System.Drawing.Size(50, 20);
        this.labell.TabIndex = 13;
        this.labell.Text = "---";
        // 
        // static33
        // 
        this.static33.Location = new System.Drawing.Point(7, 56);
        this.static33.Name = "static33";
        this.static33.Size = new System.Drawing.Size(100, 23);
        this.static33.TabIndex = 12;
        this.static33.Text = "I [70]";
        // 
        // static32
        // 
        this.static32.Location = new System.Drawing.Point(7, 33);
        this.static32.Name = "static32";
        this.static32.Size = new System.Drawing.Size(100, 23);
        this.static32.TabIndex = 11;
        this.static32.Text = "P [100]";
        // 
        // static29
        // 
        this.static29.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static29.Location = new System.Drawing.Point(6, 16);
        this.static29.Name = "static29";
        this.static29.Size = new System.Drawing.Size(107, 23);
        this.static29.TabIndex = 9;
        this.static29.Text = "Parameter [default]";
        // 
        // static31
        // 
        this.static31.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static31.Location = new System.Drawing.Point(188, 16);
        this.static31.Name = "static31";
        this.static31.Size = new System.Drawing.Size(100, 23);
        this.static31.TabIndex = 10;
        this.static31.Text = "New values";
        // 
        // static30
        // 
        this.static30.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static30.Location = new System.Drawing.Point(113, 16);
        this.static30.Name = "static30";
        this.static30.Size = new System.Drawing.Size(88, 23);
        this.static30.TabIndex = 8;
        this.static30.Text = "Values in µC";
        // 
        // groupBox4
        // 
        this.groupBox4.Controls.Add(this.checkBoxf2);
        this.groupBox4.Controls.Add(this.checkBoxf);
        this.groupBox4.Controls.Add(this.checkBoxe2);
        this.groupBox4.Controls.Add(this.checkBoxe);
        this.groupBox4.Controls.Add(this.static28);
        this.groupBox4.Controls.Add(this.static27);
        this.groupBox4.Controls.Add(this.checkBoxD2);
        this.groupBox4.Controls.Add(this.checkBoxB2);
        this.groupBox4.Controls.Add(this.checkBoxC2);
        this.groupBox4.Controls.Add(this.checkBoxD);
        this.groupBox4.Controls.Add(this.checkBoxC);
        this.groupBox4.Controls.Add(this.checkBoxB);
        this.groupBox4.Controls.Add(this.static26);
        this.groupBox4.Controls.Add(this.static25);
        this.groupBox4.Controls.Add(this.static24);
        this.groupBox4.Controls.Add(this.static22);
        this.groupBox4.Controls.Add(this.static23);
        this.groupBox4.Controls.Add(this.static21);
        this.groupBox4.Location = new System.Drawing.Point(3, 3);
        this.groupBox4.Name = "groupBox4";
        this.groupBox4.Size = new System.Drawing.Size(267, 171);
        this.groupBox4.TabIndex = 2;
        this.groupBox4.TabStop = false;
        this.groupBox4.Text = "Directions";
        // 
        // checkBoxf2
        // 
        this.checkBoxf2.Location = new System.Drawing.Point(199, 136);
        this.checkBoxf2.Name = "checkBoxf2";
        this.checkBoxf2.Size = new System.Drawing.Size(50, 20);
        this.checkBoxf2.TabIndex = 21;
        this.toolTip1.SetToolTip(this.checkBoxf2, "Reverse Y acc");
        this.checkBoxf2.UseVisualStyleBackColor = true;
        // 
        // checkBoxf
        // 
        this.checkBoxf.Enabled = false;
        this.checkBoxf.Location = new System.Drawing.Point(142, 136);
        this.checkBoxf.Name = "checkBoxf";
        this.checkBoxf.Size = new System.Drawing.Size(20, 20);
        this.checkBoxf.TabIndex = 20;
        this.checkBoxf.UseVisualStyleBackColor = true;
        // 
        // checkBoxe2
        // 
        this.checkBoxe2.Location = new System.Drawing.Point(199, 109);
        this.checkBoxe2.Name = "checkBoxe2";
        this.checkBoxe2.Size = new System.Drawing.Size(50, 20);
        this.checkBoxe2.TabIndex = 19;
        this.toolTip1.SetToolTip(this.checkBoxe2, "Reverse X acc");
        this.checkBoxe2.UseVisualStyleBackColor = true;
        // 
        // checkBoxe
        // 
        this.checkBoxe.Enabled = false;
        this.checkBoxe.Location = new System.Drawing.Point(142, 109);
        this.checkBoxe.Name = "checkBoxe";
        this.checkBoxe.Size = new System.Drawing.Size(20, 20);
        this.checkBoxe.TabIndex = 18;
        this.checkBoxe.UseVisualStyleBackColor = true;
        // 
        // static28
        // 
        this.static28.Location = new System.Drawing.Point(7, 139);
        this.static28.Name = "static28";
        this.static28.Size = new System.Drawing.Size(100, 23);
        this.static28.TabIndex = 17;
        this.static28.Text = "Y acc reverse [0]";
        // 
        // static27
        // 
        this.static27.Location = new System.Drawing.Point(7, 112);
        this.static27.Name = "static27";
        this.static27.Size = new System.Drawing.Size(100, 23);
        this.static27.TabIndex = 16;
        this.static27.Text = "X acc reverse [0]";
        // 
        // checkBoxD2
        // 
        this.checkBoxD2.Location = new System.Drawing.Point(199, 82);
        this.checkBoxD2.Name = "checkBoxD2";
        this.checkBoxD2.Size = new System.Drawing.Size(50, 20);
        this.checkBoxD2.TabIndex = 15;
        this.toolTip1.SetToolTip(this.checkBoxD2, "Reverse yaw gyro");
        this.checkBoxD2.UseVisualStyleBackColor = true;
        // 
        // checkBoxB2
        // 
        this.checkBoxB2.Location = new System.Drawing.Point(199, 33);
        this.checkBoxB2.Name = "checkBoxB2";
        this.checkBoxB2.Size = new System.Drawing.Size(50, 20);
        this.checkBoxB2.TabIndex = 14;
        this.toolTip1.SetToolTip(this.checkBoxB2, "Reverse roll gyro");
        this.checkBoxB2.UseVisualStyleBackColor = true;
        // 
        // checkBoxC2
        // 
        this.checkBoxC2.Location = new System.Drawing.Point(199, 59);
        this.checkBoxC2.Name = "checkBoxC2";
        this.checkBoxC2.Size = new System.Drawing.Size(50, 20);
        this.checkBoxC2.TabIndex = 13;
        this.toolTip1.SetToolTip(this.checkBoxC2, "Reverse nick gyro");
        this.checkBoxC2.UseVisualStyleBackColor = true;
        // 
        // checkBoxD
        // 
        this.checkBoxD.Enabled = false;
        this.checkBoxD.Location = new System.Drawing.Point(142, 83);
        this.checkBoxD.Name = "checkBoxD";
        this.checkBoxD.Size = new System.Drawing.Size(20, 20);
        this.checkBoxD.TabIndex = 11;
        this.checkBoxD.UseVisualStyleBackColor = true;
        // 
        // checkBoxC
        // 
        this.checkBoxC.Enabled = false;
        this.checkBoxC.Location = new System.Drawing.Point(142, 59);
        this.checkBoxC.Name = "checkBoxC";
        this.checkBoxC.Size = new System.Drawing.Size(20, 20);
        this.checkBoxC.TabIndex = 10;
        this.checkBoxC.UseVisualStyleBackColor = true;
        // 
        // checkBoxB
        // 
        this.checkBoxB.Enabled = false;
        this.checkBoxB.Location = new System.Drawing.Point(142, 33);
        this.checkBoxB.Name = "checkBoxB";
        this.checkBoxB.Size = new System.Drawing.Size(20, 20);
        this.checkBoxB.TabIndex = 9;
        this.checkBoxB.UseVisualStyleBackColor = true;
        // 
        // static26
        // 
        this.static26.Location = new System.Drawing.Point(7, 85);
        this.static26.Name = "static26";
        this.static26.Size = new System.Drawing.Size(114, 23);
        this.static26.TabIndex = 8;
        this.static26.Text = "Yaw gyro reverse [0]";
        // 
        // static25
        // 
        this.static25.Location = new System.Drawing.Point(7, 61);
        this.static25.Name = "static25";
        this.static25.Size = new System.Drawing.Size(114, 23);
        this.static25.TabIndex = 8;
        this.static25.Text = "Nick gyro reverse [0]";
        // 
        // static24
        // 
        this.static24.Location = new System.Drawing.Point(7, 36);
        this.static24.Name = "static24";
        this.static24.Size = new System.Drawing.Size(114, 23);
        this.static24.TabIndex = 8;
        this.static24.Text = "Roll gyro reverse [0]";
        // 
        // static22
        // 
        this.static22.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static22.Location = new System.Drawing.Point(117, 16);
        this.static22.Name = "static22";
        this.static22.Size = new System.Drawing.Size(75, 23);
        this.static22.TabIndex = 6;
        this.static22.Text = "Values in µC";
        // 
        // static23
        // 
        this.static23.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static23.Location = new System.Drawing.Point(193, 16);
        this.static23.Name = "static23";
        this.static23.Size = new System.Drawing.Size(74, 23);
        this.static23.TabIndex = 7;
        this.static23.Text = "New values";
        // 
        // static21
        // 
        this.static21.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static21.Location = new System.Drawing.Point(6, 16);
        this.static21.Name = "static21";
        this.static21.Size = new System.Drawing.Size(115, 23);
        this.static21.TabIndex = 6;
        this.static21.Text = "Parameter [default]";
        // 
        // groupBox3
        // 
        this.groupBox3.Controls.Add(this.checkBox2);
        this.groupBox3.Controls.Add(this.trackBar14);
        this.groupBox3.Controls.Add(this.label24);
        this.groupBox3.Controls.Add(this.textBoxy);
        this.groupBox3.Controls.Add(this.label23);
        this.groupBox3.Controls.Add(this.textBoxH);
        this.groupBox3.Controls.Add(this.textBoxG);
        this.groupBox3.Controls.Add(this.labely);
        this.groupBox3.Controls.Add(this.labelH);
        this.groupBox3.Controls.Add(this.label16);
        this.groupBox3.Controls.Add(this.labelG);
        this.groupBox3.Controls.Add(this.static17);
        this.groupBox3.Controls.Add(this.label22);
        this.groupBox3.Controls.Add(this.static16);
        this.groupBox3.Controls.Add(this.static18);
        this.groupBox3.Controls.Add(this.static20);
        this.groupBox3.Controls.Add(this.static19);
        this.groupBox3.Location = new System.Drawing.Point(276, 145);
        this.groupBox3.Name = "groupBox3";
        this.groupBox3.Size = new System.Drawing.Size(370, 116);
        this.groupBox3.TabIndex = 1;
        this.groupBox3.TabStop = false;
        this.groupBox3.Text = "ACRO Mode PID";
        // 
        // checkBox2
        // 
        this.checkBox2.Location = new System.Drawing.Point(335, 10);
        this.checkBox2.Name = "checkBox2";
        this.checkBox2.Size = new System.Drawing.Size(20, 24);
        this.checkBox2.TabIndex = 12;
        this.checkBox2.UseVisualStyleBackColor = true;
        this.checkBox2.CheckedChanged += new System.EventHandler(this.CheckBox2CheckedChanged);
        // 
        // trackBar14
        // 
        this.trackBar14.BackColor = System.Drawing.SystemColors.Window;
        this.trackBar14.LargeChange = 2;
        this.trackBar14.Location = new System.Drawing.Point(325, 36);
        this.trackBar14.Margin = new System.Windows.Forms.Padding(0);
        this.trackBar14.Name = "trackBar14";
        this.trackBar14.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.trackBar14.Size = new System.Drawing.Size(42, 77);
        this.trackBar14.TabIndex = 11;
        this.trackBar14.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
        this.trackBar14.Value = 5;
        this.trackBar14.Scroll += new System.EventHandler(this.TrackBar14Scroll);
        // 
        // label24
        // 
        this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label24.Location = new System.Drawing.Point(259, 39);
        this.label24.Name = "label24";
        this.label24.Size = new System.Drawing.Size(63, 23);
        this.label24.TabIndex = 10;
        this.label24.Text = "high sens";
        this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
        // 
        // textBoxy
        // 
        this.textBoxy.Location = new System.Drawing.Point(190, 83);
        this.textBoxy.Name = "textBoxy";
        this.textBoxy.Size = new System.Drawing.Size(50, 20);
        this.textBoxy.TabIndex = 10;
        this.toolTip1.SetToolTip(this.textBoxy, "D in acro mode: reacts to changes in angular acceleration");
        this.textBoxy.TextChanged += new System.EventHandler(this.TextBoxHTextChanged);
        // 
        // label23
        // 
        this.label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label23.Location = new System.Drawing.Point(259, 89);
        this.label23.Name = "label23";
        this.label23.Size = new System.Drawing.Size(63, 23);
        this.label23.TabIndex = 10;
        this.label23.Text = "low sens";
        this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
        // 
        // textBoxH
        // 
        this.textBoxH.Location = new System.Drawing.Point(190, 59);
        this.textBoxH.Name = "textBoxH";
        this.textBoxH.Size = new System.Drawing.Size(50, 20);
        this.textBoxH.TabIndex = 10;
        this.toolTip1.SetToolTip(this.textBoxH, "I in acro mode: The sum of the errors in angular velocity");
        this.textBoxH.TextChanged += new System.EventHandler(this.TextBoxHTextChanged);
        // 
        // textBoxG
        // 
        this.textBoxG.Location = new System.Drawing.Point(190, 36);
        this.textBoxG.Name = "textBoxG";
        this.textBoxG.Size = new System.Drawing.Size(50, 20);
        this.textBoxG.TabIndex = 9;
        this.toolTip1.SetToolTip(this.textBoxG, "P in acro mode: Reacts to errors in angular velocity");
        this.textBoxG.TextChanged += new System.EventHandler(this.TextBoxGTextChanged);
        // 
        // labely
        // 
        this.labely.Location = new System.Drawing.Point(113, 86);
        this.labely.Name = "labely";
        this.labely.Size = new System.Drawing.Size(50, 20);
        this.labely.TabIndex = 8;
        this.labely.Text = "---";
        // 
        // labelH
        // 
        this.labelH.Location = new System.Drawing.Point(113, 62);
        this.labelH.Name = "labelH";
        this.labelH.Size = new System.Drawing.Size(50, 20);
        this.labelH.TabIndex = 8;
        this.labelH.Text = "---";
        // 
        // label16
        // 
        this.label16.Location = new System.Drawing.Point(8, 86);
        this.label16.Name = "label16";
        this.label16.Size = new System.Drawing.Size(51, 23);
        this.label16.TabIndex = 1;
        this.label16.Text = "D [15]";
        // 
        // labelG
        // 
        this.labelG.Location = new System.Drawing.Point(113, 39);
        this.labelG.Name = "labelG";
        this.labelG.Size = new System.Drawing.Size(50, 20);
        this.labelG.TabIndex = 2;
        this.labelG.Text = "---";
        // 
        // static17
        // 
        this.static17.Location = new System.Drawing.Point(8, 62);
        this.static17.Name = "static17";
        this.static17.Size = new System.Drawing.Size(51, 23);
        this.static17.TabIndex = 1;
        this.static17.Text = "I [30]";
        // 
        // label22
        // 
        this.label22.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label22.Location = new System.Drawing.Point(266, 16);
        this.label22.Name = "label22";
        this.label22.Size = new System.Drawing.Size(63, 23);
        this.label22.TabIndex = 7;
        this.label22.Text = "Easy mode";
        // 
        // static16
        // 
        this.static16.Location = new System.Drawing.Point(8, 39);
        this.static16.Name = "static16";
        this.static16.Size = new System.Drawing.Size(51, 23);
        this.static16.TabIndex = 0;
        this.static16.Text = "P [130]";
        // 
        // static18
        // 
        this.static18.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static18.Location = new System.Drawing.Point(8, 16);
        this.static18.Name = "static18";
        this.static18.Size = new System.Drawing.Size(107, 23);
        this.static18.TabIndex = 6;
        this.static18.Text = "Parameter [default]";
        // 
        // static20
        // 
        this.static20.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static20.Location = new System.Drawing.Point(190, 16);
        this.static20.Name = "static20";
        this.static20.Size = new System.Drawing.Size(74, 23);
        this.static20.TabIndex = 7;
        this.static20.Text = "New values";
        // 
        // static19
        // 
        this.static19.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static19.Location = new System.Drawing.Point(113, 16);
        this.static19.Name = "static19";
        this.static19.Size = new System.Drawing.Size(79, 23);
        this.static19.TabIndex = 6;
        this.static19.Text = "Values in µC";
        // 
        // groupBox1
        // 
        this.groupBox1.BackColor = System.Drawing.Color.Transparent;
        this.groupBox1.Controls.Add(this.label21);
        this.groupBox1.Controls.Add(this.label20);
        this.groupBox1.Controls.Add(this.checkBox1);
        this.groupBox1.Controls.Add(this.trackBar13);
        this.groupBox1.Controls.Add(this.label18);
        this.groupBox1.Controls.Add(this.static6);
        this.groupBox1.Controls.Add(this.static5);
        this.groupBox1.Controls.Add(this.static4);
        this.groupBox1.Controls.Add(this.textBoxi);
        this.groupBox1.Controls.Add(this.label19);
        this.groupBox1.Controls.Add(this.static3);
        this.groupBox1.Controls.Add(this.labeli);
        this.groupBox1.Controls.Add(this.static7);
        this.groupBox1.Controls.Add(this.static2);
        this.groupBox1.Controls.Add(this.labelj);
        this.groupBox1.Controls.Add(this.textBoxz);
        this.groupBox1.Controls.Add(this.textBoxk);
        this.groupBox1.Controls.Add(this.labelz);
        this.groupBox1.Controls.Add(this.labelk);
        this.groupBox1.Controls.Add(this.textBoxj);
        this.groupBox1.Location = new System.Drawing.Point(276, 3);
        this.groupBox1.Name = "groupBox1";
        this.groupBox1.Size = new System.Drawing.Size(370, 136);
        this.groupBox1.TabIndex = 0;
        this.groupBox1.TabStop = false;
        this.groupBox1.Text = "HOVER Mode PIDD²";
        // 
        // label21
        // 
        this.label21.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label21.Location = new System.Drawing.Point(259, 38);
        this.label21.Name = "label21";
        this.label21.Size = new System.Drawing.Size(63, 23);
        this.label21.TabIndex = 10;
        this.label21.Text = "high sens";
        this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
        // 
        // label20
        // 
        this.label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label20.Location = new System.Drawing.Point(259, 105);
        this.label20.Name = "label20";
        this.label20.Size = new System.Drawing.Size(63, 23);
        this.label20.TabIndex = 10;
        this.label20.Text = "low sens";
        this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
        // 
        // checkBox1
        // 
        this.checkBox1.Location = new System.Drawing.Point(335, 12);
        this.checkBox1.Name = "checkBox1";
        this.checkBox1.Size = new System.Drawing.Size(20, 20);
        this.checkBox1.TabIndex = 9;
        this.toolTip1.SetToolTip(this.checkBox1, "Easy mode gives you less options in changing the parameters.");
        this.checkBox1.UseVisualStyleBackColor = true;
        this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1CheckedChanged);
        // 
        // trackBar13
        // 
        this.trackBar13.BackColor = System.Drawing.SystemColors.Window;
        this.trackBar13.LargeChange = 2;
        this.trackBar13.Location = new System.Drawing.Point(325, 38);
        this.trackBar13.Margin = new System.Windows.Forms.Padding(0);
        this.trackBar13.Name = "trackBar13";
        this.trackBar13.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.trackBar13.Size = new System.Drawing.Size(42, 90);
        this.trackBar13.TabIndex = 9;
        this.trackBar13.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
        this.trackBar13.Value = 6;
        this.trackBar13.Scroll += new System.EventHandler(this.TrackBar13Scroll);
        // 
        // label18
        // 
        this.label18.Location = new System.Drawing.Point(8, 109);
        this.label18.Name = "label18";
        this.label18.Size = new System.Drawing.Size(51, 23);
        this.label18.TabIndex = 8;
        this.label18.Text = "D² [10]";
        // 
        // static6
        // 
        this.static6.Location = new System.Drawing.Point(8, 85);
        this.static6.Name = "static6";
        this.static6.Size = new System.Drawing.Size(51, 23);
        this.static6.TabIndex = 8;
        this.static6.Text = "D [80]";
        // 
        // static5
        // 
        this.static5.Location = new System.Drawing.Point(8, 62);
        this.static5.Name = "static5";
        this.static5.Size = new System.Drawing.Size(51, 23);
        this.static5.TabIndex = 8;
        this.static5.Text = "I [190]";
        // 
        // static4
        // 
        this.static4.Location = new System.Drawing.Point(8, 39);
        this.static4.Name = "static4";
        this.static4.Size = new System.Drawing.Size(51, 23);
        this.static4.TabIndex = 8;
        this.static4.Text = "P [130]";
        // 
        // textBoxi
        // 
        this.textBoxi.Location = new System.Drawing.Point(190, 36);
        this.textBoxi.Name = "textBoxi";
        this.textBoxi.Size = new System.Drawing.Size(50, 20);
        this.textBoxi.TabIndex = 3;
        this.toolTip1.SetToolTip(this.textBoxi, "P in hover mode: reacts to errors in angle");
        this.textBoxi.TextChanged += new System.EventHandler(this.TextBoxiTextChanged);
        // 
        // label19
        // 
        this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label19.Location = new System.Drawing.Point(266, 16);
        this.label19.Name = "label19";
        this.label19.Size = new System.Drawing.Size(63, 23);
        this.label19.TabIndex = 7;
        this.label19.Text = "Easy mode";
        // 
        // static3
        // 
        this.static3.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static3.Location = new System.Drawing.Point(190, 16);
        this.static3.Name = "static3";
        this.static3.Size = new System.Drawing.Size(74, 23);
        this.static3.TabIndex = 7;
        this.static3.Text = "New values";
        // 
        // labeli
        // 
        this.labeli.Location = new System.Drawing.Point(113, 39);
        this.labeli.Name = "labeli";
        this.labeli.Size = new System.Drawing.Size(50, 20);
        this.labeli.TabIndex = 0;
        this.labeli.Text = "---";
        // 
        // static7
        // 
        this.static7.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static7.Location = new System.Drawing.Point(8, 16);
        this.static7.Name = "static7";
        this.static7.Size = new System.Drawing.Size(107, 23);
        this.static7.TabIndex = 6;
        this.static7.Text = "Parameter [default]";
        // 
        // static2
        // 
        this.static2.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static2.Location = new System.Drawing.Point(113, 16);
        this.static2.Name = "static2";
        this.static2.Size = new System.Drawing.Size(79, 23);
        this.static2.TabIndex = 6;
        this.static2.Text = "Values in µC";
        // 
        // labelj
        // 
        this.labelj.Location = new System.Drawing.Point(113, 62);
        this.labelj.Name = "labelj";
        this.labelj.Size = new System.Drawing.Size(50, 20);
        this.labelj.TabIndex = 1;
        this.labelj.Text = "---";
        // 
        // textBoxz
        // 
        this.textBoxz.Location = new System.Drawing.Point(190, 106);
        this.textBoxz.Name = "textBoxz";
        this.textBoxz.Size = new System.Drawing.Size(50, 20);
        this.textBoxz.TabIndex = 5;
        this.toolTip1.SetToolTip(this.textBoxz, "D² in hover mode: reacts to errors in angular acceleration");
        this.textBoxz.TextChanged += new System.EventHandler(this.TextBoxkTextChanged);
        // 
        // textBoxk
        // 
        this.textBoxk.Location = new System.Drawing.Point(190, 82);
        this.textBoxk.Name = "textBoxk";
        this.textBoxk.Size = new System.Drawing.Size(50, 20);
        this.textBoxk.TabIndex = 5;
        this.toolTip1.SetToolTip(this.textBoxk, "D in hover mode: reacts to errors in angular velocity");
        this.textBoxk.TextChanged += new System.EventHandler(this.TextBoxkTextChanged);
        // 
        // labelz
        // 
        this.labelz.Location = new System.Drawing.Point(113, 109);
        this.labelz.Name = "labelz";
        this.labelz.Size = new System.Drawing.Size(50, 20);
        this.labelz.TabIndex = 2;
        this.labelz.Text = "---";
        // 
        // labelk
        // 
        this.labelk.Location = new System.Drawing.Point(113, 85);
        this.labelk.Name = "labelk";
        this.labelk.Size = new System.Drawing.Size(50, 20);
        this.labelk.TabIndex = 2;
        this.labelk.Text = "---";
        // 
        // textBoxj
        // 
        this.textBoxj.Location = new System.Drawing.Point(190, 59);
        this.textBoxj.Name = "textBoxj";
        this.textBoxj.Size = new System.Drawing.Size(50, 20);
        this.textBoxj.TabIndex = 4;
        this.toolTip1.SetToolTip(this.textBoxj, "I in hover mode: the sum of the error of the angle");
        this.textBoxj.TextChanged += new System.EventHandler(this.TextBoxjTextChanged);
        // 
        // tabPage5
        // 
        this.tabPage5.Controls.Add(this.groupBox15);
        this.tabPage5.Controls.Add(this.groupBox8);
        this.tabPage5.Controls.Add(this.groupBox7);
        this.tabPage5.Location = new System.Drawing.Point(4, 22);
        this.tabPage5.Name = "tabPage5";
        this.tabPage5.Size = new System.Drawing.Size(649, 366);
        this.tabPage5.TabIndex = 4;
        this.tabPage5.Text = "Miscellaneous";
        this.tabPage5.UseVisualStyleBackColor = true;
        // 
        // groupBox15
        // 
        this.groupBox15.Controls.Add(this.emergmask);
        this.groupBox15.Controls.Add(this.label41);
        this.groupBox15.Controls.Add(this.label40);
        this.groupBox15.Controls.Add(this.labelled2);
        this.groupBox15.Controls.Add(this.labelled1);
        this.groupBox15.Controls.Add(this.label37);
        this.groupBox15.Controls.Add(this.label38);
        this.groupBox15.Controls.Add(this.label39);
        this.groupBox15.Controls.Add(this.label36);
        this.groupBox15.Controls.Add(this.label35);
        this.groupBox15.Controls.Add(this.led2mask);
        this.groupBox15.Controls.Add(this.led1mask);
        this.groupBox15.Location = new System.Drawing.Point(15, 106);
        this.groupBox15.Name = "groupBox15";
        this.groupBox15.Size = new System.Drawing.Size(531, 188);
        this.groupBox15.TabIndex = 2;
        this.groupBox15.TabStop = false;
        this.groupBox15.Text = "Output LED Timing";
        // 
        // label41
        // 
        this.label41.Location = new System.Drawing.Point(152, 100);
        this.label41.Name = "label41";
        this.label41.Size = new System.Drawing.Size(50, 20);
        this.label41.TabIndex = 20;
        this.label41.Text = "---";
        // 
        // label40
        // 
        this.label40.AutoSize = true;
        this.label40.Location = new System.Drawing.Point(17, 100);
        this.label40.Name = "label40";
        this.label40.Size = new System.Drawing.Size(124, 13);
        this.label40.TabIndex = 19;
        this.label40.Text = "Emergency Pattern [170]";
        // 
        // labelled2
        // 
        this.labelled2.Location = new System.Drawing.Point(152, 74);
        this.labelled2.Name = "labelled2";
        this.labelled2.Size = new System.Drawing.Size(50, 20);
        this.labelled2.TabIndex = 18;
        this.labelled2.Text = "---";
        // 
        // labelled1
        // 
        this.labelled1.Location = new System.Drawing.Point(152, 48);
        this.labelled1.Name = "labelled1";
        this.labelled1.Size = new System.Drawing.Size(50, 20);
        this.labelled1.TabIndex = 17;
        this.labelled1.Text = "---";
        // 
        // label37
        // 
        this.label37.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label37.Location = new System.Drawing.Point(17, 25);
        this.label37.Name = "label37";
        this.label37.Size = new System.Drawing.Size(115, 13);
        this.label37.TabIndex = 15;
        this.label37.Text = "Parameter [default]";
        // 
        // label38
        // 
        this.label38.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label38.Location = new System.Drawing.Point(226, 25);
        this.label38.Name = "label38";
        this.label38.Size = new System.Drawing.Size(82, 13);
        this.label38.TabIndex = 16;
        this.label38.Text = "New values";
        // 
        // label39
        // 
        this.label39.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label39.Location = new System.Drawing.Point(138, 25);
        this.label39.Name = "label39";
        this.label39.Size = new System.Drawing.Size(82, 13);
        this.label39.TabIndex = 14;
        this.label39.Text = "Values in µC";
        // 
        // label36
        // 
        this.label36.AutoSize = true;
        this.label36.Location = new System.Drawing.Point(17, 74);
        this.label36.Name = "label36";
        this.label36.Size = new System.Drawing.Size(98, 13);
        this.label36.TabIndex = 3;
        this.label36.Text = "LED2 Pattern [207]";
        // 
        // label35
        // 
        this.label35.AutoSize = true;
        this.label35.Location = new System.Drawing.Point(17, 48);
        this.label35.Name = "label35";
        this.label35.Size = new System.Drawing.Size(98, 13);
        this.label35.TabIndex = 2;
        this.label35.Text = "LED1 Pattern [243]";
        // 
        // groupBox8
        // 
        this.groupBox8.Controls.Add(this.errorlabel);
        this.groupBox8.Controls.Add(this.label12);
        this.groupBox8.Controls.Add(this.static47);
        this.groupBox8.Location = new System.Drawing.Point(15, 300);
        this.groupBox8.Name = "groupBox8";
        this.groupBox8.Size = new System.Drawing.Size(531, 50);
        this.groupBox8.TabIndex = 1;
        this.groupBox8.TabStop = false;
        this.groupBox8.Text = "RC transmission";
        // 
        // errorlabel
        // 
        this.errorlabel.Location = new System.Drawing.Point(138, 20);
        this.errorlabel.Name = "errorlabel";
        this.errorlabel.Size = new System.Drawing.Size(47, 23);
        this.errorlabel.TabIndex = 1;
        this.errorlabel.Text = "0";
        // 
        // label12
        // 
        this.label12.ForeColor = System.Drawing.SystemColors.ControlDark;
        this.label12.Location = new System.Drawing.Point(191, 16);
        this.label12.Name = "label12";
        this.label12.Size = new System.Drawing.Size(340, 27);
        this.label12.TabIndex = 0;
        this.label12.Text = "Every tiny RX jitter will appear here. \r\nNo need to worry if the number stays bel" +
            "ow 50.";
        // 
        // static47
        // 
        this.static47.Location = new System.Drawing.Point(7, 20);
        this.static47.Name = "static47";
        this.static47.Size = new System.Drawing.Size(125, 23);
        this.static47.TabIndex = 0;
        this.static47.Text = "Nr. of receiver problems:";
        // 
        // groupBox7
        // 
        this.groupBox7.Controls.Add(this.voltagelevel);
        this.groupBox7.Controls.Add(this.progressBar1);
        this.groupBox7.Controls.Add(this.textBoxv);
        this.groupBox7.Controls.Add(this.labelv);
        this.groupBox7.Controls.Add(this.static44);
        this.groupBox7.Controls.Add(this.static41);
        this.groupBox7.Controls.Add(this.static43);
        this.groupBox7.Controls.Add(this.static42);
        this.groupBox7.Location = new System.Drawing.Point(15, 18);
        this.groupBox7.Name = "groupBox7";
        this.groupBox7.Size = new System.Drawing.Size(531, 82);
        this.groupBox7.TabIndex = 0;
        this.groupBox7.TabStop = false;
        this.groupBox7.Text = "Per-cell Voltage Warning";
        // 
        // voltagelevel
        // 
        this.voltagelevel.Location = new System.Drawing.Point(282, 52);
        this.voltagelevel.Name = "voltagelevel";
        this.voltagelevel.Size = new System.Drawing.Size(79, 20);
        this.voltagelevel.TabIndex = 18;
        this.voltagelevel.Text = "= 3.3 Volts";
        this.toolTip1.SetToolTip(this.voltagelevel, "Voltage in real units");
        // 
        // progressBar1
        // 
        this.progressBar1.Location = new System.Drawing.Point(367, 49);
        this.progressBar1.Maximum = 44;
        this.progressBar1.Name = "progressBar1";
        this.progressBar1.Size = new System.Drawing.Size(102, 20);
        this.progressBar1.Step = 1;
        this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
        this.progressBar1.TabIndex = 17;
        this.toolTip1.SetToolTip(this.progressBar1, "Voltage in real units");
        // 
        // textBoxv
        // 
        this.textBoxv.Location = new System.Drawing.Point(226, 49);
        this.textBoxv.Name = "textBoxv";
        this.textBoxv.Size = new System.Drawing.Size(50, 20);
        this.textBoxv.TabIndex = 16;
        this.toolTip1.SetToolTip(this.textBoxv, "LEDs will start blinking very fast when the voltage drops below a threshold");
        this.textBoxv.TextChanged += new System.EventHandler(this.TextBoxvTextChanged);
        // 
        // labelv
        // 
        this.labelv.Location = new System.Drawing.Point(152, 52);
        this.labelv.Name = "labelv";
        this.labelv.Size = new System.Drawing.Size(50, 20);
        this.labelv.TabIndex = 15;
        this.labelv.Text = "---";
        // 
        // static44
        // 
        this.static44.Location = new System.Drawing.Point(17, 52);
        this.static44.Name = "static44";
        this.static44.Size = new System.Drawing.Size(115, 23);
        this.static44.TabIndex = 14;
        this.static44.Text = "Voltage warning [33]";
        // 
        // static41
        // 
        this.static41.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static41.Location = new System.Drawing.Point(17, 25);
        this.static41.Name = "static41";
        this.static41.Size = new System.Drawing.Size(115, 23);
        this.static41.TabIndex = 12;
        this.static41.Text = "Parameter [default]";
        // 
        // static43
        // 
        this.static43.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static43.Location = new System.Drawing.Point(226, 25);
        this.static43.Name = "static43";
        this.static43.Size = new System.Drawing.Size(82, 23);
        this.static43.TabIndex = 13;
        this.static43.Text = "New values";
        // 
        // static42
        // 
        this.static42.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.static42.Location = new System.Drawing.Point(138, 25);
        this.static42.Name = "static42";
        this.static42.Size = new System.Drawing.Size(82, 23);
        this.static42.TabIndex = 11;
        this.static42.Text = "Values in µC";
        // 
        // tabPage4
        // 
        this.tabPage4.Controls.Add(this.static99);
        this.tabPage4.Controls.Add(this.Battery);
        this.tabPage4.Controls.Add(this.groupBox12);
        this.tabPage4.Controls.Add(this.groupBox11);
        this.tabPage4.Controls.Add(this.groupBox10);
        this.tabPage4.Controls.Add(this.groupBox9);
        this.tabPage4.Location = new System.Drawing.Point(4, 22);
        this.tabPage4.Name = "tabPage4";
        this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
        this.tabPage4.Size = new System.Drawing.Size(649, 366);
        this.tabPage4.TabIndex = 5;
        this.tabPage4.Text = "Realtime data";
        this.tabPage4.UseVisualStyleBackColor = true;
        // 
        // static99
        // 
        this.static99.Location = new System.Drawing.Point(56, 7);
        this.static99.Name = "static99";
        this.static99.Size = new System.Drawing.Size(468, 47);
        this.static99.TabIndex = 21;
        this.static99.Text = resources.GetString("static99.Text");
        // 
        // Battery
        // 
        this.Battery.Controls.Add(this.labelvolts);
        this.Battery.Controls.Add(this.pbVoltage);
        this.Battery.Location = new System.Drawing.Point(435, 216);
        this.Battery.Name = "Battery";
        this.Battery.Size = new System.Drawing.Size(134, 146);
        this.Battery.TabIndex = 20;
        this.Battery.TabStop = false;
        this.Battery.Text = "Battery voltage";
        // 
        // labelvolts
        // 
        this.labelvolts.Location = new System.Drawing.Point(6, 84);
        this.labelvolts.Name = "labelvolts";
        this.labelvolts.Size = new System.Drawing.Size(111, 23);
        this.labelvolts.TabIndex = 18;
        this.labelvolts.Text = "---";
        // 
        // pbVoltage
        // 
        this.pbVoltage.Location = new System.Drawing.Point(6, 58);
        this.pbVoltage.Maximum = 255;
        this.pbVoltage.Name = "pbVoltage";
        this.pbVoltage.Size = new System.Drawing.Size(122, 23);
        this.pbVoltage.Step = 1;
        this.pbVoltage.TabIndex = 16;
        // 
        // groupBox12
        // 
        this.groupBox12.Controls.Add(this.TrackBar7);
        this.groupBox12.Controls.Add(this.static58);
        this.groupBox12.Controls.Add(this.static55);
        this.groupBox12.Controls.Add(this.static61);
        this.groupBox12.Location = new System.Drawing.Point(435, 57);
        this.groupBox12.Name = "groupBox12";
        this.groupBox12.Size = new System.Drawing.Size(134, 153);
        this.groupBox12.TabIndex = 19;
        this.groupBox12.TabStop = false;
        this.groupBox12.Text = "Yaw";
        // 
        // TrackBar7
        // 
        this.TrackBar7.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar7.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar7.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar7.IndentHeight = 1;
        this.TrackBar7.IndentWidth = 1;
        this.TrackBar7.Location = new System.Drawing.Point(16, 66);
        this.TrackBar7.Maximum = 255;
        this.TrackBar7.Minimum = 0;
        this.TrackBar7.Name = "TrackBar7";
        this.TrackBar7.Orientation = System.Windows.Forms.Orientation.Horizontal;
        this.TrackBar7.Size = new System.Drawing.Size(100, 19);
        this.TrackBar7.TabIndex = 23;
        this.TrackBar7.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar7.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar7.TickFrequency = 128;
        this.TrackBar7.TickHeight = 1;
        this.TrackBar7.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar7.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar7.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar7.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar7.TrackLineHeight = 9;
        this.TrackBar7.Value = 126;
        // 
        // static58
        // 
        this.static58.Location = new System.Drawing.Point(20, 38);
        this.static58.Name = "static58";
        this.static58.Size = new System.Drawing.Size(55, 15);
        this.static58.TabIndex = 11;
        this.static58.Text = "left";
        // 
        // static55
        // 
        this.static55.Location = new System.Drawing.Point(20, 92);
        this.static55.Name = "static55";
        this.static55.Size = new System.Drawing.Size(93, 20);
        this.static55.TabIndex = 8;
        this.static55.Text = "Gyro yaw velocity";
        // 
        // static61
        // 
        this.static61.Location = new System.Drawing.Point(85, 38);
        this.static61.Name = "static61";
        this.static61.Size = new System.Drawing.Size(36, 15);
        this.static61.TabIndex = 11;
        this.static61.Text = "right";
        // 
        // groupBox11
        // 
        this.groupBox11.Controls.Add(this.TrackBar12);
        this.groupBox11.Controls.Add(this.TrackBar11);
        this.groupBox11.Controls.Add(this.TrackBar10);
        this.groupBox11.Controls.Add(this.panel2);
        this.groupBox11.Controls.Add(this.panel4);
        this.groupBox11.Controls.Add(this.panelRollCenter);
        this.groupBox11.Controls.Add(this.label15);
        this.groupBox11.Controls.Add(this.panel1);
        this.groupBox11.Controls.Add(this.label10);
        this.groupBox11.Controls.Add(this.label9);
        this.groupBox11.Controls.Add(this.label8);
        this.groupBox11.Controls.Add(this.label6);
        this.groupBox11.Controls.Add(this.label7);
        this.groupBox11.Controls.Add(this.label5);
        this.groupBox11.Controls.Add(this.label4);
        this.groupBox11.Controls.Add(this.label3);
        this.groupBox11.Controls.Add(this.label2);
        this.groupBox11.Controls.Add(this.label1);
        this.groupBox11.Controls.Add(this.TrackBar9);
        this.groupBox11.Controls.Add(this.TrackBar8);
        this.groupBox11.Location = new System.Drawing.Point(56, 216);
        this.groupBox11.Name = "groupBox11";
        this.groupBox11.Size = new System.Drawing.Size(350, 146);
        this.groupBox11.TabIndex = 17;
        this.groupBox11.TabStop = false;
        this.groupBox11.Text = "Transmitter";
        // 
        // TrackBar12
        // 
        this.TrackBar12.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar12.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar12.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar12.IndentHeight = 1;
        this.TrackBar12.IndentWidth = 1;
        this.TrackBar12.Location = new System.Drawing.Point(285, 39);
        this.TrackBar12.Maximum = 255;
        this.TrackBar12.Minimum = 0;
        this.TrackBar12.Name = "TrackBar12";
        this.TrackBar12.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.TrackBar12.Size = new System.Drawing.Size(19, 80);
        this.TrackBar12.TabIndex = 28;
        this.TrackBar12.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar12.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar12.TickFrequency = 128;
        this.TrackBar12.TickHeight = 1;
        this.TrackBar12.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar12.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar12.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar12.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar12.TrackLineHeight = 9;
        this.TrackBar12.Value = 0;
        // 
        // TrackBar11
        // 
        this.TrackBar11.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar11.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar11.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar11.IndentHeight = 1;
        this.TrackBar11.IndentWidth = 1;
        this.TrackBar11.Location = new System.Drawing.Point(96, 39);
        this.TrackBar11.Maximum = 255;
        this.TrackBar11.Minimum = 0;
        this.TrackBar11.Name = "TrackBar11";
        this.TrackBar11.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.TrackBar11.Size = new System.Drawing.Size(19, 80);
        this.TrackBar11.TabIndex = 27;
        this.TrackBar11.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar11.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar11.TickFrequency = 128;
        this.TrackBar11.TickHeight = 1;
        this.TrackBar11.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar11.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar11.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar11.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar11.TrackLineHeight = 9;
        this.TrackBar11.Value = 126;
        // 
        // TrackBar10
        // 
        this.TrackBar10.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar10.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar10.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar10.IndentHeight = 1;
        this.TrackBar10.IndentWidth = 1;
        this.TrackBar10.Location = new System.Drawing.Point(22, 37);
        this.TrackBar10.Maximum = 255;
        this.TrackBar10.Minimum = 0;
        this.TrackBar10.Name = "TrackBar10";
        this.TrackBar10.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.TrackBar10.Size = new System.Drawing.Size(19, 80);
        this.TrackBar10.TabIndex = 26;
        this.TrackBar10.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar10.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar10.TickFrequency = 128;
        this.TrackBar10.TickHeight = 1;
        this.TrackBar10.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar10.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar10.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar10.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar10.TrackLineHeight = 9;
        this.TrackBar10.Value = 0;
        // 
        // panel2
        // 
        this.panel2.BackColor = System.Drawing.Color.Green;
        this.panel2.Location = new System.Drawing.Point(43, 105);
        this.panel2.Name = "panel2";
        this.panel2.Size = new System.Drawing.Size(10, 10);
        this.panel2.TabIndex = 23;
        // 
        // panel4
        // 
        this.panel4.BackColor = System.Drawing.Color.Green;
        this.panel4.Location = new System.Drawing.Point(192, 92);
        this.panel4.Name = "panel4";
        this.panel4.Size = new System.Drawing.Size(10, 10);
        this.panel4.TabIndex = 23;
        // 
        // panelRollCenter
        // 
        this.panelRollCenter.BackColor = System.Drawing.Color.Green;
        this.panelRollCenter.Location = new System.Drawing.Point(192, 56);
        this.panelRollCenter.Name = "panelRollCenter";
        this.panelRollCenter.Size = new System.Drawing.Size(10, 10);
        this.panelRollCenter.TabIndex = 23;
        // 
        // label15
        // 
        this.label15.Location = new System.Drawing.Point(277, 21);
        this.label15.Name = "label15";
        this.label15.Size = new System.Drawing.Size(40, 18);
        this.label15.TabIndex = 24;
        this.label15.Text = "Hover";
        // 
        // panel1
        // 
        this.panel1.BackColor = System.Drawing.Color.Green;
        this.panel1.Location = new System.Drawing.Point(85, 74);
        this.panel1.Name = "panel1";
        this.panel1.Size = new System.Drawing.Size(10, 10);
        this.panel1.TabIndex = 22;
        // 
        // label10
        // 
        this.label10.Location = new System.Drawing.Point(274, 123);
        this.label10.Name = "label10";
        this.label10.Size = new System.Drawing.Size(50, 15);
        this.label10.TabIndex = 12;
        this.label10.Text = "Mot. off";
        // 
        // label9
        // 
        this.label9.Location = new System.Drawing.Point(306, 72);
        this.label9.Name = "label9";
        this.label9.Size = new System.Drawing.Size(32, 18);
        this.label9.TabIndex = 12;
        this.label9.Text = "-Acro";
        // 
        // label8
        // 
        this.label8.Location = new System.Drawing.Point(200, 123);
        this.label8.Name = "label8";
        this.label8.Size = new System.Drawing.Size(55, 15);
        this.label8.TabIndex = 11;
        this.label8.Text = "Yaw right";
        // 
        // label6
        // 
        this.label6.Location = new System.Drawing.Point(203, 21);
        this.label6.Name = "label6";
        this.label6.Size = new System.Drawing.Size(50, 15);
        this.label6.TabIndex = 11;
        this.label6.Text = "Roll right";
        // 
        // label7
        // 
        this.label7.Location = new System.Drawing.Point(144, 123);
        this.label7.Name = "label7";
        this.label7.Size = new System.Drawing.Size(50, 15);
        this.label7.TabIndex = 10;
        this.label7.Text = "Yaw left";
        // 
        // label5
        // 
        this.label5.Location = new System.Drawing.Point(144, 21);
        this.label5.Name = "label5";
        this.label5.Size = new System.Drawing.Size(50, 15);
        this.label5.TabIndex = 10;
        this.label5.Text = "Roll left";
        // 
        // label4
        // 
        this.label4.Location = new System.Drawing.Point(60, 123);
        this.label4.Name = "label4";
        this.label4.Size = new System.Drawing.Size(80, 15);
        this.label4.TabIndex = 9;
        this.label4.Text = "Nick backward";
        // 
        // label3
        // 
        this.label3.Location = new System.Drawing.Point(66, 21);
        this.label3.Name = "label3";
        this.label3.Size = new System.Drawing.Size(70, 15);
        this.label3.TabIndex = 9;
        this.label3.Text = "Nick forward";
        // 
        // label2
        // 
        this.label2.Location = new System.Drawing.Point(18, 123);
        this.label2.Name = "label2";
        this.label2.Size = new System.Drawing.Size(34, 15);
        this.label2.TabIndex = 8;
        this.label2.Text = "Idle";
        // 
        // label1
        // 
        this.label1.Location = new System.Drawing.Point(4, 21);
        this.label1.Name = "label1";
        this.label1.Size = new System.Drawing.Size(65, 15);
        this.label1.TabIndex = 7;
        this.label1.Text = "Full throttle";
        // 
        // TrackBar9
        // 
        this.TrackBar9.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar9.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar9.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar9.IndentHeight = 1;
        this.TrackBar9.IndentWidth = 1;
        this.TrackBar9.Location = new System.Drawing.Point(146, 101);
        this.TrackBar9.Maximum = 255;
        this.TrackBar9.Minimum = 0;
        this.TrackBar9.Name = "TrackBar9";
        this.TrackBar9.Orientation = System.Windows.Forms.Orientation.Horizontal;
        this.TrackBar9.Size = new System.Drawing.Size(100, 19);
        this.TrackBar9.TabIndex = 25;
        this.TrackBar9.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar9.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar9.TickFrequency = 128;
        this.TrackBar9.TickHeight = 1;
        this.TrackBar9.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar9.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar9.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar9.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar9.TrackLineHeight = 9;
        this.TrackBar9.Value = 126;
        // 
        // TrackBar8
        // 
        this.TrackBar8.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar8.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar8.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar8.IndentHeight = 1;
        this.TrackBar8.IndentWidth = 1;
        this.TrackBar8.Location = new System.Drawing.Point(146, 38);
        this.TrackBar8.Maximum = 255;
        this.TrackBar8.Minimum = 0;
        this.TrackBar8.Name = "TrackBar8";
        this.TrackBar8.Orientation = System.Windows.Forms.Orientation.Horizontal;
        this.TrackBar8.Size = new System.Drawing.Size(100, 19);
        this.TrackBar8.TabIndex = 25;
        this.TrackBar8.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar8.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar8.TickFrequency = 128;
        this.TrackBar8.TickHeight = 1;
        this.TrackBar8.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar8.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar8.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar8.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar8.TrackLineHeight = 9;
        this.TrackBar8.Value = 126;
        // 
        // groupBox10
        // 
        this.groupBox10.Controls.Add(this.TrackBar6);
        this.groupBox10.Controls.Add(this.TrackBar5);
        this.groupBox10.Controls.Add(this.TrackBar4);
        this.groupBox10.Controls.Add(this.static54);
        this.groupBox10.Controls.Add(this.static53);
        this.groupBox10.Controls.Add(this.staic59);
        this.groupBox10.Controls.Add(this.static60);
        this.groupBox10.Controls.Add(this.static52);
        this.groupBox10.Location = new System.Drawing.Point(271, 57);
        this.groupBox10.Name = "groupBox10";
        this.groupBox10.Size = new System.Drawing.Size(135, 153);
        this.groupBox10.TabIndex = 10;
        this.groupBox10.TabStop = false;
        this.groupBox10.Text = "Nick";
        // 
        // TrackBar6
        // 
        this.TrackBar6.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar6.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar6.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar6.IndentHeight = 1;
        this.TrackBar6.IndentWidth = 1;
        this.TrackBar6.Location = new System.Drawing.Point(54, 19);
        this.TrackBar6.Maximum = 255;
        this.TrackBar6.Minimum = 0;
        this.TrackBar6.Name = "TrackBar6";
        this.TrackBar6.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.TrackBar6.Size = new System.Drawing.Size(19, 100);
        this.TrackBar6.TabIndex = 26;
        this.TrackBar6.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar6.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar6.TickFrequency = 128;
        this.TrackBar6.TickHeight = 1;
        this.TrackBar6.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar6.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar6.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar6.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar6.TrackLineHeight = 9;
        this.TrackBar6.Value = 126;
        // 
        // TrackBar5
        // 
        this.TrackBar5.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar5.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar5.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar5.IndentHeight = 1;
        this.TrackBar5.IndentWidth = 1;
        this.TrackBar5.Location = new System.Drawing.Point(30, 19);
        this.TrackBar5.Maximum = 255;
        this.TrackBar5.Minimum = 0;
        this.TrackBar5.Name = "TrackBar5";
        this.TrackBar5.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.TrackBar5.Size = new System.Drawing.Size(19, 100);
        this.TrackBar5.TabIndex = 25;
        this.TrackBar5.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar5.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar5.TickFrequency = 128;
        this.TrackBar5.TickHeight = 1;
        this.TrackBar5.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar5.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar5.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar5.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar5.TrackLineHeight = 9;
        this.TrackBar5.Value = 126;
        // 
        // TrackBar4
        // 
        this.TrackBar4.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar4.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar4.IndentHeight = 1;
        this.TrackBar4.IndentWidth = 1;
        this.TrackBar4.Location = new System.Drawing.Point(6, 19);
        this.TrackBar4.Maximum = 255;
        this.TrackBar4.Minimum = 0;
        this.TrackBar4.Name = "TrackBar4";
        this.TrackBar4.Orientation = System.Windows.Forms.Orientation.Vertical;
        this.TrackBar4.Size = new System.Drawing.Size(19, 100);
        this.TrackBar4.TabIndex = 24;
        this.TrackBar4.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar4.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar4.TickFrequency = 128;
        this.TrackBar4.TickHeight = 1;
        this.TrackBar4.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar4.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar4.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar4.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar4.TrackLineHeight = 9;
        this.TrackBar4.Value = 126;
        // 
        // static54
        // 
        this.static54.Location = new System.Drawing.Point(58, 123);
        this.static54.Name = "static54";
        this.static54.Size = new System.Drawing.Size(41, 20);
        this.static54.TabIndex = 8;
        this.static54.Text = "Acc(a)";
        // 
        // static53
        // 
        this.static53.Location = new System.Drawing.Point(29, 123);
        this.static53.Name = "static53";
        this.static53.Size = new System.Drawing.Size(36, 20);
        this.static53.TabIndex = 8;
        this.static53.Text = "Gy(a)";
        // 
        // staic59
        // 
        this.staic59.Location = new System.Drawing.Point(74, 99);
        this.staic59.Name = "staic59";
        this.staic59.Size = new System.Drawing.Size(55, 15);
        this.staic59.TabIndex = 11;
        this.staic59.Text = "backward";
        // 
        // static60
        // 
        this.static60.Location = new System.Drawing.Point(74, 23);
        this.static60.Name = "static60";
        this.static60.Size = new System.Drawing.Size(55, 15);
        this.static60.TabIndex = 11;
        this.static60.Text = "forward";
        // 
        // static52
        // 
        this.static52.Location = new System.Drawing.Point(0, 123);
        this.static52.Name = "static52";
        this.static52.Size = new System.Drawing.Size(34, 23);
        this.static52.TabIndex = 8;
        this.static52.Text = "Gy(v)";
        // 
        // groupBox9
        // 
        this.groupBox9.Controls.Add(this.TrackBar3);
        this.groupBox9.Controls.Add(this.TrackBar2);
        this.groupBox9.Controls.Add(this.static51);
        this.groupBox9.Controls.Add(this.TrackBar1);
        this.groupBox9.Controls.Add(this.static49);
        this.groupBox9.Controls.Add(this.static57);
        this.groupBox9.Controls.Add(this.static50);
        this.groupBox9.Controls.Add(this.static56);
        this.groupBox9.Location = new System.Drawing.Point(56, 57);
        this.groupBox9.Name = "groupBox9";
        this.groupBox9.Size = new System.Drawing.Size(187, 153);
        this.groupBox9.TabIndex = 9;
        this.groupBox9.TabStop = false;
        this.groupBox9.Text = "Roll";
        // 
        // TrackBar3
        // 
        this.TrackBar3.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar3.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar3.IndentHeight = 1;
        this.TrackBar3.IndentWidth = 1;
        this.TrackBar3.Location = new System.Drawing.Point(6, 93);
        this.TrackBar3.Maximum = 255;
        this.TrackBar3.Minimum = 0;
        this.TrackBar3.Name = "TrackBar3";
        this.TrackBar3.Orientation = System.Windows.Forms.Orientation.Horizontal;
        this.TrackBar3.Size = new System.Drawing.Size(100, 19);
        this.TrackBar3.TabIndex = 23;
        this.TrackBar3.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar3.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar3.TickFrequency = 128;
        this.TrackBar3.TickHeight = 1;
        this.TrackBar3.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar3.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar3.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar3.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar3.TrackLineHeight = 9;
        this.TrackBar3.Value = 126;
        // 
        // TrackBar2
        // 
        this.TrackBar2.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar2.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar2.IndentHeight = 1;
        this.TrackBar2.IndentWidth = 1;
        this.TrackBar2.Location = new System.Drawing.Point(6, 66);
        this.TrackBar2.Maximum = 255;
        this.TrackBar2.Minimum = 0;
        this.TrackBar2.Name = "TrackBar2";
        this.TrackBar2.Orientation = System.Windows.Forms.Orientation.Horizontal;
        this.TrackBar2.Size = new System.Drawing.Size(100, 19);
        this.TrackBar2.TabIndex = 22;
        this.TrackBar2.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar2.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar2.TickFrequency = 128;
        this.TrackBar2.TickHeight = 1;
        this.TrackBar2.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar2.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar2.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar2.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar2.TrackLineHeight = 9;
        this.TrackBar2.Value = 126;
        // 
        // static51
        // 
        this.static51.Location = new System.Drawing.Point(112, 96);
        this.static51.Name = "static51";
        this.static51.Size = new System.Drawing.Size(68, 20);
        this.static51.TabIndex = 8;
        this.static51.Text = "Acc angle";
        // 
        // TrackBar1
        // 
        this.TrackBar1.BackColor = System.Drawing.Color.Transparent;
        this.TrackBar1.BorderColor = System.Drawing.SystemColors.ActiveBorder;
        this.TrackBar1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.TrackBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(123)))), ((int)(((byte)(125)))), ((int)(((byte)(123)))));
        this.TrackBar1.IndentHeight = 1;
        this.TrackBar1.IndentWidth = 1;
        this.TrackBar1.Location = new System.Drawing.Point(6, 39);
        this.TrackBar1.Maximum = 255;
        this.TrackBar1.Minimum = 0;
        this.TrackBar1.Name = "TrackBar1";
        this.TrackBar1.Orientation = System.Windows.Forms.Orientation.Horizontal;
        this.TrackBar1.Size = new System.Drawing.Size(100, 19);
        this.TrackBar1.TabIndex = 22;
        this.TrackBar1.TextTickStyle = System.Windows.Forms.TickStyle.None;
        this.TrackBar1.TickColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(146)))), ((int)(((byte)(148)))));
        this.TrackBar1.TickFrequency = 128;
        this.TrackBar1.TickHeight = 1;
        this.TrackBar1.TickStyle = System.Windows.Forms.TickStyle.Both;
        this.TrackBar1.TrackerColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
        this.TrackBar1.TrackerSize = new System.Drawing.Size(13, 13);
        this.TrackBar1.TrackLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(93)))), ((int)(((byte)(90)))));
        this.TrackBar1.TrackLineHeight = 9;
        this.TrackBar1.Value = 126;
        // 
        // static49
        // 
        this.static49.Location = new System.Drawing.Point(112, 42);
        this.static49.Name = "static49";
        this.static49.Size = new System.Drawing.Size(68, 20);
        this.static49.TabIndex = 8;
        this.static49.Text = "Gyro velocity";
        // 
        // static57
        // 
        this.static57.Location = new System.Drawing.Point(79, 21);
        this.static57.Name = "static57";
        this.static57.Size = new System.Drawing.Size(55, 15);
        this.static57.TabIndex = 11;
        this.static57.Text = "right";
        // 
        // static50
        // 
        this.static50.Location = new System.Drawing.Point(112, 69);
        this.static50.Name = "static50";
        this.static50.Size = new System.Drawing.Size(68, 20);
        this.static50.TabIndex = 8;
        this.static50.Text = "Gyro angle";
        // 
        // static56
        // 
        this.static56.Location = new System.Drawing.Point(6, 21);
        this.static56.Name = "static56";
        this.static56.Size = new System.Drawing.Size(55, 15);
        this.static56.TabIndex = 11;
        this.static56.Text = "left";
        // 
        // tabPage6
        // 
        this.tabPage6.Controls.Add(this.groupBox13);
        this.tabPage6.Controls.Add(this.avrdudeout);
        this.tabPage6.Location = new System.Drawing.Point(4, 22);
        this.tabPage6.Name = "tabPage6";
        this.tabPage6.Size = new System.Drawing.Size(649, 366);
        this.tabPage6.TabIndex = 6;
        this.tabPage6.Text = "Firmware update";
        this.tabPage6.UseVisualStyleBackColor = true;
        // 
        // groupBox13
        // 
        this.groupBox13.Controls.Add(this.label13);
        this.groupBox13.Controls.Add(this.flash);
        this.groupBox13.Controls.Add(this.progressBar4);
        this.groupBox13.Controls.Add(this.showavrout);
        this.groupBox13.Location = new System.Drawing.Point(12, 30);
        this.groupBox13.Name = "groupBox13";
        this.groupBox13.Size = new System.Drawing.Size(623, 107);
        this.groupBox13.TabIndex = 4;
        this.groupBox13.TabStop = false;
        this.groupBox13.Text = "Update firmware";
        // 
        // label13
        // 
        this.label13.Location = new System.Drawing.Point(491, 36);
        this.label13.Name = "label13";
        this.label13.Size = new System.Drawing.Size(100, 15);
        this.label13.TabIndex = 4;
        this.label13.Text = "---";
        this.label13.TextAlign = System.Drawing.ContentAlignment.BottomRight;
        // 
        // flash
        // 
        this.flash.Location = new System.Drawing.Point(26, 32);
        this.flash.Name = "flash";
        this.flash.Size = new System.Drawing.Size(137, 23);
        this.flash.TabIndex = 0;
        this.flash.Text = "Flash new firmware";
        this.flash.UseVisualStyleBackColor = true;
        this.flash.Click += new System.EventHandler(this.FlashClick);
        // 
        // progressBar4
        // 
        this.progressBar4.Location = new System.Drawing.Point(26, 61);
        this.progressBar4.Maximum = 5;
        this.progressBar4.Name = "progressBar4";
        this.progressBar4.Size = new System.Drawing.Size(565, 23);
        this.progressBar4.Step = 1;
        this.progressBar4.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
        this.progressBar4.TabIndex = 2;
        // 
        // showavrout
        // 
        this.showavrout.Location = new System.Drawing.Point(169, 32);
        this.showavrout.Name = "showavrout";
        this.showavrout.Size = new System.Drawing.Size(104, 24);
        this.showavrout.TabIndex = 3;
        this.showavrout.Text = "Show output";
        this.showavrout.UseVisualStyleBackColor = true;
        this.showavrout.CheckedChanged += new System.EventHandler(this.ShowavroutCheckedChanged);
        // 
        // avrdudeout
        // 
        this.avrdudeout.Location = new System.Drawing.Point(12, 161);
        this.avrdudeout.Multiline = true;
        this.avrdudeout.Name = "avrdudeout";
        this.avrdudeout.ReadOnly = true;
        this.avrdudeout.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
        this.avrdudeout.Size = new System.Drawing.Size(623, 202);
        this.avrdudeout.TabIndex = 1;
        this.avrdudeout.Visible = false;
        // 
        // serialPort
        // 
        this.serialPort.BaudRate = 38400;
        this.serialPort.PortName = "COM5";
        this.serialPort.ReadTimeout = 1000;
        // 
        // timer1
        // 
        this.timer1.Interval = 50;
        this.timer1.Tick += new System.EventHandler(this.Timer1Tick);
        // 
        // pictureBox1
        // 
        this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
        this.pictureBox1.ErrorImage = null;
        this.pictureBox1.InitialImage = null;
        this.pictureBox1.Location = new System.Drawing.Point(0, 0);
        this.pictureBox1.Name = "pictureBox1";
        this.pictureBox1.Size = new System.Drawing.Size(681, 50);
        this.pictureBox1.TabIndex = 6;
        this.pictureBox1.TabStop = false;
        // 
        // statusStrip1
        // 
        this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStatusLabel});
        this.statusStrip1.Location = new System.Drawing.Point(0, 480);
        this.statusStrip1.Name = "statusStrip1";
        this.statusStrip1.Size = new System.Drawing.Size(681, 22);
        this.statusStrip1.SizingGrip = false;
        this.statusStrip1.TabIndex = 7;
        this.statusStrip1.Text = "statusStrip1";
        // 
        // toolStatusLabel
        // 
        this.toolStatusLabel.Name = "toolStatusLabel";
        this.toolStatusLabel.Size = new System.Drawing.Size(77, 17);
        this.toolStatusLabel.Text = "Not connected";
        // 
        // timersens
        // 
        this.timersens.Interval = 75;
        this.timersens.Tick += new System.EventHandler(this.TimersensTick);
        // 
        // openFileDialog1
        // 
        this.openFileDialog1.DefaultExt = "shr";
        this.openFileDialog1.Filter = "Shrediquette configurations|*.shr";
        this.openFileDialog1.Title = "Load settings from file and transfer to µC";
        // 
        // saveFileDialog1
        // 
        this.saveFileDialog1.DefaultExt = "shr";
        this.saveFileDialog1.Filter = "Shrediquette configurations|*.shr";
        this.saveFileDialog1.Title = "Save Shrediquette configuration file";
        // 
        // pingshrediquette
        // 
        this.pingshrediquette.Interval = 550;
        this.pingshrediquette.Tick += new System.EventHandler(this.PingshrediquetteTick);
        // 
        // label11
        // 
        this.label11.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label11.Location = new System.Drawing.Point(536, 53);
        this.label11.Name = "label11";
        this.label11.Size = new System.Drawing.Size(96, 26);
        this.label11.TabIndex = 8;
        this.label11.Text = "v 1.2";
        this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
        // 
        // startupdelay
        // 
        this.startupdelay.Interval = 500;
        this.startupdelay.Tick += new System.EventHandler(this.startupdelayTick);
        // 
        // linkLabel2
        // 
        this.linkLabel2.Location = new System.Drawing.Point(474, 454);
        this.linkLabel2.Name = "linkLabel2";
        this.linkLabel2.Size = new System.Drawing.Size(195, 25);
        this.linkLabel2.TabIndex = 9;
        this.linkLabel2.TabStop = true;
        this.linkLabel2.Text = "http://shrediquette.blogspot.com";
        this.linkLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
        this.linkLabel2.VisitedLinkColor = System.Drawing.Color.Navy;
        this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel2LinkClicked);
        // 
        // label17
        // 
        this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.label17.Location = new System.Drawing.Point(12, 456);
        this.label17.Name = "label17";
        this.label17.Size = new System.Drawing.Size(432, 23);
        this.label17.TabIndex = 10;
        this.label17.Text = "Any change has to be written to the tricopter manually (click \"Write all paramete" +
            "rs to µC\")";
        this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
        // 
        // lbch1
        // 
        this.lbch1.AutoSize = true;
        this.lbch1.Location = new System.Drawing.Point(10, 160);
        this.lbch1.Name = "lbch1";
        this.lbch1.Size = new System.Drawing.Size(25, 13);
        this.lbch1.TabIndex = 41;
        this.lbch1.Text = "000";
        this.lbch1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
        // 
        // lbch2
        // 
        this.lbch2.AutoSize = true;
        this.lbch2.Location = new System.Drawing.Point(35, 160);
        this.lbch2.Name = "lbch2";
        this.lbch2.Size = new System.Drawing.Size(25, 13);
        this.lbch2.TabIndex = 42;
        this.lbch2.Text = "000";
        this.lbch2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
        // 
        // lbch3
        // 
        this.lbch3.AutoSize = true;
        this.lbch3.Location = new System.Drawing.Point(60, 160);
        this.lbch3.Name = "lbch3";
        this.lbch3.Size = new System.Drawing.Size(25, 13);
        this.lbch3.TabIndex = 43;
        this.lbch3.Text = "000";
        this.lbch3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
        // 
        // lbch4
        // 
        this.lbch4.AutoSize = true;
        this.lbch4.Location = new System.Drawing.Point(85, 160);
        this.lbch4.Name = "lbch4";
        this.lbch4.Size = new System.Drawing.Size(25, 13);
        this.lbch4.TabIndex = 44;
        this.lbch4.Text = "000";
        this.lbch4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
        // 
        // lbch5
        // 
        this.lbch5.AutoSize = true;
        this.lbch5.Location = new System.Drawing.Point(110, 160);
        this.lbch5.Name = "lbch5";
        this.lbch5.Size = new System.Drawing.Size(25, 13);
        this.lbch5.TabIndex = 45;
        this.lbch5.Text = "000";
        this.lbch5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
        // 
        // lbch6
        // 
        this.lbch6.AutoSize = true;
        this.lbch6.Location = new System.Drawing.Point(135, 160);
        this.lbch6.Name = "lbch6";
        this.lbch6.Size = new System.Drawing.Size(25, 13);
        this.lbch6.TabIndex = 46;
        this.lbch6.Text = "000";
        this.lbch6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
        // 
        // lbch7
        // 
        this.lbch7.AutoSize = true;
        this.lbch7.Location = new System.Drawing.Point(160, 160);
        this.lbch7.Name = "lbch7";
        this.lbch7.Size = new System.Drawing.Size(25, 13);
        this.lbch7.TabIndex = 47;
        this.lbch7.Text = "000";
        this.lbch7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
        // 
        // lbch8
        // 
        this.lbch8.AutoSize = true;
        this.lbch8.Location = new System.Drawing.Point(185, 160);
        this.lbch8.Name = "lbch8";
        this.lbch8.Size = new System.Drawing.Size(25, 13);
        this.lbch8.TabIndex = 48;
        this.lbch8.Text = "000";
        this.lbch8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
        // 
        // label42
        // 
        label42.Location = new System.Drawing.Point(10, 186);
        label42.Name = "label42";
        label42.Size = new System.Drawing.Size(200, 58);
        label42.TabIndex = 49;
        label42.Text = "Use trim function on your transmitter to make sure all channels that are centered" +
            " show as \"0\" for their value, as well as reverse any channels if needed.";
        // 
        // emergmask
        // 
        this.emergmask.Location = new System.Drawing.Point(226, 100);
        this.emergmask.Name = "emergmask";
        this.emergmask.Size = new System.Drawing.Size(175, 20);
        this.emergmask.TabIndex = 21;
        this.emergmask.Value = ((byte)(0));
        // 
        // led2mask
        // 
        this.led2mask.Location = new System.Drawing.Point(226, 74);
        this.led2mask.Name = "led2mask";
        this.led2mask.Size = new System.Drawing.Size(175, 20);
        this.led2mask.TabIndex = 1;
        this.led2mask.Value = ((byte)(0));
        // 
        // led1mask
        // 
        this.led1mask.Location = new System.Drawing.Point(226, 48);
        this.led1mask.Name = "led1mask";
        this.led1mask.Size = new System.Drawing.Size(175, 20);
        this.led1mask.TabIndex = 0;
        this.led1mask.Value = ((byte)(0));
        this.led1mask.OnChange += new TriGUI_v11.BitMask.Changed(this.OnLedMaskChange);
        // 
        // MainForm
        // 
        this.ClientSize = new System.Drawing.Size(681, 502);
        this.Controls.Add(this.label17);
        this.Controls.Add(this.linkLabel2);
        this.Controls.Add(this.label11);
        this.Controls.Add(this.statusStrip1);
        this.Controls.Add(this.tabControl);
        this.Controls.Add(this.pictureBox1);
        this.MaximizeBox = false;
        this.Name = "MainForm";
        this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
        this.Text = "TriGUI v1.2 by William Thielicke ([email protected])";
        this.Shown += new System.EventHandler(this.FormShown);
        this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.schliessen);
        this.tabControl.ResumeLayout(false);
        this.tabPage1.ResumeLayout(false);
        this.RxD.ResumeLayout(false);
        this.RxD.PerformLayout();
        ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
        this.tabPage2.ResumeLayout(false);
        this.groupBox14.ResumeLayout(false);
        this.groupBox14.PerformLayout();
        this.groupBox2.ResumeLayout(false);
        this.groupBox2.PerformLayout();
        this.tabPage3.ResumeLayout(false);
        this.groupBox6.ResumeLayout(false);
        this.groupBox6.PerformLayout();
        this.groupBox5.ResumeLayout(false);
        this.groupBox5.PerformLayout();
        ((System.ComponentModel.ISupportInitialize)(this.trackBar15)).EndInit();
        this.groupBox4.ResumeLayout(false);
        this.groupBox3.ResumeLayout(false);
        this.groupBox3.PerformLayout();
        ((System.ComponentModel.ISupportInitialize)(this.trackBar14)).EndInit();
        this.groupBox1.ResumeLayout(false);
        this.groupBox1.PerformLayout();
        ((System.ComponentModel.ISupportInitialize)(this.trackBar13)).EndInit();
        this.tabPage5.ResumeLayout(false);
        this.groupBox15.ResumeLayout(false);
        this.groupBox15.PerformLayout();
        this.groupBox8.ResumeLayout(false);
        this.groupBox7.ResumeLayout(false);
        this.groupBox7.PerformLayout();
        this.tabPage4.ResumeLayout(false);
        this.Battery.ResumeLayout(false);
        this.groupBox12.ResumeLayout(false);
        this.groupBox11.ResumeLayout(false);
        this.groupBox10.ResumeLayout(false);
        this.groupBox9.ResumeLayout(false);
        this.tabPage6.ResumeLayout(false);
        this.tabPage6.PerformLayout();
        this.groupBox13.ResumeLayout(false);
        ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
        this.statusStrip1.ResumeLayout(false);
        this.statusStrip1.PerformLayout();
        this.ResumeLayout(false);
        this.PerformLayout();

    }
コード例 #42
0
        /// <summary>
        /// Updates the options display.
        /// </summary>
        public void UpdateOptionsDisplay()
        {
            CheckDisposed();

            m_insertPanel.SuspendLayout();
            SuspendLayout();
            foreach (Control c in m_insertPanel.Controls.Cast <Control>().ToArray())
            {
                c.Dispose();
            }
            bool displayingOpts = false;

            foreach (Tuple <object, Func <object, bool>, Func <IEnumerable <object> > > opt in m_options)
            {
                if (opt.Item2 == null || opt.Item2(opt.Item1))
                {
                    var linkLabel = new LinkLabel {
                        AutoSize = true, Font = new Font(MiscUtils.StandardSansSerif, 10), TabStop = true, VisitedLinkColor = Color.Blue
                    };
                    linkLabel.LinkClicked += link_LinkClicked;
                    if (opt.Item3 != null)
                    {
                        object[] options = opt.Item3().ToArray();
                        var      sb      = new StringBuilder();
                        for (int i = 0; i < options.Length; i++)
                        {
                            sb.Append(options[i]);
                            if (i < options.Length - 1)
                            {
                                sb.Append(" ");
                            }
                        }
                        linkLabel.Text = sb.ToString();

                        linkLabel.Links.Clear();
                        int start = 0;
                        foreach (int option in options)
                        {
                            int            len  = Convert.ToString(option).Length;
                            LinkLabel.Link link = linkLabel.Links.Add(start, len, opt.Item1);
                            // use the tag property to store the index for this link
                            link.Tag = option;
                            start   += len + 1;
                        }
                    }
                    else
                    {
                        linkLabel.Text = opt.Item1.ToString();
                        linkLabel.Links[0].LinkData = opt.Item1;
                    }

                    m_insertPanel.Controls.Add(linkLabel);
                    displayingOpts = true;
                }
            }

            if (!displayingOpts && m_noOptsMsg != null)
            {
                string text = m_noOptsMsg();
                if (text != null)
                {
                    m_msgLabel = new GrowLabel {
                        Font = new Font(MiscUtils.StandardSansSerif, 10), Text = text, Width = m_insertPanel.ClientSize.Width
                    };
                    m_insertPanel.Controls.Add(m_msgLabel);
                }
            }
            else
            {
                m_msgLabel = null;
            }

            m_insertPanel.ResumeLayout(false);
            m_insertPanel.PerformLayout();
            ResumeLayout(false);

            Height = m_insertPanel.PreferredSize.Height;
        }
コード例 #43
0
	private void ChangeTextMethod(LinkLabel l, string text) {
		l.Text = text;
	}
コード例 #44
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.okButton    = new System.Windows.Forms.Button();
     this.label1      = new System.Windows.Forms.Label();
     this.label2      = new System.Windows.Forms.Label();
     this.mailLabel   = new System.Windows.Forms.LinkLabel();
     this.aforgeLabel = new System.Windows.Forms.LinkLabel();
     this.label3      = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(12, 127);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(435, 10);
     this.pictureBox1.TabIndex    = 10;
     this.pictureBox1.TabStop     = false;
     this.pictureBox1.Click      += new System.EventHandler(this.pictureBox1_Click);
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location     = new System.Drawing.Point(196, 148);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 11;
     this.okButton.Text         = "Ok";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(131, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(212, 24);
     this.label1.TabIndex  = 12;
     this.label1.Text      = "About the Frame Difference";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.label1.Click    += new System.EventHandler(this.label1_Click);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(128, 33);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(215, 16);
     this.label2.TabIndex  = 13;
     this.label2.Text      = "Copyright 2015, Songyuan Ji & Yin Zhang";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.label2.Click    += new System.EventHandler(this.label2_Click);
     //
     // mailLabel
     //
     this.mailLabel.ActiveLinkColor = System.Drawing.Color.MediumBlue;
     this.mailLabel.LinkColor       = System.Drawing.Color.MediumBlue;
     this.mailLabel.Location        = new System.Drawing.Point(143, 49);
     this.mailLabel.Name            = "mailLabel";
     this.mailLabel.Size            = new System.Drawing.Size(189, 23);
     this.mailLabel.TabIndex        = 14;
     this.mailLabel.TabStop         = true;
     this.mailLabel.Text            = "[email protected] & [email protected]";
     this.mailLabel.TextAlign       = System.Drawing.ContentAlignment.TopCenter;
     this.mailLabel.LinkClicked    += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.mailLabel_LinkClicked);
     //
     // aforgeLabel
     //
     this.aforgeLabel.AutoSize = true;
     this.aforgeLabel.Location = new System.Drawing.Point(12, 108);
     this.aforgeLabel.Name     = "aforgeLabel";
     this.aforgeLabel.Size     = new System.Drawing.Size(444, 13);
     this.aforgeLabel.TabIndex = 19;
     this.aforgeLabel.TabStop  = true;
     this.aforgeLabel.Text     = "http://www.kasperkamperman.com/blog/computer-vision/computervision-framedifferenc" +
                                 "ing/";
     this.aforgeLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.aforgeLabel_LinkClicked);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(166, 95);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(127, 13);
     this.label3.TabIndex = 18;
     this.label3.Text     = "Frame Difference Method";
     //
     // AboutFrameDifferenceForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.okButton;
     this.ClientSize        = new System.Drawing.Size(459, 183);
     this.Controls.Add(this.aforgeLabel);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.mailLabel);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.pictureBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "AboutFrameDifferenceForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Frame Difference";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #45
0
ファイル: MainForm.cs プロジェクト: nakijun/FastDBEngine
 private void InitializeComponent()
 {
     this.icontainer_0 = new Container();
     this.panel1 = new Panel();
     this.cboConnectionString = new ComboBox();
     this.btnConnect = new Button();
     this.label1 = new Label();
     this.panel2 = new Panel();
     this.splitter2 = new Splitter();
     this.panel5 = new Panel();
     this.linkLabel1 = new LinkLabel();
     this.splitter1 = new Splitter();
     this.panel3 = new Panel();
     this.treeView1 = new TreeView();
     this.imageList_0 = new ImageList(this.icontainer_0);
     this.panel4 = new Panel();
     this.contextMenuStrip5 = new ContextMenuStrip(this.icontainer_0);
     this.显示隐藏代码窗口ToolStripMenuItem = new ToolStripMenuItem();
     this.label2 = new Label();
     this.contextMenuStrip1 = new ContextMenuStrip(this.icontainer_0);
     this.menuCopySpName = new ToolStripMenuItem();
     this.toolStripMenuItem1 = new ToolStripSeparator();
     this.menuGetXmlCommandBySP = new ToolStripMenuItem();
     this.contextMenuStrip2 = new ContextMenuStrip(this.icontainer_0);
     this.menuCopyTableName = new ToolStripMenuItem();
     this.toolStripMenuItem2 = new ToolStripSeparator();
     this.生成增删改命令到剪切板ToolStripMenuItem = new ToolStripMenuItem();
     this.contextMenuStrip3 = new ContextMenuStrip(this.icontainer_0);
     this.menuCopyDbName = new ToolStripMenuItem();
     this.名称ToolStripMenuItem = new ToolStripSeparator();
     this.根据查询生成数据实体类ToolStripMenuItem = new ToolStripMenuItem();
     this.toolStripMenuItem3 = new ToolStripSeparator();
     this.定位到指定对象ToolStripMenuItem = new ToolStripMenuItem();
     this.contextMenuStrip4 = new ContextMenuStrip(this.icontainer_0);
     this.menuCopyViewName = new ToolStripMenuItem();
     this.txtSqlScript = new SyntaxHighlighterControlFix();
     this.txtCsCode = new SyntaxHighlighterControlFix();
     this.ucParameterStyle1 = new ucParameterStyleFix();
     this.ucCsClassStyle1 = new UcCsClassStyleFix();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel5.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel4.SuspendLayout();
     this.contextMenuStrip5.SuspendLayout();
     this.contextMenuStrip1.SuspendLayout();
     this.contextMenuStrip2.SuspendLayout();
     this.contextMenuStrip3.SuspendLayout();
     this.contextMenuStrip4.SuspendLayout();
     base.SuspendLayout();
     this.panel1.Controls.Add(this.cboConnectionString);
     this.panel1.Controls.Add(this.btnConnect);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock = DockStyle.Top;
     this.panel1.Location = new Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new Size(0x38f, 0x24);
     this.panel1.TabIndex = 0;
     this.cboConnectionString.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.cboConnectionString.Font = new Font("Courier New", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.cboConnectionString.FormattingEnabled = true;
     this.cboConnectionString.Location = new Point(0x4d, 7);
     this.cboConnectionString.Name = "cboConnectionString";
     this.cboConnectionString.Size = new Size(0x2ca, 0x17);
     this.cboConnectionString.TabIndex = 2;
     this.btnConnect.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.btnConnect.FlatStyle = FlatStyle.Popup;
     this.btnConnect.Location = new Point(0x328, 8);
     this.btnConnect.Name = "btnConnect";
     this.btnConnect.Size = new Size(0x5e, 0x15);
     this.btnConnect.TabIndex = 0;
     this.btnConnect.Text = "连接数据库(&C)";
     this.btnConnect.UseVisualStyleBackColor = true;
     this.btnConnect.Click += new EventHandler(this.btnConnect_Click);
     this.label1.AutoSize = true;
     this.label1.Location = new Point(4, 11);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x41, 12);
     this.label1.TabIndex = 1;
     this.label1.Text = "连接字符串";
     this.panel2.Controls.Add(this.txtSqlScript);
     this.panel2.Controls.Add(this.splitter2);
     this.panel2.Controls.Add(this.txtCsCode);
     this.panel2.Controls.Add(this.panel5);
     this.panel2.Controls.Add(this.splitter1);
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Dock = DockStyle.Fill;
     this.panel2.Location = new Point(0, 0x24);
     this.panel2.Name = "panel2";
     this.panel2.Size = new Size(0x38f, 0x221);
     this.panel2.TabIndex = 1;
     this.splitter2.Dock = DockStyle.Top;
     this.splitter2.Location = new Point(0xe1, 0x18a);
     this.splitter2.Name = "splitter2";
     this.splitter2.Size = new Size(0x2ae, 7);
     this.splitter2.TabIndex = 4;
     this.splitter2.TabStop = false;
     this.panel5.Controls.Add(this.ucParameterStyle1);
     this.panel5.Controls.Add(this.ucCsClassStyle1);
     this.panel5.Controls.Add(this.linkLabel1);
     this.panel5.Dock = DockStyle.Top;
     this.panel5.Location = new Point(0xe1, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new Size(0x2ae, 0x1a);
     this.panel5.TabIndex = 2;
     this.linkLabel1.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     //this.linkLabel1.Image = Resources.Help;
     this.linkLabel1.ImageAlign = ContentAlignment.MiddleLeft;
     this.linkLabel1.LinkBehavior = LinkBehavior.NeverUnderline;
     this.linkLabel1.Location = new Point(0x24b, 4);
     this.linkLabel1.Name = "linkLabel1";
     this.linkLabel1.Size = new Size(0x60, 0x11);
     this.linkLabel1.TabIndex = 7;
     this.linkLabel1.TabStop = true;
     this.linkLabel1.Text = "查看帮助页面";
     this.linkLabel1.TextAlign = ContentAlignment.MiddleRight;
     this.linkLabel1.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     this.splitter1.Location = new Point(0xdb, 0);
     this.splitter1.Name = "splitter1";
     this.splitter1.Size = new Size(6, 0x221);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop = false;
     this.panel3.Controls.Add(this.treeView1);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Dock = DockStyle.Left;
     this.panel3.Location = new Point(0, 0);
     this.panel3.Name = "panel3";
     this.panel3.Size = new Size(0xdb, 0x221);
     this.panel3.TabIndex = 0;
     this.treeView1.Dock = DockStyle.Fill;
     this.treeView1.HideSelection = false;
     this.treeView1.ImageIndex = 0;
     this.treeView1.ImageList = this.imageList_0;
     this.treeView1.Location = new Point(0, 0x1a);
     this.treeView1.Name = "treeView1";
     this.treeView1.SelectedImageIndex = 0;
     this.treeView1.Size = new Size(0xdb, 0x207);
     this.treeView1.TabIndex = 1;
     this.treeView1.AfterCollapse += new TreeViewEventHandler(this.treeView1_AfterCollapse);
     this.treeView1.BeforeExpand += new TreeViewCancelEventHandler(this.treeView1_BeforeExpand);
     this.treeView1.AfterSelect += new TreeViewEventHandler(this.treeView1_AfterSelect);
     this.treeView1.NodeMouseClick += new TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
     this.treeView1.KeyDown += new KeyEventHandler(this.treeView1_KeyDown);
     this.treeView1.AfterExpand += new TreeViewEventHandler(this.treeView1_AfterExpand);
     this.imageList_0.ColorDepth = ColorDepth.Depth8Bit;
     this.imageList_0.ImageSize = new Size(0x10, 0x10);
     this.imageList_0.TransparentColor = Color.Transparent;
     this.panel4.ContextMenuStrip = this.contextMenuStrip5;
     this.panel4.Controls.Add(this.label2);
     this.panel4.Dock = DockStyle.Top;
     this.panel4.Location = new Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new Size(0xdb, 0x1a);
     this.panel4.TabIndex = 0;
     this.contextMenuStrip5.Items.AddRange(new ToolStripItem[] { this.显示隐藏代码窗口ToolStripMenuItem });
     this.contextMenuStrip5.Name = "contextMenuStrip5";
     this.contextMenuStrip5.Size = new Size(0x99, 0x30);
     this.显示隐藏代码窗口ToolStripMenuItem.Name = "显示隐藏代码窗口ToolStripMenuItem";
     this.显示隐藏代码窗口ToolStripMenuItem.Size = new Size(0x98, 0x16);
     this.显示隐藏代码窗口ToolStripMenuItem.Text = "隐藏 代码窗口";
     this.显示隐藏代码窗口ToolStripMenuItem.Click += new EventHandler(this.显示隐藏代码窗口ToolStripMenuItem_Click);
     this.label2.AutoSize = true;
     this.label2.Location = new Point(4, 6);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x53, 12);
     this.label2.TabIndex = 0;
     this.label2.Text = "数据表列表(&D)";
     this.contextMenuStrip1.Items.AddRange(new ToolStripItem[] { this.menuCopySpName, this.toolStripMenuItem1, this.menuGetXmlCommandBySP });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new Size(210, 0x36);
     this.menuCopySpName.Name = "menuCopySpName";
     this.menuCopySpName.Size = new Size(0xd1, 0x16);
     this.menuCopySpName.Text = "复制名称";
     this.menuCopySpName.Click += new EventHandler(this.menuCopyViewName_Click);
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new Size(0xce, 6);
     this.menuGetXmlCommandBySP.Name = "menuGetXmlCommandBySP";
     this.menuGetXmlCommandBySP.Size = new Size(0xd1, 0x16);
     this.menuGetXmlCommandBySP.Text = "生成XmlCommand到剪切板";
     this.menuGetXmlCommandBySP.Click += new EventHandler(this.menuGetXmlCommandBySP_Click);
     this.contextMenuStrip2.Items.AddRange(new ToolStripItem[] { this.menuCopyTableName, this.toolStripMenuItem2, this.生成增删改命令到剪切板ToolStripMenuItem });
     this.contextMenuStrip2.Name = "contextMenuStrip2";
     this.contextMenuStrip2.Size = new Size(0xf6, 0x36);
     this.menuCopyTableName.Name = "menuCopyTableName";
     this.menuCopyTableName.Size = new Size(0xf5, 0x16);
     this.menuCopyTableName.Text = "复制名称";
     this.menuCopyTableName.Click += new EventHandler(this.menuCopyViewName_Click);
     this.toolStripMenuItem2.Name = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size = new Size(0xf2, 6);
     this.生成增删改命令到剪切板ToolStripMenuItem.Name = "生成增删改命令到剪切板ToolStripMenuItem";
     this.生成增删改命令到剪切板ToolStripMenuItem.Size = new Size(0xf5, 0x16);
     this.生成增删改命令到剪切板ToolStripMenuItem.Text = "生成增删改XmlCommand到剪切板";
     this.生成增删改命令到剪切板ToolStripMenuItem.Click += new EventHandler(this.生成增删改命令到剪切板ToolStripMenuItem_Click);
     this.contextMenuStrip3.Items.AddRange(new ToolStripItem[] { this.menuCopyDbName, this.名称ToolStripMenuItem, this.根据查询生成数据实体类ToolStripMenuItem, this.toolStripMenuItem3, this.定位到指定对象ToolStripMenuItem });
     this.contextMenuStrip3.Name = "contextMenuStrip3";
     this.contextMenuStrip3.Size = new Size(0xcf, 0x52);
     this.menuCopyDbName.Name = "menuCopyDbName";
     this.menuCopyDbName.Size = new Size(0xce, 0x16);
     this.menuCopyDbName.Text = "复制名称";
     this.menuCopyDbName.Click += new EventHandler(this.menuCopyViewName_Click);
     this.名称ToolStripMenuItem.Name = "名称ToolStripMenuItem";
     this.名称ToolStripMenuItem.Size = new Size(0xcb, 6);
     this.根据查询生成数据实体类ToolStripMenuItem.Name = "根据查询生成数据实体类ToolStripMenuItem";
     this.根据查询生成数据实体类ToolStripMenuItem.Size = new Size(0xce, 0x16);
     this.根据查询生成数据实体类ToolStripMenuItem.Text = "根据查询生成数据实体类";
     this.根据查询生成数据实体类ToolStripMenuItem.Click += new EventHandler(this.根据查询生成数据实体类ToolStripMenuItem_Click);
     this.toolStripMenuItem3.Name = "toolStripMenuItem3";
     this.toolStripMenuItem3.Size = new Size(0xcb, 6);
     this.定位到指定对象ToolStripMenuItem.Name = "定位到指定对象ToolStripMenuItem";
     this.定位到指定对象ToolStripMenuItem.Size = new Size(0xce, 0x16);
     this.定位到指定对象ToolStripMenuItem.Text = "定位到指定对象";
     this.定位到指定对象ToolStripMenuItem.Click += new EventHandler(this.定位到指定对象ToolStripMenuItem_Click);
     this.contextMenuStrip4.Items.AddRange(new ToolStripItem[] { this.menuCopyViewName });
     this.contextMenuStrip4.Name = "contextMenuStrip4";
     this.contextMenuStrip4.Size = new Size(0x7b, 0x1a);
     this.menuCopyViewName.Name = "menuCopyViewName";
     this.menuCopyViewName.Size = new Size(0x7a, 0x16);
     this.menuCopyViewName.Text = "复制名称";
     this.menuCopyViewName.Click += new EventHandler(this.menuCopyViewName_Click);
     this.txtSqlScript.Dock = DockStyle.Fill;
     this.txtSqlScript.Location = new Point(0xe1, 0x191);
     this.txtSqlScript.Name = "txtSqlScript";
     this.txtSqlScript.Size = new Size(0x2ae, 0x90);
     this.txtSqlScript.TabIndex = 6;
     this.txtCsCode.Dock = DockStyle.Top;
     this.txtCsCode.Font = new Font("Courier New", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.txtCsCode.method_0("cs");
     this.txtCsCode.Location = new Point(0xe1, 0x1a);
     this.txtCsCode.Margin = new Padding(3, 4, 3, 4);
     this.txtCsCode.Name = "txtCsCode";
     this.txtCsCode.method_6(false);
     this.txtCsCode.Size = new Size(0x2ae, 0x170);
     this.txtCsCode.TabIndex = 5;
     this.ucParameterStyle1.Location = new Point(0x41, 0);
     this.ucParameterStyle1.Name = "ucParameterStyle1";
     this.ucParameterStyle1.Size = new Size(0x18d, 0x19);
     this.ucParameterStyle1.TabIndex = 9;
     this.ucParameterStyle1.Visible = false;
     this.ucParameterStyle1.method_0(new EventHandler(this.method_7));
     this.ucCsClassStyle1.Location = new Point(3, 0);
     this.ucCsClassStyle1.Name = "ucCsClassStyle1";
     this.ucCsClassStyle1.Size = new Size(0x1f6, 0x19);
     this.ucCsClassStyle1.TabIndex = 8;
     this.ucCsClassStyle1.Visible = false;
     this.ucCsClassStyle1.method_0(new EventHandler(this.method_7));
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x38f, 0x245);
     base.Controls.Add(this.panel2);
     base.Controls.Add(this.panel1);
     base.KeyPreview = true;
     this.MinimumSize = new Size(700, 400);
     base.Name = "MainForm";
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = "FastDBEngine CodeGenerator for ORACLE";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.MainForm_Load);
     base.Shown += new EventHandler(this.MainForm_Shown);
     base.FormClosing += new FormClosingEventHandler(this.MainForm_FormClosing);
     base.KeyDown += new KeyEventHandler(this.MainForm_KeyDown);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.contextMenuStrip5.ResumeLayout(false);
     this.contextMenuStrip1.ResumeLayout(false);
     this.contextMenuStrip2.ResumeLayout(false);
     this.contextMenuStrip3.ResumeLayout(false);
     this.contextMenuStrip4.ResumeLayout(false);
     base.ResumeLayout(false);
 }
コード例 #46
0
 public LinkReference(LinkLabel label, Link link)
 {
     Label = label;
     Link = link;
 }
コード例 #47
0
ファイル: RecommendedArtists.cs プロジェクト: gsterjov/fusemc
        /// <summary>
        /// Shows the current page.
        /// </summary>
        public override void ShowPage()
        {
            foreach (Widget widget in box.Children)
                box.Remove (widget);

            this.ShowLoading ();

            //add the friends
            box.PackStart (new HSeparator (), false, false, 2);

            foreach (RecommendedArtist artist in list.CurrentPage)
            {
                string markup = Utils.ParseMarkup (artist.Name);
                LinkLabel label = new LinkLabel (markup, artist.Name);

                box.PackStart (label, false, false, 0);
                box.PackStart (new HSeparator (), false, false, 2);
            }

            box.ShowAll ();
            this.HideLoading ();
        }
コード例 #48
0
ファイル: TabkFix.cs プロジェクト: ranyaof/ongaz
        private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
        {
            OpenFileDialog objOFD = sender as OpenFileDialog;
            if (sender == null || objOFD.Files == null || objOFD.Files.Count == 0)
            {
            return;
            }

            Gizmox.WebGUI.Common.Resources.FileHandle objFile = null;
            if (objOFD.Files[0] == null || !(objOFD.Files[0] is Gizmox.WebGUI.Common.Resources.FileHandle))
            {
            return;
            }

            // Display original file name, of the first uploaded file, on a label.

            string newguid = Guid.NewGuid().ToString();
            string path = ConfigurationManager.AppSettings["uploadfilepath"].ToString() +newguid;

            DirectoryInfo objDirectoryInfo = Directory.CreateDirectory(path);

            for (int intIndex = 0; intIndex < objOFD.Files.Count; intIndex++)
            {
            objOFD.Files[intIndex].SaveAs(Path.Combine(objDirectoryInfo.FullName,
                                                   ((Gizmox.WebGUI.Common.Resources.HttpPostedFileHandle)(objOFD.Files[intIndex])).PostedFileName));
            objFile = objOFD.Files[intIndex] as Gizmox.WebGUI.Common.Resources.FileHandle;
            LinkLabel linkLabel1 = new LinkLabel();
            linkLabel1.Text = objFile.OriginalFileName;
            linkLabel1.Url = "files/" + newguid + "/" + objFile.OriginalFileName;

            flowLayoutPanel1.Controls.Add(linkLabel1);

            // ad values to database
            using (GazOnDevEntities db = new GazOnDevEntities())
            {
            UploadedFilesOftank newfile = new UploadedFilesOftank();
            newfile.filename = objFile.OriginalFileName;
            newfile.filepath = "files/" + newguid + "/" + objFile.OriginalFileName;
            newfile.tankfixid = tanktofix.Id.ToString();
            db.AddToUploadedFilesOftanks(newfile);
            db.SaveChanges();
            }
            }
        }
コード例 #49
0
ファイル: AlbumBox.cs プロジェクト: gsterjov/fusemc
        //the album box was clicked
        private void mouse_clicked(object o, ButtonReleaseEventArgs args)
        {
            if (expanded)
            {
                foreach (Widget child in song_box.Children)
                    song_box.Remove (child);

                this.Remove (song_box);
            }
            else
            {
                int i=1;
                foreach (string song in album.Songs)
                {
                    string markup = String.Format (song_format, i++, Utils.ParseMarkup (song));
                    LinkLabel link = new LinkLabel (markup, song);

                    link.ButtonReleaseEvent += link_clicked;
                    song_box.PackStart (link, false, false, 0);
                }

                this.PackStart (song_box, false, false, 0);
            }

            expanded = !expanded;
            this.ShowAll ();
            main.Resize ();
        }
コード例 #50
0
ファイル: DialogScreen.cs プロジェクト: Kurios/4803AIGame
        private void SetUpDialog(int targetState)
        {
            if (GameStateManager.CurrentState != this)
                GameStateManager.PushState(this);

            controls = new ControlManager(font);
            controls.selectedControl = 0;
            curState = Char1.Dialog.getCurrentState();
            DialogLabel.Text = curState.stateText;
            DialogLabel.TabStop = false;
            DialogLabel.Position = new Vector2(20, 20);
            DialogLabel.SpriteFont = font;
            if (!controls.Contains(DialogLabel))
                controls.Add(DialogLabel);
            Vector2 pos = new Vector2(300, 300);
            foreach (Response res in curState.responses)
            {
                LinkLabel response = new LinkLabel();
                response.Text = res.responseText;
                response.Value = res.nextStateID;
                response.Function = res.OnSelect;
                response.Position = pos;
                response.Selected += dialog_selected;
                response.SpriteFont = font;
                pos.Y += 32;
                controls.Add(response);
            }
        }
コード例 #51
0
ファイル: DialogBasedApp.cs プロジェクト: alrykov/Lab2
    public MainDialog()
    {
        leftPadCol1 = 11;
        leftPadCol2 = 181;
        leftPadCol3 = 311;

        Text="Mouse";
        StartPosition = FormStartPosition.Manual;
        Location = new Point(100, 100);
        Size = new Size(600, 400);

        Closed += new EventHandler(MainDialog_Closed);

        //left column
        m_LB = new ListBox();
        m_LB.Items.Clear();
        m_LB.IntegralHeight = false;
        m_LB.Location = new Point(leftPadCol1, 10);
        m_LB.Size = new Size(160, 190);
        m_LB.Items.AddRange(new object[]{"Red", "Orange", "Yellow", "Green", "Blue", "Indigo", "Violet"});
        m_LB.SelectionMode = SelectionMode.One;
        m_LB.SetSelected(1, true);
        m_LB.SelectedIndexChanged += new EventHandler(LB_SelIndChanged);
        Controls.Add(m_LB);

        m_B_Create = new Button();
        m_B_Create.Text = "Create";
        m_B_Create.Location = new Point(5, 20);
        m_B_Create.Size = new Size(100, 24);
        m_B_Create.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
        m_B_Create.Click += new System.EventHandler(B_C_Create);
        m_B_Create.BackColor = Color.Green;
        Controls.Add(m_B_Create);

        m_B_Edit = new Button();
        m_B_Edit.Text = "Edit";
        m_B_Edit.Location = new Point(5, 50);
        m_B_Edit.Size = new Size(100, 24);
        m_B_Edit.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
        m_B_Edit.Click += new System.EventHandler(B_C_Edit);
        m_B_Edit.BackColor = Color.Blue;
        Controls.Add(m_B_Edit);

        m_B_Delete = new Button();
        m_B_Delete.Text = "Delete";
        m_B_Delete.Location = new Point(5, 80);
        m_B_Delete.Size = new Size(100, 24);
        m_B_Delete.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
        m_B_Delete.Click += new System.EventHandler(B_C_Delete);
        m_B_Delete.BackColor = Color.Red;
        Controls.Add(m_B_Delete);

        m_GB_Button = new GroupBox();
        m_GB_Button.Text = "Edit list";
        m_GB_Button.Location = new Point(leftPadCol1, 211);
        m_GB_Button.Size = new Size(110, 110);
        m_GB_Button.Controls.AddRange(new Control[] {m_B_Create, m_B_Edit, m_B_Delete});
        Controls.Add(m_GB_Button);

        //middle column
        m_LabelName = new Label();
        m_LabelName.Text = "Name";
        m_LabelName.Name = "LabelName";
        m_LabelName.Location = new Point(leftPadCol2, 10);
        m_LabelName.Size = new Size(120, 16);
        m_LabelName.TextAlign = ContentAlignment.MiddleLeft;
        m_LabelName.Font = new Font("Arial", 10F, FontStyle.Italic | FontStyle.Bold);
        m_LabelName.ForeColor = Color.FromArgb(0, 0, 0);
        Controls.Add(m_LabelName);

        m_LabelColor = new Label();
        m_LabelColor.Text = "Color";
        m_LabelColor.Name = "LabelColor";
        m_LabelColor.Location = new Point(leftPadCol2, 40);
        m_LabelColor.Size = new Size(120, 16);
        m_LabelColor.TextAlign = ContentAlignment.MiddleLeft;
        m_LabelColor.Font = new Font("Arial", 10F, FontStyle.Italic | FontStyle.Bold);
        m_LabelColor.ForeColor = Color.FromArgb(0, 0, 0);
        Controls.Add(m_LabelColor);

        m_LabelSite = new Label();
        m_LabelSite.Text = "Web Site";
        m_LabelSite.Name = "LabelSite";
        m_LabelSite.Location = new Point(leftPadCol2, 130);
        m_LabelSite.Size = new Size(120, 16);
        m_LabelSite.TextAlign = ContentAlignment.MiddleLeft;
        m_LabelSite.Font = new Font("Arial", 10F, FontStyle.Italic | FontStyle.Bold);
        m_LabelSite.ForeColor = Color.FromArgb(0, 0, 0);
        Controls.Add(m_LabelSite);

        //right column
        m_TBName = new TextBox();
        m_TBName.Text = "";
        m_TBName.Location = new Point(leftPadCol3, 10);
        m_TBName.Size = new Size(120, 16);
        m_TBName.Multiline = false;
        m_TBName.MaxLength = 1000;
        m_TBName.ScrollBars = ScrollBars.Both;
        m_TBName.WordWrap = false;
        m_TBName.TextChanged += new EventHandler(TB_TextChanged);
        Controls.Add(m_TBName);

        m_RB_Red = new RadioButton();
        m_RB_Red.Text = "Red";
        m_RB_Red.Checked = false;
        m_RB_Red.Location = new Point(16, 16);
        m_RB_Red.Size = new Size(80, 20);
        m_RB_Red.Click += new System.EventHandler(RB_Click);
        m_RB_Red.Click += new System.EventHandler(RB_Click_Mes);

        m_RB_Green = new RadioButton();
        m_RB_Green.Text = "Green";
        m_RB_Green.Checked = true;
        m_RB_Green.Location = new Point(16, 36);
        m_RB_Green.Size = new Size(80, 20);
        m_RB_Green.Click += new System.EventHandler(RB_Click);

        m_RB_Blue = new RadioButton();
        m_RB_Blue.Text = "Blue";
        m_RB_Blue.Checked = false;
        m_RB_Blue.Location = new Point(16, 56);
        m_RB_Blue.Size = new Size(80, 20);
        m_RB_Blue.Click += new System.EventHandler(RB_Click);

        m_GB_Color = new GroupBox();
        m_GB_Color.Text = "Choose color";
        m_GB_Color.Location = new Point(leftPadCol3, 40);
        m_GB_Color.Size = new Size(120, 80);
        m_GB_Color.Controls.AddRange(new Control[] {m_RB_Red, m_RB_Green, m_RB_Blue});
        Controls.Add(m_GB_Color);

        m_LLabel = new LinkLabel();
        m_LLabel.Name = "Label2";
        m_LLabel.Text = "www.logitec.com";
        //m_LLabel.Text = "text.txt";
        m_LLabel.Location = new Point(leftPadCol3, 130);
        m_LLabel.Size = new Size(120, 16);
        m_LLabel.TextAlign = ContentAlignment.MiddleLeft;
        m_LLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(L2_LClicked);
        Controls.Add(m_LLabel);

        m_TT = new ToolTip();
        m_TT.AutomaticDelay = 300;
        m_TT.ShowAlways = true;
        m_TT.SetToolTip(m_B_Create, "pressing the button will display message box");

        m_CLB = new CheckedListBox();
        m_CLB.Items.Clear();
        m_CLB.IntegralHeight = false;
        m_CLB.Location = new Point(310, 310);
        m_CLB.Size = new Size(160, 90);
        m_CLB.Items.AddRange(new object[]{"Red", "Orange", "Yellow", "Green", "Blue", "Indigo", "Violet"});
        m_CLB.SelectionMode = SelectionMode.One;
        m_CLB.SetSelected(1, true);
        m_CLB.CheckOnClick = true;
        m_CLB.SelectedIndexChanged += new EventHandler(CLB_SelIndChanged);
        Controls.Add(m_CLB);

        // Создаем экземпляр класса
        XmlDocument xmlDoc = new XmlDocument();
        // Загружаем XML-документ из файла
        xmlDoc.Load("db.xml");
        // Загружаем XML-документ из строки
        // xmlDoc.LoadXML(s1);

        // Получаем всех детей корневого элемента
        // xmlDoc.DocumentElement - корневой элемент
        foreach (XmlNode table in xmlDoc.DocumentElement.ChildNodes)
        {
            // перебираем все атрибуты элемента
            foreach (XmlAttribute attr in table.Attributes)
            {
                // attr.Name - имя текущего атрибута
                // attr.Value - значение текущего атрибута
                m_LB.Items.Add(attr.Name + ":" + attr.Value);
            }

            // перебираем всех детей текущего узла
            foreach (XmlNode ch in table.ChildNodes)
            {

            }
            // Получаем текст хранящийся в текущем узле
            //MessageBox.Show(s);
        }
    }
コード例 #52
0
        public AboutScreen()
        {
            PnlBase     = new FancyPanel();
            Label1      = new Label();
            Label2      = new Label();
            Label3      = new Label();
            Label4      = new Label();
            Label5      = new Label();
            Label6      = new Label();
            PictureBox1 = new PictureBox();
            LlWebsite   = new LinkLabel();
            LlForum     = new LinkLabel();
            LlEmail     = new LinkLabel();
            BtnOk       = new Button();

            // Panel Base
            PnlBase.Parent = this;

            // pictureBox1
            PictureBox1.TabStop   = false;
            PictureBox1.BackColor = Color.Transparent;
            PictureBox1.Image     = Resources.Logo;

            // label1
            Label1.AutoSize  = true;
            Label1.Font      = new Font("Microsoft Sans Serif", 16F, FontStyle.Bold);
            Label1.ForeColor = LayoutColors.ColorControlText;
            Label1.BackColor = Color.Transparent;
            Label1.Text      = Data.ProgramName;

            string stage = String.Empty;

            if (Data.IsProgramBeta)
            {
                stage = " " + Language.T("Beta");
            }
            else if (Data.IsProgramRC)
            {
                stage = " " + "RC";
            }

            // label2
            Label2.AutoSize  = true;
            Label2.Font      = new Font("Microsoft Sans Serif", 12F);
            Label2.ForeColor = LayoutColors.ColorControlText;
            Label2.BackColor = Color.Transparent;
            Label2.Text      = Language.T("Version") + ": " + Data.ProgramVersion + stage;

            // label3
            Label3.AutoSize  = true;
            Label3.Font      = new Font("Microsoft Sans Serif", 10F);
            Label3.ForeColor = LayoutColors.ColorControlText;
            Label3.BackColor = Color.Transparent;
            Label3.Text      = "Copyright (c) 2006 - 2011 Miroslav Popov" + Environment.NewLine + Language.T("Distributor") +
                               " - Forex Software Ltd." + Environment.NewLine + Environment.NewLine +
                               Language.T("This is a freeware program!");

            // label4
            Label4.AutoSize  = true;
            Label4.ForeColor = LayoutColors.ColorControlText;
            Label4.BackColor = Color.Transparent;
            Label4.Text      = Language.T("Website") + ":";

            // label5
            Label5.AutoSize  = true;
            Label5.ForeColor = LayoutColors.ColorControlText;
            Label5.BackColor = Color.Transparent;
            Label5.Text      = Language.T("Support forum") + ":";

            // label6
            Label6.AutoSize  = true;
            Label6.ForeColor = LayoutColors.ColorControlText;
            Label6.BackColor = Color.Transparent;
            Label6.Text      = Language.T("Contacts") + ":";

            // llWebsite
            LlWebsite.AutoSize     = true;
            LlWebsite.TabStop      = true;
            LlWebsite.BackColor    = Color.Transparent;
            LlWebsite.Text         = "http://forexsb.com";
            LlWebsite.Tag          = "http://forexsb.com/";
            LlWebsite.LinkClicked += WebsiteLinkClicked;

            // llForum
            LlForum.AutoSize     = true;
            LlForum.TabStop      = true;
            LlForum.BackColor    = Color.Transparent;
            LlForum.Text         = "http://forexsb.com/forum";
            LlForum.Tag          = "http://forexsb.com/forum/";
            LlForum.LinkClicked += WebsiteLinkClicked;

            // llEmail
            LlEmail.AutoSize     = true;
            LlEmail.TabStop      = true;
            LlEmail.BackColor    = Color.Transparent;
            LlEmail.Text         = "*****@*****.**";
            LlEmail.Tag          = "mailto:[email protected]";
            LlEmail.LinkClicked += WebsiteLinkClicked;

            // Button Base
            BtnOk.Parent = this;
            BtnOk.Text   = Language.T("Ok");
            BtnOk.UseVisualStyleBackColor = true;
            BtnOk.Click += BtnOkClick;

            // AboutScreen
            PnlBase.Controls.Add(Label1);
            PnlBase.Controls.Add(Label2);
            PnlBase.Controls.Add(Label3);
            PnlBase.Controls.Add(Label4);
            PnlBase.Controls.Add(Label5);
            PnlBase.Controls.Add(Label6);
            PnlBase.Controls.Add(LlEmail);
            PnlBase.Controls.Add(LlForum);
            PnlBase.Controls.Add(LlWebsite);
            PnlBase.Controls.Add(PictureBox1);

            StartPosition   = FormStartPosition.CenterScreen;
            Text            = Language.T("About") + " " + Data.ProgramName;
            FormBorderStyle = FormBorderStyle.FixedDialog;
            BackColor       = LayoutColors.ColorFormBack;
            MaximizeBox     = false;
            MinimizeBox     = false;
            ShowInTaskbar   = false;
            ClientSize      = new Size(360, 280);
        }
コード例 #53
0
ファイル: LinkLabelPainter.cs プロジェクト: nlhepler/mono
		public virtual void Draw (Graphics dc, Rectangle clip_rectangle, LinkLabel label)
		{
			Rectangle client_rect = label.PaddingClientRectangle;

			label.DrawImage (dc, label.Image, client_rect, label.ImageAlign);

			if (label.pieces == null)
				return;

			// Paint all text as disabled.
			if (!label.Enabled) {
				dc.SetClip (clip_rectangle);
				ThemeEngine.Current.CPDrawStringDisabled (
					dc, label.Text, label.Font, label.BackColor, client_rect, label.string_format);
				return;
			}

			Font font, link_font = ThemeEngine.Current.GetLinkFont (label);
			
			Region text_region = new Region (new Rectangle());

			// Draw links.
			for (int i = 0; i < label.pieces.Length; i ++) {
				LinkLabel.Piece piece = label.pieces[i];
				
				if (piece.link == null) {
					text_region.Union (piece.region);
					continue;
				}

				Color color = GetPieceColor (label, piece, i);

				if ( (label.LinkBehavior == LinkBehavior.AlwaysUnderline) || 
					 (label.LinkBehavior == LinkBehavior.SystemDefault) ||
					 ((label.LinkBehavior == LinkBehavior.HoverUnderline) && piece.link.Hovered) )
					font = link_font;
				else
					font = label.Font;
				
				dc.Clip = piece.region;
				dc.Clip.Intersect (clip_rectangle);
				dc.DrawString (label.Text, font, 
						ThemeEngine.Current.ResPool.GetSolidBrush (color), 
						client_rect, label.string_format);
			
				// Draw focus rectangle
				if ((piece.link != null) && piece.link.Focused) {
					foreach (RectangleF rect in piece.region.GetRegionScans (dc.Transform))
						ControlPaint.DrawFocusRectangle (dc, Rectangle.Round (rect), label.ForeColor, label.BackColor);
				}
			}
			
			// Draw normal text (without links).
			if (!text_region.IsEmpty (dc)) {
				dc.Clip = text_region;
				dc.Clip.Intersect (clip_rectangle);
				if (!dc.Clip.IsEmpty (dc))
					dc.DrawString(label.Text, label.Font, 
						ThemeEngine.Current.ResPool.GetSolidBrush(label.ForeColor),
						client_rect, label.string_format);
			}
		}
コード例 #54
0
 private void InitializeComponent()
 {
     this.splitContainer1       = new System.Windows.Forms.SplitContainer();
     this.panelElementContainer = new System.Windows.Forms.Panel();
     this.panelOkCancel         = new System.Windows.Forms.Panel();
     this.helpHyperlink         = new System.Windows.Forms.LinkLabel();
     this.btnCancel             = new System.Windows.Forms.Button();
     this.btnOK         = new System.Windows.Forms.Button();
     this.panelHelp     = new System.Windows.Forms.Panel();
     this.panelToolIcon = new System.Windows.Forms.Panel();
     this.pnlHelpImage  = new System.Windows.Forms.Panel();
     this.rtbHelp       = new System.Windows.Forms.RichTextBox();
     this.panelPadding  = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.panelOkCancel.SuspendLayout();
     this.panelHelp.SuspendLayout();
     this.panelPadding.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.FixedPanel      = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainer1.IsSplitterFixed = true;
     this.splitContainer1.Location        = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name            = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.panelElementContainer);
     this.splitContainer1.Panel1.Controls.Add(this.panelOkCancel);
     this.splitContainer1.Panel1MinSize = 450;
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.AutoScroll        = true;
     this.splitContainer1.Panel2.AutoScrollMinSize = new System.Drawing.Size(85, 0);
     this.splitContainer1.Panel2.BackColor         = System.Drawing.Color.White;
     this.splitContainer1.Panel2.Controls.Add(this.panelHelp);
     this.splitContainer1.Size             = new System.Drawing.Size(792, 476);
     this.splitContainer1.SplitterDistance = 527;
     this.splitContainer1.TabIndex         = 2;
     //
     // panelElementContainer
     //
     this.panelElementContainer.AutoScroll        = true;
     this.panelElementContainer.AutoScrollMinSize = new System.Drawing.Size(250, 0);
     this.panelElementContainer.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panelElementContainer.Location = new System.Drawing.Point(0, 0);
     this.panelElementContainer.Name     = "panelElementContainer";
     this.panelElementContainer.Size     = new System.Drawing.Size(527, 442);
     this.panelElementContainer.TabIndex = 2;
     this.panelElementContainer.Click   += new System.EventHandler(this.otherElement_Click);
     //
     // panelOkCancel
     //
     this.panelOkCancel.AutoSize = true;
     this.panelOkCancel.Controls.Add(this.helpHyperlink);
     this.panelOkCancel.Controls.Add(this.btnCancel);
     this.panelOkCancel.Controls.Add(this.btnOK);
     this.panelOkCancel.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelOkCancel.Location = new System.Drawing.Point(0, 442);
     this.panelOkCancel.Name     = "panelOkCancel";
     this.panelOkCancel.Size     = new System.Drawing.Size(527, 34);
     this.panelOkCancel.TabIndex = 1;
     this.panelOkCancel.Click   += new System.EventHandler(this.otherElement_Click);
     //
     // helpHyperlink
     //
     this.helpHyperlink.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.helpHyperlink.AutoSize = true;
     this.helpHyperlink.Location = new System.Drawing.Point(459, 13);
     this.helpHyperlink.Name     = "helpHyperlink";
     this.helpHyperlink.Size     = new System.Drawing.Size(53, 13);
     this.helpHyperlink.TabIndex = 2;
     // this.helpHyperlink.TabStop = true;
     this.helpHyperlink.Text         = "Tool Help";
     this.helpHyperlink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.helpHyperlink_LinkClicked);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(83, 8);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 1;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(7, 8);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new System.Drawing.Size(70, 23);
     this.btnOK.TabIndex = 0;
     this.btnOK.Text     = "OK";
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // panelHelp
     //
     this.panelHelp.AutoScroll  = true;
     this.panelHelp.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelHelp.Controls.Add(this.panelPadding);
     this.panelHelp.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.panelHelp.Location     = new System.Drawing.Point(0, 0);
     this.panelHelp.Name         = "panelHelp";
     this.panelHelp.Size         = new System.Drawing.Size(261, 476);
     this.panelHelp.TabIndex     = 0;
     this.panelHelp.SizeChanged += new System.EventHandler(this.panelHelp_SizeChanged);
     //
     // panelToolIcon
     //
     this.panelToolIcon.BackgroundImage       = global::DotSpatial.Modeling.Forms.Images.Hammer;
     this.panelToolIcon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.panelToolIcon.Location = new System.Drawing.Point(217, 3);
     this.panelToolIcon.Name     = "panelToolIcon";
     this.panelToolIcon.Size     = new System.Drawing.Size(32, 32);
     this.panelToolIcon.TabIndex = 2;
     this.panelToolIcon.Click   += new System.EventHandler(this.otherElement_Click);
     //
     // pnlHelpImage
     //
     this.pnlHelpImage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.pnlHelpImage.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlHelpImage.Location = new System.Drawing.Point(10, 260);
     this.pnlHelpImage.Name     = "pnlHelpImage";
     this.pnlHelpImage.Size     = new System.Drawing.Size(239, 161);
     this.pnlHelpImage.TabIndex = 1;
     //
     // rtbHelp
     //
     this.rtbHelp.BackColor   = System.Drawing.SystemColors.Window;
     this.rtbHelp.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.rtbHelp.Dock        = System.Windows.Forms.DockStyle.Top;
     this.rtbHelp.Location    = new System.Drawing.Point(10, 10);
     this.rtbHelp.Margin      = new System.Windows.Forms.Padding(5);
     this.rtbHelp.Name        = "rtbHelp";
     this.rtbHelp.ReadOnly    = true;
     this.rtbHelp.ScrollBars  = System.Windows.Forms.RichTextBoxScrollBars.None;
     this.rtbHelp.Size        = new System.Drawing.Size(239, 250);
     this.rtbHelp.TabIndex    = 0;
     this.rtbHelp.Text        = "";
     //
     // panelPadding
     //
     this.panelPadding.Controls.Add(this.panelToolIcon);
     this.panelPadding.Controls.Add(this.pnlHelpImage);
     this.panelPadding.Controls.Add(this.rtbHelp);
     this.panelPadding.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelPadding.Location = new System.Drawing.Point(0, 0);
     this.panelPadding.Name     = "panelPadding";
     this.panelPadding.Padding  = new System.Windows.Forms.Padding(10);
     this.panelPadding.Size     = new System.Drawing.Size(259, 441);
     this.panelPadding.TabIndex = 3;
     //
     // ToolDialog
     //
     this.AcceptButton = this.btnOK;
     this.CancelButton = this.btnCancel;
     this.ClientSize   = new System.Drawing.Size(792, 476);
     this.Controls.Add(this.splitContainer1);
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(800, 500);
     this.Name          = "ToolDialog";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "ToolDialog";
     this.Click        += new System.EventHandler(this.otherElement_Click);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.panelOkCancel.ResumeLayout(false);
     this.panelOkCancel.PerformLayout();
     this.panelHelp.ResumeLayout(false);
     this.panelPadding.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #55
0
 /// <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(QueryStatsForm));
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.LblWPM            = new System.Windows.Forms.Label();
     this.LblAverage        = new System.Windows.Forms.Label();
     this.LblRatio          = new System.Windows.Forms.Label();
     this.LblWrong          = new System.Windows.Forms.Label();
     this.LblCorrect        = new System.Windows.Forms.Label();
     this.LblWords          = new System.Windows.Forms.Label();
     this.LblTime           = new System.Windows.Forms.Label();
     this.label7            = new System.Windows.Forms.Label();
     this.label6            = new System.Windows.Forms.Label();
     this.label5            = new System.Windows.Forms.Label();
     this.label4            = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.label1            = new System.Windows.Forms.Label();
     this.BtnOkay           = new System.Windows.Forms.Button();
     this.BtnCancel         = new System.Windows.Forms.Button();
     this.linkLabelHomepage = new System.Windows.Forms.LinkLabel();
     this.timerCountdown    = new System.Windows.Forms.Timer(this.components);
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.LblWPM);
     this.groupBox1.Controls.Add(this.LblAverage);
     this.groupBox1.Controls.Add(this.LblRatio);
     this.groupBox1.Controls.Add(this.LblWrong);
     this.groupBox1.Controls.Add(this.LblCorrect);
     this.groupBox1.Controls.Add(this.LblWords);
     this.groupBox1.Controls.Add(this.LblTime);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     resources.ApplyResources(this.groupBox1, "groupBox1");
     this.groupBox1.Name    = "groupBox1";
     this.groupBox1.TabStop = false;
     //
     // LblWPM
     //
     resources.ApplyResources(this.LblWPM, "LblWPM");
     this.LblWPM.Name = "LblWPM";
     //
     // LblAverage
     //
     resources.ApplyResources(this.LblAverage, "LblAverage");
     this.LblAverage.Name = "LblAverage";
     //
     // LblRatio
     //
     resources.ApplyResources(this.LblRatio, "LblRatio");
     this.LblRatio.Name = "LblRatio";
     //
     // LblWrong
     //
     resources.ApplyResources(this.LblWrong, "LblWrong");
     this.LblWrong.Name = "LblWrong";
     //
     // LblCorrect
     //
     resources.ApplyResources(this.LblCorrect, "LblCorrect");
     this.LblCorrect.Name = "LblCorrect";
     //
     // LblWords
     //
     resources.ApplyResources(this.LblWords, "LblWords");
     this.LblWords.Name = "LblWords";
     //
     // LblTime
     //
     resources.ApplyResources(this.LblTime, "LblTime");
     this.LblTime.Name = "LblTime";
     //
     // label7
     //
     resources.ApplyResources(this.label7, "label7");
     this.label7.Name = "label7";
     //
     // label6
     //
     resources.ApplyResources(this.label6, "label6");
     this.label6.Name = "label6";
     //
     // label5
     //
     resources.ApplyResources(this.label5, "label5");
     this.label5.Name = "label5";
     //
     // label4
     //
     resources.ApplyResources(this.label4, "label4");
     this.label4.Name = "label4";
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // BtnOkay
     //
     this.BtnOkay.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(this.BtnOkay, "BtnOkay");
     this.BtnOkay.Name = "BtnOkay";
     //
     // BtnCancel
     //
     this.BtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     resources.ApplyResources(this.BtnCancel, "BtnCancel");
     this.BtnCancel.Name = "BtnCancel";
     //
     // linkLabelHomepage
     //
     resources.ApplyResources(this.linkLabelHomepage, "linkLabelHomepage");
     this.linkLabelHomepage.LinkColor    = System.Drawing.Color.Blue;
     this.linkLabelHomepage.Name         = "linkLabelHomepage";
     this.linkLabelHomepage.TabStop      = true;
     this.linkLabelHomepage.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelHomepage_LinkClicked);
     //
     // timerCountdown
     //
     this.timerCountdown.Tick += new System.EventHandler(this.timerCountdown_Tick);
     //
     // QueryStatsForm
     //
     this.AcceptButton = this.BtnOkay;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.BtnCancel;
     this.Controls.Add(this.linkLabelHomepage);
     this.Controls.Add(this.BtnCancel);
     this.Controls.Add(this.BtnOkay);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "QueryStatsForm";
     this.ShowInTaskbar   = false;
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #56
0
 private void InitializeComponent()
 {
     this.txtName      = new System.Windows.Forms.TextBox();
     this.txtNewPass   = new System.Windows.Forms.TextBox();
     this.txtAnswer    = new System.Windows.Forms.TextBox();
     this.cmbQuestion  = new System.Windows.Forms.ComboBox();
     this.label1       = new System.Windows.Forms.Label();
     this.label2       = new System.Windows.Forms.Label();
     this.label3       = new System.Windows.Forms.Label();
     this.label4       = new System.Windows.Forms.Label();
     this.btnResetPass = new System.Windows.Forms.Button();
     this.lbLogin      = new System.Windows.Forms.LinkLabel();
     this.SuspendLayout();
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(241, 26);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(100, 20);
     this.txtName.TabIndex = 0;
     //
     // txtNewPass
     //
     this.txtNewPass.Location = new System.Drawing.Point(241, 85);
     this.txtNewPass.Name     = "txtNewPass";
     this.txtNewPass.Size     = new System.Drawing.Size(100, 20);
     this.txtNewPass.TabIndex = 1;
     //
     // txtAnswer
     //
     this.txtAnswer.Location = new System.Drawing.Point(241, 203);
     this.txtAnswer.Name     = "txtAnswer";
     this.txtAnswer.Size     = new System.Drawing.Size(100, 20);
     this.txtAnswer.TabIndex = 2;
     //
     // cmbQuestion
     //
     this.cmbQuestion.FormattingEnabled = true;
     this.cmbQuestion.Items.AddRange(new object[] {
         "What is your favourite color?",
         "What is your hobby?",
         "What is your favourite game?",
         "What is your favourite day?"
     });
     this.cmbQuestion.Location = new System.Drawing.Point(241, 142);
     this.cmbQuestion.Name     = "cmbQuestion";
     this.cmbQuestion.Size     = new System.Drawing.Size(121, 21);
     this.cmbQuestion.TabIndex = 3;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(153, 32);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(35, 13);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Name";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(144, 92);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(78, 13);
     this.label2.TabIndex = 5;
     this.label2.Text     = "New Password";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(153, 150);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(49, 13);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Question";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(162, 209);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(42, 13);
     this.label4.TabIndex = 7;
     this.label4.Text     = "Answer";
     //
     // btnResetPass
     //
     this.btnResetPass.Location = new System.Drawing.Point(379, 301);
     this.btnResetPass.Name     = "btnResetPass";
     this.btnResetPass.Size     = new System.Drawing.Size(99, 23);
     this.btnResetPass.TabIndex = 8;
     this.btnResetPass.Text     = "Reset Password";
     this.btnResetPass.UseVisualStyleBackColor = true;
     this.btnResetPass.Click += new System.EventHandler(this.btnResetPass_Click);
     //
     // lbLogin
     //
     this.lbLogin.AutoSize     = true;
     this.lbLogin.Location     = new System.Drawing.Point(29, 344);
     this.lbLogin.Name         = "lbLogin";
     this.lbLogin.Size         = new System.Drawing.Size(33, 13);
     this.lbLogin.TabIndex     = 9;
     this.lbLogin.TabStop      = true;
     this.lbLogin.Text         = "Login";
     this.lbLogin.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lbLogin_LinkClicked);
     //
     // frmForgotPass
     //
     this.ClientSize = new System.Drawing.Size(490, 379);
     this.Controls.Add(this.lbLogin);
     this.Controls.Add(this.btnResetPass);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cmbQuestion);
     this.Controls.Add(this.txtAnswer);
     this.Controls.Add(this.txtNewPass);
     this.Controls.Add(this.txtName);
     this.Name = "frmForgotPass";
     this.Text = "Forget Password";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #57
0
ファイル: TabkFix.cs プロジェクト: ranyaof/ongaz
        private void FillUploadLinks(int tankfixid)
        {
            string idoftank = tankfixid.ToString();
            // ad values to database
            using (GazOnDevEntities db = new GazOnDevEntities())
            {
                var query = from a in db.UploadedFilesOftanks
                            where a.tankfixid == idoftank
                            select a;
                if(null != query)
                {

              List<UploadedFilesOftank> allfiles=   query.ToList<UploadedFilesOftank>();
              foreach (var item in allfiles)
              {

                  LinkLabel linkLabel1 = new LinkLabel();
                  linkLabel1.Text = item.filename;
                  linkLabel1.Url = item.filepath;
                  flowLayoutPanel1.Controls.Add(linkLabel1);
              }
            }

            }
        }
コード例 #58
0
ファイル: About.cs プロジェクト: rajeshwarn/TestProject
 private void InitializeComponent()
 {
     this.btnClose          = new Button();
     this.panMain           = new TableLayoutPanel();
     this.lblTitle          = new Label();
     this.lblVersion        = new Label();
     this.label1            = new Label();
     this.panBrowser        = new Panel();
     this.browser           = new WebBrowser();
     this.lblLicensee       = new Label();
     this.llWebSite         = new LinkLabel();
     this.pictureBox        = new PictureBox();
     this.panLeft           = new Panel();
     this.llCheckForUpdates = new LinkLabel();
     this.panMain.SuspendLayout();
     this.panBrowser.SuspendLayout();
     ((ISupportInitialize)this.pictureBox).BeginInit();
     this.panLeft.SuspendLayout();
     base.SuspendLayout();
     this.btnClose.Anchor                  = AnchorStyles.Top;
     this.btnClose.DialogResult            = DialogResult.OK;
     this.btnClose.Location                = new Point(230, 0x1f8);
     this.btnClose.Name                    = "btnClose";
     this.btnClose.Size                    = new Size(0x4e, 0x1d);
     this.btnClose.TabIndex                = 0;
     this.btnClose.Text                    = "Close";
     this.btnClose.UseVisualStyleBackColor = true;
     this.panMain.AutoSize                 = true;
     this.panMain.ColumnCount              = 1;
     this.panMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     this.panMain.Controls.Add(this.btnClose, 0, 10);
     this.panMain.Controls.Add(this.lblTitle, 0, 0);
     this.panMain.Controls.Add(this.lblVersion, 0, 1);
     this.panMain.Controls.Add(this.label1, 0, 2);
     this.panMain.Controls.Add(this.panBrowser, 0, 4);
     this.panMain.Controls.Add(this.lblLicensee, 0, 3);
     this.panMain.Dock     = DockStyle.Top;
     this.panMain.Location = new Point(0x115, 0x15);
     this.panMain.Name     = "panMain";
     this.panMain.Padding  = new Padding(0x12, 0, 0, 0);
     this.panMain.RowCount = 12;
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.RowStyles.Add(new RowStyle());
     this.panMain.Size            = new Size(0x209, 0x218);
     this.panMain.TabIndex        = 2;
     this.lblTitle.Anchor         = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.lblTitle.AutoSize       = true;
     this.lblTitle.Location       = new Point(0x15, 0);
     this.lblTitle.Margin         = new Padding(3, 0, 3, 5);
     this.lblTitle.Name           = "lblTitle";
     this.lblTitle.Size           = new Size(0x1f1, 0x13);
     this.lblTitle.TabIndex       = 4;
     this.lblTitle.Text           = "LINQPad";
     this.lblTitle.TextAlign      = ContentAlignment.TopCenter;
     this.lblVersion.Anchor       = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.lblVersion.AutoSize     = true;
     this.lblVersion.Location     = new Point(0x15, 0x18);
     this.lblVersion.Margin       = new Padding(3, 0, 3, 5);
     this.lblVersion.Name         = "lblVersion";
     this.lblVersion.Size         = new Size(0x1f1, 0x13);
     this.lblVersion.TabIndex     = 5;
     this.lblVersion.Text         = "v";
     this.lblVersion.TextAlign    = ContentAlignment.TopCenter;
     this.lblVersion.DoubleClick += new EventHandler(this.lblVersion_DoubleClick);
     this.label1.Anchor           = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.label1.AutoSize         = true;
     this.label1.Location         = new Point(0x15, 0x30);
     this.label1.Margin           = new Padding(3, 0, 3, 5);
     this.label1.Name             = "label1";
     this.label1.Size             = new Size(0x1f1, 0x13);
     this.label1.TabIndex         = 6;
     this.label1.Text             = "\x00a9 2007-2012 Joseph Albahari";
     this.label1.TextAlign        = ContentAlignment.MiddleCenter;
     this.panBrowser.Anchor       = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.panBrowser.BorderStyle  = BorderStyle.FixedSingle;
     this.panBrowser.Controls.Add(this.browser);
     this.panBrowser.Location                = new Point(0x15, 0x67);
     this.panBrowser.Name                    = "panBrowser";
     this.panBrowser.Size                    = new Size(0x1f1, 0x18b);
     this.panBrowser.TabIndex                = 7;
     this.browser.AllowNavigation            = false;
     this.browser.Dock                       = DockStyle.Fill;
     this.browser.Location                   = new Point(0, 0);
     this.browser.MinimumSize                = new Size(0x12, 0x15);
     this.browser.Name                       = "browser";
     this.browser.Size                       = new Size(0x1ef, 0x189);
     this.browser.TabIndex                   = 4;
     this.browser.WebBrowserShortcutsEnabled = false;
     this.lblLicensee.Anchor                 = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.lblLicensee.AutoSize               = true;
     this.lblLicensee.ForeColor              = Color.Blue;
     this.lblLicensee.Location               = new Point(0x15, 0x4c);
     this.lblLicensee.Margin                 = new Padding(3, 4, 3, 5);
     this.lblLicensee.Name                   = "lblLicensee";
     this.lblLicensee.Size                   = new Size(0x1f1, 0x13);
     this.lblLicensee.TabIndex               = 8;
     this.lblLicensee.TextAlign              = ContentAlignment.TopCenter;
     this.llWebSite.AutoSize                 = true;
     this.llWebSite.Dock                     = DockStyle.Bottom;
     this.llWebSite.Location                 = new Point(0, 0x1f6);
     this.llWebSite.Margin                   = new Padding(3, 0x10, 3, 0x10);
     this.llWebSite.Name                     = "llWebSite";
     this.llWebSite.Padding                  = new Padding(0, 0, 0, 15);
     this.llWebSite.Size                     = new Size(110, 0x22);
     this.llWebSite.TabIndex                 = 3;
     this.llWebSite.TabStop                  = true;
     this.llWebSite.Text                     = "www.linqpad.net";
     this.llWebSite.LinkClicked             += new LinkLabelLinkClickedEventHandler(this.llWebSite_LinkClicked);
     this.pictureBox.Image                   = Resources.LINQPadLarge;
     this.pictureBox.Location                = new Point(0, 0);
     this.pictureBox.Name                    = "pictureBox";
     this.pictureBox.Size                    = new Size(0x100, 0x100);
     this.pictureBox.SizeMode                = PictureBoxSizeMode.AutoSize;
     this.pictureBox.TabIndex                = 3;
     this.pictureBox.TabStop                 = false;
     this.panLeft.AutoSize                   = true;
     this.panLeft.AutoSizeMode               = AutoSizeMode.GrowAndShrink;
     this.panLeft.Controls.Add(this.pictureBox);
     this.panLeft.Controls.Add(this.llWebSite);
     this.panLeft.Controls.Add(this.llCheckForUpdates);
     this.panLeft.Dock                   = DockStyle.Left;
     this.panLeft.Location               = new Point(0x12, 0x15);
     this.panLeft.Name                   = "panLeft";
     this.panLeft.Size                   = new Size(0x103, 0x22b);
     this.panLeft.TabIndex               = 4;
     this.llCheckForUpdates.AutoSize     = true;
     this.llCheckForUpdates.Dock         = DockStyle.Bottom;
     this.llCheckForUpdates.Location     = new Point(0, 0x218);
     this.llCheckForUpdates.Name         = "llCheckForUpdates";
     this.llCheckForUpdates.Size         = new Size(120, 0x13);
     this.llCheckForUpdates.TabIndex     = 4;
     this.llCheckForUpdates.TabStop      = true;
     this.llCheckForUpdates.Text         = "Check for updates";
     this.llCheckForUpdates.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llCheckForUpdates_LinkClicked);
     base.AutoScaleDimensions            = new SizeF(7f, 17f);
     base.AutoScaleMode                  = AutoScaleMode.Font;
     this.BackColor  = SystemColors.ControlLight;
     base.ClientSize = new Size(0x330, 0x255);
     base.Controls.Add(this.panMain);
     base.Controls.Add(this.panLeft);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox     = false;
     base.MinimizeBox     = false;
     base.Name            = "About";
     base.Padding         = new Padding(0x12, 0x15, 0x12, 0x15);
     base.ShowInTaskbar   = false;
     base.StartPosition   = FormStartPosition.CenterScreen;
     this.Text            = "About";
     this.panMain.ResumeLayout(false);
     this.panMain.PerformLayout();
     this.panBrowser.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox).EndInit();
     this.panLeft.ResumeLayout(false);
     this.panLeft.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #59
0
ファイル: TopTracks.cs プロジェクト: gsterjov/fusemc
        /// <summary>
        /// Shows the current page.
        /// </summary>
        public override void ShowPage()
        {
            foreach (Widget widget in box.Children)
                box.Remove (widget);

            //add the top tracks
            box.PackStart (new HSeparator (), false, false, 0);
            int i=1;

            foreach (TopTrack track in top_tracks.CurrentPage)
            {

                int index = (top_tracks.PageNumber-1) * top_tracks.AmountToShow;
                index += i;

                string markup = index + ". " + Utils.ParseMarkup (track.Name);
                LinkLabel label = new LinkLabel (markup, track.Name);

                label.ButtonReleaseEvent += track_clicked;

                box.PackStart (label, false, false, 0);
                box.PackStart (new HSeparator (), false, false, 0);
                i++;
            }

            box.ShowAll ();
        }
コード例 #60
0
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.label4         = new System.Windows.Forms.Label();
     this.buttonSVNCheck = new System.Windows.Forms.Button();
     this.vRevision      = new System.Windows.Forms.TextBox();
     this.label3         = new System.Windows.Forms.Label();
     this.vMajor         = new System.Windows.Forms.NumericUpDown();
     this.label2         = new System.Windows.Forms.Label();
     this.vMinor         = new System.Windows.Forms.NumericUpDown();
     this.label1         = new System.Windows.Forms.Label();
     this.vBuild         = new System.Windows.Forms.NumericUpDown();
     this.NotTracked     = new System.Windows.Forms.LinkLabel();
     this.tbDebug        = new System.Windows.Forms.RichTextBox();
     this.CheckVersion   = new System.Windows.Forms.LinkLabel();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vMajor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.vMinor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.vBuild)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.buttonSVNCheck);
     this.groupBox1.Controls.Add(this.vRevision);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.vMajor);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.vMinor);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.vBuild);
     this.groupBox1.Location = new System.Drawing.Point(12, 12);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(243, 92);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Version of ...";
     this.groupBox1.Visible  = false;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.ForeColor = System.Drawing.Color.Gray;
     this.label4.Location  = new System.Drawing.Point(165, 14);
     this.label4.Margin    = new System.Windows.Forms.Padding(0);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(48, 13);
     this.label4.TabIndex  = 20;
     this.label4.Text      = "Revision";
     //
     // buttonSVNCheck
     //
     this.buttonSVNCheck.Location = new System.Drawing.Point(14, 57);
     this.buttonSVNCheck.Name     = "buttonSVNCheck";
     this.buttonSVNCheck.Size     = new System.Drawing.Size(223, 25);
     this.buttonSVNCheck.TabIndex = 9;
     this.buttonSVNCheck.Text     = "Read SVN revision (no update)";
     this.buttonSVNCheck.UseVisualStyleBackColor = true;
     this.buttonSVNCheck.Click += new System.EventHandler(this.buttonSVNCheck_Click);
     //
     // vRevision
     //
     this.vRevision.Location  = new System.Drawing.Point(168, 30);
     this.vRevision.Name      = "vRevision";
     this.vRevision.ReadOnly  = true;
     this.vRevision.Size      = new System.Drawing.Size(69, 20);
     this.vRevision.TabIndex  = 16;
     this.vRevision.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.ForeColor = System.Drawing.Color.Gray;
     this.label3.Location  = new System.Drawing.Point(99, 15);
     this.label3.Margin    = new System.Windows.Forms.Padding(0);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(30, 13);
     this.label3.TabIndex  = 19;
     this.label3.Text      = "Build";
     //
     // vMajor
     //
     this.vMajor.BackColor = System.Drawing.Color.White;
     this.vMajor.ForeColor = System.Drawing.SystemColors.WindowText;
     this.vMajor.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.vMajor.Location  = new System.Drawing.Point(14, 31);
     this.vMajor.Maximum   = new decimal(new int[] {
         999,
         0,
         0,
         0
     });
     this.vMajor.Name          = "vMajor";
     this.vMajor.ReadOnly      = true;
     this.vMajor.Size          = new System.Drawing.Size(38, 20);
     this.vMajor.TabIndex      = 15;
     this.vMajor.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.vMajor.ValueChanged += new System.EventHandler(this.vMajor_ValueChanged);
     this.vMajor.Click        += new System.EventHandler(this.vMajor_Click);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.ForeColor = System.Drawing.Color.Gray;
     this.label2.Location  = new System.Drawing.Point(55, 15);
     this.label2.Margin    = new System.Windows.Forms.Padding(0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(33, 13);
     this.label2.TabIndex  = 18;
     this.label2.Text      = "Minor";
     //
     // vMinor
     //
     this.vMinor.BackColor = System.Drawing.Color.White;
     this.vMinor.Location  = new System.Drawing.Point(58, 31);
     this.vMinor.Maximum   = new decimal(new int[] {
         9999,
         0,
         0,
         0
     });
     this.vMinor.Name          = "vMinor";
     this.vMinor.ReadOnly      = true;
     this.vMinor.Size          = new System.Drawing.Size(38, 20);
     this.vMinor.TabIndex      = 14;
     this.vMinor.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.vMinor.ValueChanged += new System.EventHandler(this.vMinor_ValueChanged);
     this.vMinor.Click        += new System.EventHandler(this.vMinor_Click);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.ForeColor = System.Drawing.Color.Gray;
     this.label1.Location  = new System.Drawing.Point(11, 15);
     this.label1.Margin    = new System.Windows.Forms.Padding(0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(33, 13);
     this.label1.TabIndex  = 17;
     this.label1.Text      = "Major";
     //
     // vBuild
     //
     this.vBuild.BackColor = System.Drawing.Color.White;
     this.vBuild.Location  = new System.Drawing.Point(102, 31);
     this.vBuild.Maximum   = new decimal(new int[] {
         999999,
         0,
         0,
         0
     });
     this.vBuild.Name          = "vBuild";
     this.vBuild.ReadOnly      = true;
     this.vBuild.Size          = new System.Drawing.Size(60, 20);
     this.vBuild.TabIndex      = 13;
     this.vBuild.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.vBuild.ValueChanged += new System.EventHandler(this.vBuild_ValueChanged);
     this.vBuild.Click        += new System.EventHandler(this.vBuild_Click);
     //
     // NotTracked
     //
     this.NotTracked.BackColor = System.Drawing.SystemColors.Control;
     this.NotTracked.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.NotTracked.LinkArea  = new System.Windows.Forms.LinkArea(13, 8);
     this.NotTracked.Location  = new System.Drawing.Point(0, 0);
     this.NotTracked.Name      = "NotTracked";
     this.NotTracked.Size      = new System.Drawing.Size(267, 150);
     this.NotTracked.TabIndex  = 10;
     this.NotTracked.TabStop   = true;
     this.NotTracked.Text      = "Not tracked\r\nTrack it";
     this.NotTracked.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.NotTracked.UseCompatibleTextRendering = true;
     this.NotTracked.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.NotTracked_LinkClicked_1);
     //
     // tbDebug
     //
     this.tbDebug.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.tbDebug.Location = new System.Drawing.Point(12, 133);
     this.tbDebug.Name     = "tbDebug";
     this.tbDebug.Size     = new System.Drawing.Size(241, 68);
     this.tbDebug.TabIndex = 8;
     this.tbDebug.Text     = "";
     this.tbDebug.Visible  = false;
     //
     // CheckVersion
     //
     this.CheckVersion.Dock         = System.Windows.Forms.DockStyle.Bottom;
     this.CheckVersion.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.CheckVersion.Location     = new System.Drawing.Point(0, 137);
     this.CheckVersion.Margin       = new System.Windows.Forms.Padding(3, 0, 3, 10);
     this.CheckVersion.Name         = "CheckVersion";
     this.CheckVersion.Size         = new System.Drawing.Size(267, 13);
     this.CheckVersion.TabIndex     = 11;
     this.CheckVersion.TabStop      = true;
     this.CheckVersion.Text         = "linkLabel1";
     this.CheckVersion.TextAlign    = System.Drawing.ContentAlignment.BottomCenter;
     this.CheckVersion.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.CheckVersion_LinkClicked);
     //
     // PluginUI
     //
     this.Controls.Add(this.CheckVersion);
     this.Controls.Add(this.tbDebug);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.NotTracked);
     this.Name    = "PluginUI";
     this.Size    = new System.Drawing.Size(267, 150);
     this.Resize += new System.EventHandler(this.PluginUI_Resize);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vMajor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.vMinor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.vBuild)).EndInit();
     this.ResumeLayout(false);
 }