コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     ManiXButton.Office2010Publisher office2010Publisher1     = new ManiXButton.Office2010Publisher();
     ManiXButton.Office2010Red       office2010Red1           = new ManiXButton.Office2010Red();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
     this.label1                  = new System.Windows.Forms.Label();
     this.menuStrip1              = new System.Windows.Forms.MenuStrip();
     this.管理員選單ToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.修改學生資料ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.修改廠商資料ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.修改菜色資料ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.關閉並離開ToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.listBox1                = new System.Windows.Forms.ListBox();
     this.label2                  = new System.Windows.Forms.Label();
     this.button3                 = new ManiXButton.XButton();
     this.button4                 = new ManiXButton.XButton();
     this.button2                 = new ManiXButton.XButton();
     this.button1                 = new ManiXButton.XButton();
     this.menuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(1, 310);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(41, 12);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "登入者";
     //
     // menuStrip1
     //
     this.menuStrip1.BackgroundImage       = global::訂便當2.Properties.Resources.BG;
     this.menuStrip1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.menuStrip1.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.管理員選單ToolStripMenuItem,
         this.關閉並離開ToolStripMenuItem
     });
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name     = "menuStrip1";
     this.menuStrip1.Size     = new System.Drawing.Size(681, 24);
     this.menuStrip1.TabIndex = 1;
     this.menuStrip1.Text     = "menuStrip1";
     //
     // 管理員選單ToolStripMenuItem
     //
     this.管理員選單ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.修改學生資料ToolStripMenuItem,
         this.修改廠商資料ToolStripMenuItem,
         this.修改菜色資料ToolStripMenuItem
     });
     this.管理員選單ToolStripMenuItem.Name = "管理員選單ToolStripMenuItem";
     this.管理員選單ToolStripMenuItem.Size = new System.Drawing.Size(68, 20);
     this.管理員選單ToolStripMenuItem.Text = "資料維護";
     //
     // 修改學生資料ToolStripMenuItem
     //
     this.修改學生資料ToolStripMenuItem.Name   = "修改學生資料ToolStripMenuItem";
     this.修改學生資料ToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     this.修改學生資料ToolStripMenuItem.Text   = "修改學生資料";
     this.修改學生資料ToolStripMenuItem.Click += new System.EventHandler(this.修改學生資料ToolStripMenuItem_Click);
     //
     // 修改廠商資料ToolStripMenuItem
     //
     this.修改廠商資料ToolStripMenuItem.Name   = "修改廠商資料ToolStripMenuItem";
     this.修改廠商資料ToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     this.修改廠商資料ToolStripMenuItem.Text   = "修改廠商資料";
     this.修改廠商資料ToolStripMenuItem.Click += new System.EventHandler(this.修改廠商資料ToolStripMenuItem_Click);
     //
     // 修改菜色資料ToolStripMenuItem
     //
     this.修改菜色資料ToolStripMenuItem.Name   = "修改菜色資料ToolStripMenuItem";
     this.修改菜色資料ToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     this.修改菜色資料ToolStripMenuItem.Text   = "修改菜色資料";
     this.修改菜色資料ToolStripMenuItem.Click += new System.EventHandler(this.修改菜色資料ToolStripMenuItem_Click);
     //
     // 關閉並離開ToolStripMenuItem
     //
     this.關閉並離開ToolStripMenuItem.Name   = "關閉並離開ToolStripMenuItem";
     this.關閉並離開ToolStripMenuItem.Size   = new System.Drawing.Size(80, 20);
     this.關閉並離開ToolStripMenuItem.Text   = "關閉並離開";
     this.關閉並離開ToolStripMenuItem.Click += new System.EventHandler(this.關閉並離開ToolStripMenuItem_Click);
     //
     // listBox1
     //
     this.listBox1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.listBox1.BorderStyle       = System.Windows.Forms.BorderStyle.None;
     this.listBox1.Font              = new System.Drawing.Font("微軟正黑體", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.listBox1.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.listBox1.FormattingEnabled = true;
     this.listBox1.ItemHeight        = 19;
     this.listBox1.Location          = new System.Drawing.Point(3, 97);
     this.listBox1.Name              = "listBox1";
     this.listBox1.Size              = new System.Drawing.Size(678, 114);
     this.listBox1.TabIndex          = 2;
     this.listBox1.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.listBox1_KeyDown);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("微軟正黑體", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.label2.Location  = new System.Drawing.Point(348, 218);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(96, 26);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "目前總計";
     //
     // button3
     //
     office2010Publisher1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Publisher1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Publisher1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Publisher1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Publisher1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Publisher1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Publisher1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(126)))), ((int)(((byte)(126)))));
     office2010Publisher1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(173)))), ((int)(((byte)(167)))));
     office2010Publisher1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(126)))), ((int)(((byte)(126)))));
     office2010Publisher1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(173)))), ((int)(((byte)(167)))));
     office2010Publisher1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Publisher1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Publisher1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Publisher1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Publisher1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Publisher1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Publisher1.TextColor             = System.Drawing.Color.White;
     this.button3.ColorTable = office2010Publisher1;
     this.button3.Location   = new System.Drawing.Point(3, 27);
     this.button3.Name       = "button3";
     this.button3.Size       = new System.Drawing.Size(165, 64);
     this.button3.TabIndex   = 11;
     this.button3.Text       = "選取這次要訂的店家";
     this.button3.Theme      = ManiXButton.Theme.MSOffice2010_Publisher;
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button4
     //
     office2010Red1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor             = System.Drawing.Color.White;
     this.button4.ColorTable = office2010Red1;
     this.button4.Location   = new System.Drawing.Point(524, 258);
     this.button4.Name       = "button4";
     this.button4.Size       = new System.Drawing.Size(145, 40);
     this.button4.TabIndex   = 10;
     this.button4.Text       = "結束訂購交付櫃台";
     this.button4.Theme      = ManiXButton.Theme.MSOffice2010_RED;
     this.button4.UseVisualStyleBackColor = true;
     this.button4.Click += new System.EventHandler(this.button4_Click_1);
     //
     // button2
     //
     this.button2.ColorTable = office2010Red1;
     this.button2.Location   = new System.Drawing.Point(170, 258);
     this.button2.Name       = "button2";
     this.button2.Size       = new System.Drawing.Size(145, 40);
     this.button2.TabIndex   = 9;
     this.button2.Text       = "將選取的資料刪除";
     this.button2.Theme      = ManiXButton.Theme.MSOffice2010_RED;
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.ColorTable = office2010Red1;
     this.button1.Location   = new System.Drawing.Point(0, 258);
     this.button1.Name       = "button1";
     this.button1.Size       = new System.Drawing.Size(145, 40);
     this.button1.TabIndex   = 8;
     this.button1.Text       = "重整訂單明細";
     this.button1.Theme      = ManiXButton.Theme.MSOffice2010_RED;
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // Form2
     //
     this.AutoScaleDimensions   = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode         = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.BackgroundImage       = global::訂便當2.Properties.Resources.BG1;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize            = new System.Drawing.Size(681, 331);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.menuStrip1);
     this.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.menuStrip1;
     this.Name          = "Form2";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Form2";
     this.Load         += new System.EventHandler(this.Form2_Load);
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
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();
            ManiXButton.Office2010Red office2010Red1 = new ManiXButton.Office2010Red();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            ManiXButton.Office2010White office2010White1 = new ManiXButton.Office2010White();
            ManiXButton.Office2010Yellow office2010Yellow1 = new ManiXButton.Office2010Yellow();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.xButton7 = new ManiXButton.XButton();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.splitContainer2 = new System.Windows.Forms.SplitContainer();
            this.monthCalendar1 = new System.Windows.Forms.MonthCalendar();
            this.textBox7 = new System.Windows.Forms.TextBox();
            this.textBox6 = new System.Windows.Forms.TextBox();
            this.textBox5 = new System.Windows.Forms.TextBox();
            this.xButton12 = new ManiXButton.XButton();
            this.xButton11 = new ManiXButton.XButton();
            this.xButton10 = new ManiXButton.XButton();
            this.xButton9 = new ManiXButton.XButton();
            this.xButton8 = new ManiXButton.XButton();
            this.xButton6 = new ManiXButton.XButton();
            this.xButton13 = new ManiXButton.XButton();
            this.xButton5 = new ManiXButton.XButton();
            this.xButton4 = new ManiXButton.XButton();
            this.textBox8 = new System.Windows.Forms.TextBox();
            this.xButton3 = new ManiXButton.XButton();
            this.textBox4 = new System.Windows.Forms.TextBox();
            this.xButton2 = new ManiXButton.XButton();
            this.textBox3 = new System.Windows.Forms.TextBox();
            this.textBox2 = new System.Windows.Forms.TextBox();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.xButton1 = new ManiXButton.XButton();
            this.gmap = new GMap.NET.WindowsForms.GMapControl();
            this.ToolTip1 = new System.Windows.Forms.ToolTip(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
            this.splitContainer2.Panel1.SuspendLayout();
            this.splitContainer2.Panel2.SuspendLayout();
            this.splitContainer2.SuspendLayout();
            this.SuspendLayout();
            // 
            // splitContainer1
            // 
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.xButton7);
            this.splitContainer1.Panel1.Controls.Add(this.pictureBox1);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
            this.splitContainer1.Size = new System.Drawing.Size(1902, 1033);
            this.splitContainer1.SplitterDistance = 135;
            this.splitContainer1.TabIndex = 0;
            // 
            // xButton7
            // 
            this.xButton7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            office2010Red1.BorderColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
            office2010Red1.BorderColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
            office2010Red1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
            office2010Red1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
            office2010Red1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
            office2010Red1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
            office2010Red1.ButtonNormalColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
            office2010Red1.ButtonNormalColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
            office2010Red1.ButtonNormalColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
            office2010Red1.ButtonNormalColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
            office2010Red1.ButtonSelectedColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
            office2010Red1.ButtonSelectedColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
            office2010Red1.ButtonSelectedColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
            office2010Red1.ButtonSelectedColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
            office2010Red1.HoverTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
            office2010Red1.SelectedTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
            office2010Red1.TextColor = System.Drawing.Color.Black;
            this.xButton7.ColorTable = office2010Red1;
            this.xButton7.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.xButton7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xButton7.Location = new System.Drawing.Point(1857, 3);
            this.xButton7.Name = "xButton7";
            this.xButton7.Size = new System.Drawing.Size(45, 19);
            this.xButton7.TabIndex = 16;
            this.xButton7.Text = "Exit";
            this.xButton7.Theme = ManiXButton.Theme.MSOffice2010_RED;
            this.xButton7.UseVisualStyleBackColor = true;
            this.xButton7.Click += new System.EventHandler(this.xButton7_Click);
            // 
            // pictureBox1
            // 
            this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
            this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
            this.pictureBox1.Location = new System.Drawing.Point(0, 0);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(1902, 135);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.pictureBox1.TabIndex = 0;
            this.pictureBox1.TabStop = false;
            // 
            // splitContainer2
            // 
            this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer2.Location = new System.Drawing.Point(0, 0);
            this.splitContainer2.Name = "splitContainer2";
            // 
            // splitContainer2.Panel1
            // 
            this.splitContainer2.Panel1.Controls.Add(this.monthCalendar1);
            this.splitContainer2.Panel1.Controls.Add(this.textBox7);
            this.splitContainer2.Panel1.Controls.Add(this.textBox6);
            this.splitContainer2.Panel1.Controls.Add(this.textBox5);
            this.splitContainer2.Panel1.Controls.Add(this.xButton12);
            this.splitContainer2.Panel1.Controls.Add(this.xButton11);
            this.splitContainer2.Panel1.Controls.Add(this.xButton10);
            this.splitContainer2.Panel1.Controls.Add(this.xButton9);
            this.splitContainer2.Panel1.Controls.Add(this.xButton8);
            this.splitContainer2.Panel1.Controls.Add(this.xButton6);
            this.splitContainer2.Panel1.Controls.Add(this.xButton13);
            this.splitContainer2.Panel1.Controls.Add(this.xButton5);
            this.splitContainer2.Panel1.Controls.Add(this.xButton4);
            this.splitContainer2.Panel1.Controls.Add(this.textBox8);
            this.splitContainer2.Panel1.Controls.Add(this.xButton3);
            this.splitContainer2.Panel1.Controls.Add(this.textBox4);
            this.splitContainer2.Panel1.Controls.Add(this.xButton2);
            this.splitContainer2.Panel1.Controls.Add(this.textBox3);
            this.splitContainer2.Panel1.Controls.Add(this.textBox2);
            this.splitContainer2.Panel1.Controls.Add(this.textBox1);
            this.splitContainer2.Panel1.Controls.Add(this.xButton1);
            this.splitContainer2.Panel1.Font = new System.Drawing.Font("Arial Black", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.splitContainer2.Panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer2_Panel1_Paint);
            // 
            // splitContainer2.Panel2
            // 
            this.splitContainer2.Panel2.Controls.Add(this.gmap);
            this.splitContainer2.Size = new System.Drawing.Size(1902, 894);
            this.splitContainer2.SplitterDistance = 559;
            this.splitContainer2.TabIndex = 0;
            // 
            // monthCalendar1
            // 
            this.monthCalendar1.Font = new System.Drawing.Font("Arial Black", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.monthCalendar1.Location = new System.Drawing.Point(0, 0);
            this.monthCalendar1.Name = "monthCalendar1";
            this.monthCalendar1.TabIndex = 26;
            // 
            // textBox7
            // 
            this.textBox7.Location = new System.Drawing.Point(141, 582);
            this.textBox7.Name = "textBox7";
            this.textBox7.Size = new System.Drawing.Size(208, 26);
            this.textBox7.TabIndex = 24;
            this.textBox7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // textBox6
            // 
            this.textBox6.Location = new System.Drawing.Point(141, 550);
            this.textBox6.Name = "textBox6";
            this.textBox6.Size = new System.Drawing.Size(208, 26);
            this.textBox6.TabIndex = 23;
            this.textBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // textBox5
            // 
            this.textBox5.Location = new System.Drawing.Point(141, 516);
            this.textBox5.Name = "textBox5";
            this.textBox5.Size = new System.Drawing.Size(208, 26);
            this.textBox5.TabIndex = 22;
            this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // xButton12
            // 
            office2010White1.BorderColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
            office2010White1.BorderColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
            office2010White1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
            office2010White1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
            office2010White1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
            office2010White1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
            office2010White1.ButtonNormalColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(154)))), ((int)(((byte)(154)))), ((int)(((byte)(154)))));
            office2010White1.ButtonNormalColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            office2010White1.ButtonNormalColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
            office2010White1.ButtonNormalColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            office2010White1.ButtonSelectedColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
            office2010White1.ButtonSelectedColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
            office2010White1.ButtonSelectedColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
            office2010White1.ButtonSelectedColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
            office2010White1.HoverTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
            office2010White1.SelectedTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
            office2010White1.TextColor = System.Drawing.Color.Black;
            this.xButton12.ColorTable = office2010White1;
            this.xButton12.Enabled = false;
            this.xButton12.Font = new System.Drawing.Font("Arial Black", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xButton12.Location = new System.Drawing.Point(12, 582);
            this.xButton12.Name = "xButton12";
            this.xButton12.Size = new System.Drawing.Size(123, 28);
            this.xButton12.TabIndex = 20;
            this.xButton12.Text = "Heart Rate";
            this.xButton12.Theme = ManiXButton.Theme.MSOffice2010_WHITE;
            this.xButton12.UseVisualStyleBackColor = true;
            // 
            // xButton11
            // 
            this.xButton11.ColorTable = office2010White1;
            this.xButton11.Enabled = false;
            this.xButton11.Font = new System.Drawing.Font("Arial Black", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xButton11.Location = new System.Drawing.Point(12, 548);
            this.xButton11.Name = "xButton11";
            this.xButton11.Size = new System.Drawing.Size(123, 28);
            this.xButton11.TabIndex = 19;
            this.xButton11.Text = "Longitude";
            this.xButton11.Theme = ManiXButton.Theme.MSOffice2010_WHITE;
            this.xButton11.UseVisualStyleBackColor = true;
            // 
            // xButton10
            // 
            this.xButton10.ColorTable = office2010White1;
            this.xButton10.Enabled = false;
            this.xButton10.Font = new System.Drawing.Font("Arial Black", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xButton10.Location = new System.Drawing.Point(12, 516);
            this.xButton10.Name = "xButton10";
            this.xButton10.Size = new System.Drawing.Size(123, 26);
            this.xButton10.TabIndex = 18;
            this.xButton10.Text = "Latitude";
            this.xButton10.Theme = ManiXButton.Theme.MSOffice2010_WHITE;
            this.xButton10.UseVisualStyleBackColor = true;
            // 
            // xButton9
            // 
            office2010Yellow1.BorderColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
            office2010Yellow1.BorderColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
            office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
            office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
            office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
            office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
            office2010Yellow1.ButtonNormalColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
            office2010Yellow1.ButtonNormalColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
            office2010Yellow1.ButtonNormalColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
            office2010Yellow1.ButtonNormalColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
            office2010Yellow1.ButtonSelectedColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
            office2010Yellow1.ButtonSelectedColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
            office2010Yellow1.ButtonSelectedColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
            office2010Yellow1.ButtonSelectedColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
            office2010Yellow1.HoverTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
            office2010Yellow1.SelectedTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
            office2010Yellow1.TextColor = System.Drawing.Color.Black;
            this.xButton9.ColorTable = office2010Yellow1;
            this.xButton9.Font = new System.Drawing.Font("Arial Black", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xButton9.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
            this.xButton9.Location = new System.Drawing.Point(12, 486);
            this.xButton9.Name = "xButton9";
            this.xButton9.Size = new System.Drawing.Size(337, 24);
            this.xButton9.TabIndex = 17;
            this.xButton9.Text = "User2";
            this.xButton9.Theme = ManiXButton.Theme.MSOffice2010_Yellow;
            this.xButton9.UseVisualStyleBackColor = true;
            // 
            // xButton8
            // 
            this.xButton8.ColorTable = office2010Yellow1;
            this.xButton8.Font = new System.Drawing.Font("Arial Black", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xButton8.Location = new System.Drawing.Point(12, 292);
            this.xButton8.Name = "xButton8";
            this.xButton8.Size = new System.Drawing.Size(337, 23);
            this.xButton8.TabIndex = 16;
            this.xButton8.Text = "User1";
            this.xButton8.Theme = ManiXButton.Theme.MSOffice2010_Yellow;
            this.xButton8.UseVisualStyleBackColor = true;
            // 
            // xButton6
            // 
            this.xButton6.AutoSize = true;
            this.xButton6.ColorTable = office2010Red1;
            this.xButton6.Font = new System.Drawing.Font("Arial Black", 10F);
            this.xButton6.Location = new System.Drawing.Point(402, 44);
            this.xButton6.Name = "xButton6";
            this.xButton6.Size = new System.Drawing.Size(144, 38);
            this.xButton6.TabIndex = 15;
            this.xButton6.Text = "Disconnect";
            this.xButton6.Theme = ManiXButton.Theme.MSOffice2010_RED;
            this.xButton6.UseVisualStyleBackColor = true;
            this.xButton6.Click += new System.EventHandler(this.xButton6_Click);
            // 
            // xButton13
            // 
            this.xButton13.ColorTable = office2010White1;
            this.xButton13.Enabled = false;
            this.xButton13.Font = new System.Drawing.Font("Arial Black", 10F);
            this.xButton13.Location = new System.Drawing.Point(12, 616);
            this.xButton13.Name = "xButton13";
            this.xButton13.Size = new System.Drawing.Size(123, 27);
            this.xButton13.TabIndex = 13;
            this.xButton13.Text = "Date/Time";
            this.xButton13.Theme = ManiXButton.Theme.MSOffice2010_WHITE;
            this.xButton13.UseVisualStyleBackColor = true;
            // 
            // xButton5
            // 
            this.xButton5.ColorTable = office2010White1;
            this.xButton5.Enabled = false;
            this.xButton5.Font = new System.Drawing.Font("Arial Black", 10F);
            this.xButton5.Location = new System.Drawing.Point(12, 418);
            this.xButton5.Name = "xButton5";
            this.xButton5.Size = new System.Drawing.Size(123, 27);
            this.xButton5.TabIndex = 13;
            this.xButton5.Text = "Date/Time";
            this.xButton5.Theme = ManiXButton.Theme.MSOffice2010_WHITE;
            this.xButton5.UseVisualStyleBackColor = true;
            // 
            // xButton4
            // 
            this.xButton4.ColorTable = office2010White1;
            this.xButton4.Enabled = false;
            this.xButton4.Font = new System.Drawing.Font("Arial Black", 10F);
            this.xButton4.Location = new System.Drawing.Point(12, 385);
            this.xButton4.Name = "xButton4";
            this.xButton4.Size = new System.Drawing.Size(123, 27);
            this.xButton4.TabIndex = 13;
            this.xButton4.Text = "Heart Rate";
            this.xButton4.Theme = ManiXButton.Theme.MSOffice2010_WHITE;
            this.xButton4.UseVisualStyleBackColor = true;
            // 
            // textBox8
            // 
            this.textBox8.Location = new System.Drawing.Point(141, 616);
            this.textBox8.Name = "textBox8";
            this.textBox8.Size = new System.Drawing.Size(208, 26);
            this.textBox8.TabIndex = 5;
            this.textBox8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // xButton3
            // 
            this.xButton3.ColorTable = office2010White1;
            this.xButton3.Enabled = false;
            this.xButton3.Font = new System.Drawing.Font("Arial Black", 10F);
            this.xButton3.Location = new System.Drawing.Point(12, 353);
            this.xButton3.Name = "xButton3";
            this.xButton3.Size = new System.Drawing.Size(123, 26);
            this.xButton3.TabIndex = 12;
            this.xButton3.Text = "Longitude";
            this.xButton3.Theme = ManiXButton.Theme.MSOffice2010_WHITE;
            this.xButton3.UseVisualStyleBackColor = true;
            // 
            // textBox4
            // 
            this.textBox4.Location = new System.Drawing.Point(141, 418);
            this.textBox4.Name = "textBox4";
            this.textBox4.Size = new System.Drawing.Size(208, 26);
            this.textBox4.TabIndex = 5;
            this.textBox4.Text = "               ";
            this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // xButton2
            // 
            this.xButton2.ColorTable = office2010White1;
            this.xButton2.Enabled = false;
            this.xButton2.Font = new System.Drawing.Font("Arial Black", 10F);
            this.xButton2.Location = new System.Drawing.Point(12, 321);
            this.xButton2.Name = "xButton2";
            this.xButton2.Size = new System.Drawing.Size(123, 26);
            this.xButton2.TabIndex = 11;
            this.xButton2.Text = "Latitude";
            this.xButton2.Theme = ManiXButton.Theme.MSOffice2010_WHITE;
            this.xButton2.UseVisualStyleBackColor = true;
            // 
            // textBox3
            // 
            this.textBox3.Location = new System.Drawing.Point(141, 385);
            this.textBox3.Name = "textBox3";
            this.textBox3.Size = new System.Drawing.Size(208, 26);
            this.textBox3.TabIndex = 5;
            this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // textBox2
            // 
            this.textBox2.Location = new System.Drawing.Point(141, 353);
            this.textBox2.Name = "textBox2";
            this.textBox2.Size = new System.Drawing.Size(208, 26);
            this.textBox2.TabIndex = 4;
            this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(141, 321);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(208, 26);
            this.textBox1.TabIndex = 3;
            this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // xButton1
            // 
            this.xButton1.AutoSize = true;
            this.xButton1.ColorTable = office2010Red1;
            this.xButton1.Font = new System.Drawing.Font("Arial Black", 10F);
            this.xButton1.Location = new System.Drawing.Point(402, 2);
            this.xButton1.Name = "xButton1";
            this.xButton1.Size = new System.Drawing.Size(144, 36);
            this.xButton1.TabIndex = 0;
            this.xButton1.Text = "Connect";
            this.xButton1.Theme = ManiXButton.Theme.MSOffice2010_RED;
            this.xButton1.UseVisualStyleBackColor = true;
            this.xButton1.Click += new System.EventHandler(this.xButton1_Click_1);
            // 
            // gmap
            // 
            this.gmap.AutoScroll = true;
            this.gmap.AutoSize = true;
            this.gmap.Bearing = 0F;
            this.gmap.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.gmap.CanDragMap = true;
            this.gmap.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gmap.EmptyTileColor = System.Drawing.Color.Navy;
            this.gmap.GrayScaleMode = false;
            this.gmap.HelperLineOption = GMap.NET.WindowsForms.HelperLineOptions.DontShow;
            this.gmap.LevelsKeepInMemmory = 5;
            this.gmap.Location = new System.Drawing.Point(0, 0);
            this.gmap.Margin = new System.Windows.Forms.Padding(0);
            this.gmap.MarkersEnabled = true;
            this.gmap.MaxZoom = 18;
            this.gmap.MinZoom = 5;
            this.gmap.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter;
            this.gmap.Name = "gmap";
            this.gmap.NegativeMode = false;
            this.gmap.PolygonsEnabled = true;
            this.gmap.RetryLoadTile = 0;
            this.gmap.RoutesEnabled = true;
            this.gmap.ScaleMode = GMap.NET.WindowsForms.ScaleModes.Integer;
            this.gmap.SelectedAreaFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(65)))), ((int)(((byte)(105)))), ((int)(((byte)(225)))));
            this.gmap.ShowTileGridLines = false;
            this.gmap.Size = new System.Drawing.Size(1339, 894);
            this.gmap.TabIndex = 0;
            this.gmap.Zoom = 10D;
            this.gmap.Load += new System.EventHandler(this.gmap_Load_1);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
            this.CancelButton = this.xButton7;
            this.ClientSize = new System.Drawing.Size(1902, 1033);
            this.Controls.Add(this.splitContainer1);
            this.Name = "Form1";
            this.Text = "Form1";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.Form1_Load);
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
            this.splitContainer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.splitContainer2.Panel1.ResumeLayout(false);
            this.splitContainer2.Panel1.PerformLayout();
            this.splitContainer2.Panel2.ResumeLayout(false);
            this.splitContainer2.Panel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
            this.splitContainer2.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #3
0
 /// <summary>
 /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器
 /// 修改這個方法的內容。
 /// </summary>
 private void InitializeComponent()
 {
     ManiXButton.Office2010Publisher office2010Publisher1     = new ManiXButton.Office2010Publisher();
     ManiXButton.Office2010Red       office2010Red1           = new ManiXButton.Office2010Red();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(start));
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.xButton1 = new ManiXButton.XButton();
     this.xButton2 = new ManiXButton.XButton();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.BackColor             = System.Drawing.SystemColors.ControlText;
     this.textBox1.Font                  = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.ForeColor             = System.Drawing.Color.Red;
     this.textBox1.Location              = new System.Drawing.Point(49, 122);
     this.textBox1.MaxLength             = 20;
     this.textBox1.Name                  = "textBox1";
     this.textBox1.Size                  = new System.Drawing.Size(303, 30);
     this.textBox1.TabIndex              = 0;
     this.textBox1.UseSystemPasswordChar = true;
     this.textBox1.TextChanged          += new System.EventHandler(this.textBox1_click);
     //
     // xButton1
     //
     office2010Publisher1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Publisher1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Publisher1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Publisher1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Publisher1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Publisher1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Publisher1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(126)))), ((int)(((byte)(126)))));
     office2010Publisher1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(173)))), ((int)(((byte)(167)))));
     office2010Publisher1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(126)))), ((int)(((byte)(126)))));
     office2010Publisher1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(173)))), ((int)(((byte)(167)))));
     office2010Publisher1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Publisher1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Publisher1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Publisher1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Publisher1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Publisher1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Publisher1.TextColor             = System.Drawing.Color.White;
     this.xButton1.ColorTable = office2010Publisher1;
     this.xButton1.Enabled    = false;
     this.xButton1.Font       = new System.Drawing.Font("微軟正黑體", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.xButton1.ForeColor  = System.Drawing.SystemColors.ControlText;
     this.xButton1.Location   = new System.Drawing.Point(253, 122);
     this.xButton1.Name       = "xButton1";
     this.xButton1.Size       = new System.Drawing.Size(99, 30);
     this.xButton1.TabIndex   = 1;
     this.xButton1.Text       = "確定";
     this.xButton1.Theme      = ManiXButton.Theme.MSOffice2010_Publisher;
     this.xButton1.UseVisualStyleBackColor = true;
     this.xButton1.Visible = false;
     this.xButton1.Click  += new System.EventHandler(this.xButton1_Click);
     //
     // xButton2
     //
     office2010Red1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor             = System.Drawing.Color.White;
     this.xButton2.ColorTable             = office2010Red1;
     this.xButton2.Font     = new System.Drawing.Font("微軟正黑體", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.xButton2.Location = new System.Drawing.Point(253, 122);
     this.xButton2.Name     = "xButton2";
     this.xButton2.Size     = new System.Drawing.Size(99, 30);
     this.xButton2.TabIndex = 2;
     this.xButton2.Text     = "取消";
     this.xButton2.Theme    = ManiXButton.Theme.MSOffice2010_RED;
     this.xButton2.UseVisualStyleBackColor = true;
     this.xButton2.Click += new System.EventHandler(this.xButton2_Click);
     //
     // start
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage     = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize          = new System.Drawing.Size(400, 175);
     this.ControlBox          = false;
     this.Controls.Add(this.xButton1);
     this.Controls.Add(this.xButton2);
     this.Controls.Add(this.textBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "start";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "IQ180大挑戰2";
     this.Load           += new System.EventHandler(this.start_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 /// <summary>
 /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器
 /// 修改這個方法的內容。
 /// </summary>
 private void InitializeComponent()
 {
     ManiXButton.Office2010Pink  office2010Pink1              = new ManiXButton.Office2010Pink();
     ManiXButton.Office2010Green office2010Green1             = new ManiXButton.Office2010Green();
     ManiXButton.Office2010Red   office2010Red1               = new ManiXButton.Office2010Red();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ANS));
     this.label1       = new System.Windows.Forms.Label();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.button1      = new System.Windows.Forms.Button();
     this.listBox1     = new System.Windows.Forms.ListBox();
     this.groupBox2    = new System.Windows.Forms.GroupBox();
     this.button3      = new System.Windows.Forms.Button();
     this.button2      = new System.Windows.Forms.Button();
     this.groupBox4    = new System.Windows.Forms.GroupBox();
     this.radioButton4 = new System.Windows.Forms.RadioButton();
     this.radioButton3 = new System.Windows.Forms.RadioButton();
     this.radioButton2 = new System.Windows.Forms.RadioButton();
     this.radioButton1 = new System.Windows.Forms.RadioButton();
     this.groupBox3    = new System.Windows.Forms.GroupBox();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.panel1       = new System.Windows.Forms.Panel();
     this.groupBox5    = new System.Windows.Forms.GroupBox();
     this.label3       = new System.Windows.Forms.Label();
     this.label2       = new System.Windows.Forms.Label();
     this.panel2       = new System.Windows.Forms.Panel();
     this.label4       = new System.Windows.Forms.Label();
     this.label5       = new System.Windows.Forms.Label();
     this.xButton11    = new ManiXButton.XButton();
     this.xButton7     = new ManiXButton.XButton();
     this.xButton6     = new ManiXButton.XButton();
     this.xButton5     = new ManiXButton.XButton();
     this.xButton4     = new ManiXButton.XButton();
     this.xButton3     = new ManiXButton.XButton();
     this.xButton2     = new ManiXButton.XButton();
     this.xButton1     = new ManiXButton.XButton();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font      = new System.Drawing.Font("Microsoft JhengHei", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.label1.Location  = new System.Drawing.Point(185, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(125, 45);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "作答區";
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.Transparent;
     this.groupBox1.Controls.Add(this.button1);
     this.groupBox1.Controls.Add(this.listBox1);
     this.groupBox1.Font      = new System.Drawing.Font("Microsoft JhengHei", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.groupBox1.ForeColor = System.Drawing.Color.White;
     this.groupBox1.Location  = new System.Drawing.Point(12, 57);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(476, 180);
     this.groupBox1.TabIndex  = 2;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "●選擇要作答的題目";
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.SystemColors.Control;
     this.button1.Enabled   = false;
     this.button1.Font      = new System.Drawing.Font("Consolas", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.button1.Location  = new System.Drawing.Point(411, 109);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(59, 64);
     this.button1.TabIndex  = 3;
     this.button1.Text      = "OK↓";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // listBox1
     //
     this.listBox1.BackColor         = System.Drawing.SystemColors.ControlLightLight;
     this.listBox1.Font              = new System.Drawing.Font("Microsoft JhengHei", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.listBox1.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.listBox1.FormattingEnabled = true;
     this.listBox1.ItemHeight        = 45;
     this.listBox1.Items.AddRange(new object[] {
         "基礎題EASY-C-1",
         "基礎題EASY-C-2",
         "基礎題EASY-C-3",
         "基礎題EASY-C-4",
         "基礎題EASY-C-5",
         "進階題MIDDLE-B-1",
         "進階題MIDDLE-B-2",
         "進階題MIDDLE-B-3",
         "進階題MIDDLE-B-4",
         "高階題HARD-A-1",
         "高階題HARD-A-2",
         "高階題HARD-A-3",
         "困難題DIFFICULT-S-1",
         "困難題DIFFICULT-S-2",
         "超難題TOPHARD-X-1",
         "超難題TOPHARD-X-2"
     });
     this.listBox1.Location              = new System.Drawing.Point(6, 34);
     this.listBox1.Name                  = "listBox1";
     this.listBox1.Size                  = new System.Drawing.Size(399, 139);
     this.listBox1.TabIndex              = 0;
     this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
     //
     // groupBox2
     //
     this.groupBox2.BackColor = System.Drawing.Color.Transparent;
     this.groupBox2.Controls.Add(this.button3);
     this.groupBox2.Controls.Add(this.button2);
     this.groupBox2.Controls.Add(this.groupBox4);
     this.groupBox2.Controls.Add(this.groupBox3);
     this.groupBox2.Enabled   = false;
     this.groupBox2.Font      = new System.Drawing.Font("Microsoft JhengHei", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.groupBox2.ForeColor = System.Drawing.Color.White;
     this.groupBox2.Location  = new System.Drawing.Point(12, 243);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(476, 203);
     this.groupBox2.TabIndex  = 3;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "●作答位置";
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.SystemColors.WindowFrame;
     this.button3.Enabled   = false;
     this.button3.Font      = new System.Drawing.Font("Microsoft JhengHei", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.button3.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.button3.Location  = new System.Drawing.Point(360, 103);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(110, 54);
     this.button3.TabIndex  = 3;
     this.button3.Text      = "儲存";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.SystemColors.Control;
     this.button2.Font      = new System.Drawing.Font("Microsoft JhengHei", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.button2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.button2.Location  = new System.Drawing.Point(360, 43);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(110, 54);
     this.button2.TabIndex  = 2;
     this.button2.Text      = "跳出";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.radioButton4);
     this.groupBox4.Controls.Add(this.radioButton3);
     this.groupBox4.Controls.Add(this.radioButton2);
     this.groupBox4.Controls.Add(this.radioButton1);
     this.groupBox4.ForeColor = System.Drawing.Color.White;
     this.groupBox4.Location  = new System.Drawing.Point(6, 145);
     this.groupBox4.Name      = "groupBox4";
     this.groupBox4.Size      = new System.Drawing.Size(348, 52);
     this.groupBox4.TabIndex  = 1;
     this.groupBox4.TabStop   = false;
     this.groupBox4.Text      = "選擇題方式";
     //
     // radioButton4
     //
     this.radioButton4.AutoSize  = true;
     this.radioButton4.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.radioButton4.Location  = new System.Drawing.Point(242, 22);
     this.radioButton4.Name      = "radioButton4";
     this.radioButton4.Size      = new System.Drawing.Size(60, 30);
     this.radioButton4.TabIndex  = 0;
     this.radioButton4.TabStop   = true;
     this.radioButton4.Text      = "(D)";
     this.radioButton4.UseVisualStyleBackColor = true;
     this.radioButton4.CheckedChanged         += new System.EventHandler(this.radioButton4_CheckedChanged);
     //
     // radioButton3
     //
     this.radioButton3.AutoSize  = true;
     this.radioButton3.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.radioButton3.Location  = new System.Drawing.Point(178, 22);
     this.radioButton3.Name      = "radioButton3";
     this.radioButton3.Size      = new System.Drawing.Size(58, 30);
     this.radioButton3.TabIndex  = 0;
     this.radioButton3.TabStop   = true;
     this.radioButton3.Text      = "(C)";
     this.radioButton3.UseVisualStyleBackColor = true;
     this.radioButton3.CheckedChanged         += new System.EventHandler(this.radioButton3_CheckedChanged);
     //
     // radioButton2
     //
     this.radioButton2.AutoSize  = true;
     this.radioButton2.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.radioButton2.Location  = new System.Drawing.Point(114, 22);
     this.radioButton2.Name      = "radioButton2";
     this.radioButton2.Size      = new System.Drawing.Size(58, 30);
     this.radioButton2.TabIndex  = 0;
     this.radioButton2.TabStop   = true;
     this.radioButton2.Text      = "(B)";
     this.radioButton2.UseVisualStyleBackColor = true;
     this.radioButton2.CheckedChanged         += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // radioButton1
     //
     this.radioButton1.AutoSize  = true;
     this.radioButton1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.radioButton1.Location  = new System.Drawing.Point(49, 22);
     this.radioButton1.Name      = "radioButton1";
     this.radioButton1.Size      = new System.Drawing.Size(59, 30);
     this.radioButton1.TabIndex  = 0;
     this.radioButton1.TabStop   = true;
     this.radioButton1.Text      = "(A)";
     this.radioButton1.UseVisualStyleBackColor = true;
     this.radioButton1.CheckedChanged         += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.richTextBox1);
     this.groupBox3.ForeColor = System.Drawing.Color.White;
     this.groupBox3.Location  = new System.Drawing.Point(6, 34);
     this.groupBox3.Name      = "groupBox3";
     this.groupBox3.Size      = new System.Drawing.Size(348, 101);
     this.groupBox3.TabIndex  = 0;
     this.groupBox3.TabStop   = false;
     this.groupBox3.Text      = "詳答方式";
     //
     // richTextBox1
     //
     this.richTextBox1.BackColor    = System.Drawing.SystemColors.ControlLightLight;
     this.richTextBox1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Font         = new System.Drawing.Font("Microsoft JhengHei", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.richTextBox1.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.richTextBox1.Location     = new System.Drawing.Point(3, 31);
     this.richTextBox1.Name         = "richTextBox1";
     this.richTextBox1.Size         = new System.Drawing.Size(342, 67);
     this.richTextBox1.TabIndex     = 0;
     this.richTextBox1.Text         = "";
     this.richTextBox1.TextChanged += new System.EventHandler(this.richTextBox1_TextChanged);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.groupBox5);
     this.panel1.Controls.Add(this.xButton4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(500, 500);
     this.panel1.TabIndex = 6;
     this.panel1.Visible  = false;
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.xButton7);
     this.groupBox5.Controls.Add(this.xButton6);
     this.groupBox5.Controls.Add(this.xButton5);
     this.groupBox5.Font      = new System.Drawing.Font("Microsoft JhengHei", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.groupBox5.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.groupBox5.Location  = new System.Drawing.Point(132, 297);
     this.groupBox5.Name      = "groupBox5";
     this.groupBox5.Size      = new System.Drawing.Size(234, 137);
     this.groupBox5.TabIndex  = 6;
     this.groupBox5.TabStop   = false;
     this.groupBox5.Text      = "問題與解決方案";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font      = new System.Drawing.Font("Microsoft JhengHei", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.label3.Location  = new System.Drawing.Point(93, 204);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(335, 90);
     this.label3.TabIndex  = 3;
     this.label3.Text      = "      您已經交卷,\r\n故無法再繼續作答。\r\n";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("Microsoft JhengHei", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.label2.Location  = new System.Drawing.Point(185, 9);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(125, 45);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "作答區";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Transparent;
     this.panel2.Controls.Add(this.xButton11);
     this.panel2.Controls.Add(this.label4);
     this.panel2.Controls.Add(this.label5);
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(500, 500);
     this.panel2.TabIndex = 7;
     this.panel2.Visible  = false;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.Font      = new System.Drawing.Font("Microsoft JhengHei", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.label4.Location  = new System.Drawing.Point(93, 204);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(335, 90);
     this.label4.TabIndex  = 3;
     this.label4.Text      = "      活動已結束,\r\n故無法再繼續作答。\r\n";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("Microsoft JhengHei", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.label5.Location  = new System.Drawing.Point(185, 9);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(125, 45);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "作答區";
     //
     // xButton11
     //
     this.xButton11.ColorTable = office2010Green1;
     this.xButton11.Font       = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton11.Location   = new System.Drawing.Point(166, 453);
     this.xButton11.Name       = "xButton11";
     this.xButton11.Size       = new System.Drawing.Size(161, 36);
     this.xButton11.TabIndex   = 4;
     this.xButton11.Text       = "EXIT";
     this.xButton11.Theme      = ManiXButton.Theme.MSOffice2010_Green;
     this.xButton11.UseVisualStyleBackColor = true;
     this.xButton11.Click += new System.EventHandler(this.xButton11_Click);
     //
     // xButton7
     //
     office2010Pink1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Pink1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Pink1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Pink1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Pink1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Pink1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Pink1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(6)))), ((int)(((byte)(77)))));
     office2010Pink1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(52)))), ((int)(((byte)(119)))));
     office2010Pink1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(6)))), ((int)(((byte)(77)))));
     office2010Pink1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(52)))), ((int)(((byte)(119)))));
     office2010Pink1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Pink1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Pink1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Pink1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Pink1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Pink1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Pink1.TextColor             = System.Drawing.Color.White;
     this.xButton7.ColorTable = office2010Pink1;
     this.xButton7.Location   = new System.Drawing.Point(18, 95);
     this.xButton7.Name       = "xButton7";
     this.xButton7.Size       = new System.Drawing.Size(194, 27);
     this.xButton7.TabIndex   = 7;
     this.xButton7.Text       = "答案卷備份補發";
     this.xButton7.Theme      = ManiXButton.Theme.MSOffice2010_Pink;
     this.xButton7.UseVisualStyleBackColor = true;
     this.xButton7.Click += new System.EventHandler(this.xButton7_Click);
     //
     // xButton6
     //
     this.xButton6.ColorTable = office2010Pink1;
     this.xButton6.Font       = new System.Drawing.Font("Microsoft JhengHei", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.xButton6.Location   = new System.Drawing.Point(18, 29);
     this.xButton6.Name       = "xButton6";
     this.xButton6.Size       = new System.Drawing.Size(194, 27);
     this.xButton6.TabIndex   = 5;
     this.xButton6.Text       = "為何無法作答";
     this.xButton6.Theme      = ManiXButton.Theme.MSOffice2010_Pink;
     this.xButton6.UseVisualStyleBackColor = true;
     this.xButton6.Click += new System.EventHandler(this.xButton6_Click);
     //
     // xButton5
     //
     this.xButton5.ColorTable = office2010Pink1;
     this.xButton5.Font       = new System.Drawing.Font("Microsoft JhengHei", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.xButton5.Location   = new System.Drawing.Point(18, 62);
     this.xButton5.Name       = "xButton5";
     this.xButton5.Size       = new System.Drawing.Size(194, 27);
     this.xButton5.TabIndex   = 5;
     this.xButton5.Text       = "答案卷遺失";
     this.xButton5.Theme      = ManiXButton.Theme.MSOffice2010_Pink;
     this.xButton5.UseVisualStyleBackColor = true;
     this.xButton5.Click += new System.EventHandler(this.xButton5_Click);
     //
     // xButton4
     //
     office2010Green1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Green1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Green1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Green1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Green1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Green1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Green1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(126)))), ((int)(((byte)(43)))));
     office2010Green1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(184)))), ((int)(((byte)(67)))));
     office2010Green1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(126)))), ((int)(((byte)(43)))));
     office2010Green1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(184)))), ((int)(((byte)(67)))));
     office2010Green1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Green1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Green1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Green1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Green1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Green1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Green1.TextColor             = System.Drawing.Color.White;
     this.xButton4.ColorTable = office2010Green1;
     this.xButton4.Font       = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton4.Location   = new System.Drawing.Point(166, 453);
     this.xButton4.Name       = "xButton4";
     this.xButton4.Size       = new System.Drawing.Size(161, 36);
     this.xButton4.TabIndex   = 4;
     this.xButton4.Text       = "EXIT";
     this.xButton4.Theme      = ManiXButton.Theme.MSOffice2010_Green;
     this.xButton4.UseVisualStyleBackColor = true;
     this.xButton4.Click += new System.EventHandler(this.xButton4_Click);
     //
     // xButton3
     //
     office2010Red1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor3    = System.Drawing.Color.Maroon;
     office2010Red1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor             = System.Drawing.Color.White;
     this.xButton3.ColorTable             = office2010Red1;
     this.xButton3.Enabled  = false;
     this.xButton3.Font     = new System.Drawing.Font("Microsoft JhengHei", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.xButton3.Location = new System.Drawing.Point(179, 452);
     this.xButton3.Name     = "xButton3";
     this.xButton3.Size     = new System.Drawing.Size(309, 36);
     this.xButton3.TabIndex = 5;
     this.xButton3.Text     = "交答案卷";
     this.xButton3.Theme    = ManiXButton.Theme.MSOffice2010_RED;
     this.xButton3.UseVisualStyleBackColor = true;
     this.xButton3.Click += new System.EventHandler(this.xButton3_Click);
     //
     // xButton2
     //
     this.xButton2.ColorTable = office2010Green1;
     this.xButton2.Font       = new System.Drawing.Font("Microsoft JhengHei", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.xButton2.ForeColor  = System.Drawing.SystemColors.ControlText;
     this.xButton2.Location   = new System.Drawing.Point(372, 405);
     this.xButton2.Name       = "xButton2";
     this.xButton2.Size       = new System.Drawing.Size(110, 36);
     this.xButton2.TabIndex   = 4;
     this.xButton2.Text       = "交卷確認";
     this.xButton2.Theme      = ManiXButton.Theme.MSOffice2010_Green;
     this.xButton2.UseVisualStyleBackColor = true;
     this.xButton2.Click += new System.EventHandler(this.xButton2_Click);
     //
     // xButton1
     //
     this.xButton1.ColorTable = office2010Green1;
     this.xButton1.Font       = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton1.Location   = new System.Drawing.Point(12, 452);
     this.xButton1.Name       = "xButton1";
     this.xButton1.Size       = new System.Drawing.Size(161, 36);
     this.xButton1.TabIndex   = 0;
     this.xButton1.Text       = "EXIT";
     this.xButton1.Theme      = ManiXButton.Theme.MSOffice2010_Green;
     this.xButton1.UseVisualStyleBackColor = true;
     this.xButton1.Click += new System.EventHandler(this.xButton1_Click);
     //
     // ANS
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage     = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize          = new System.Drawing.Size(500, 500);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.xButton3);
     this.Controls.Add(this.xButton2);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.xButton1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ANS";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "IQ180大挑戰2";
     this.Load           += new System.EventHandler(this.ANS_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
0
ファイル: Form1.Designer.cs プロジェクト: Alikhann/finder
 /// <summary>
 /// Обязательный метод для поддержки конструктора - не изменяйте
 /// содержимое данного метода при помощи редактора кода.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     ManiXButton.Office2010White     office2010White1         = new ManiXButton.Office2010White();
     ManiXButton.Office2010Red       office2010Red1           = new ManiXButton.Office2010Red();
     ManiXButton.Office2010Blue      office2010Blue1          = new ManiXButton.Office2010Blue();
     ManiXButton.Office2010Publisher office2010Publisher1     = new ManiXButton.Office2010Publisher();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.listBox1             = new System.Windows.Forms.ListBox();
     this.textBox1             = new System.Windows.Forms.TextBox();
     this.fileSystemWatcher1   = new System.IO.FileSystemWatcher();
     this.panel1               = new System.Windows.Forms.Panel();
     this.xButton2             = new ManiXButton.XButton();
     this.xButton1             = new ManiXButton.XButton();
     this.panel2               = new System.Windows.Forms.Panel();
     this.label2               = new System.Windows.Forms.Label();
     this.textBox2             = new System.Windows.Forms.TextBox();
     this.xButton6             = new ManiXButton.XButton();
     this.xButton5             = new ManiXButton.XButton();
     this.label1               = new System.Windows.Forms.Label();
     this.xButton3             = new ManiXButton.XButton();
     this.xButton4             = new ManiXButton.XButton();
     this.notifyIcon1          = new System.Windows.Forms.NotifyIcon(this.components);
     this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // listBox1
     //
     this.listBox1.BackColor         = System.Drawing.SystemColors.InactiveBorder;
     this.listBox1.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location          = new System.Drawing.Point(14, 45);
     this.listBox1.Name                  = "listBox1";
     this.listBox1.Size                  = new System.Drawing.Size(240, 236);
     this.listBox1.TabIndex              = 0;
     this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
     this.listBox1.DoubleClick          += new System.EventHandler(this.listBox1_DoubleClick);
     //
     // textBox1
     //
     this.textBox1.Font         = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.textBox1.ForeColor    = System.Drawing.Color.Black;
     this.textBox1.Location     = new System.Drawing.Point(15, 15);
     this.textBox1.Name         = "textBox1";
     this.textBox1.Size         = new System.Drawing.Size(239, 24);
     this.textBox1.TabIndex     = 3;
     this.textBox1.Text         = "Type something...";
     this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
     //
     // fileSystemWatcher1
     //
     this.fileSystemWatcher1.EnableRaisingEvents = true;
     this.fileSystemWatcher1.SynchronizingObject = this;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.panel1.Controls.Add(this.listBox1);
     this.panel1.Controls.Add(this.xButton2);
     this.panel1.Controls.Add(this.xButton1);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Location = new System.Drawing.Point(21, 12);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(323, 295);
     this.panel1.TabIndex = 0;
     //
     // xButton2
     //
     office2010White1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010White1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010White1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010White1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010White1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010White1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010White1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(154)))), ((int)(((byte)(154)))), ((int)(((byte)(154)))));
     office2010White1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     office2010White1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
     office2010White1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     office2010White1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010White1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010White1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010White1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010White1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010White1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010White1.TextColor             = System.Drawing.Color.Black;
     this.xButton2.ColorTable = office2010White1;
     this.xButton2.Location   = new System.Drawing.Point(260, 254);
     this.xButton2.Name       = "xButton2";
     this.xButton2.Size       = new System.Drawing.Size(54, 27);
     this.xButton2.TabIndex   = 2;
     this.xButton2.Text       = "Close";
     this.xButton2.Theme      = ManiXButton.Theme.MSOffice2010_WHITE;
     this.xButton2.UseVisualStyleBackColor = true;
     this.xButton2.Click += new System.EventHandler(this.xButton2_Click_1);
     //
     // xButton1
     //
     office2010Red1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor             = System.Drawing.Color.White;
     this.xButton1.ColorTable             = office2010Red1;
     this.xButton1.Location = new System.Drawing.Point(259, 13);
     this.xButton1.Name     = "xButton1";
     this.xButton1.Size     = new System.Drawing.Size(54, 27);
     this.xButton1.TabIndex = 5;
     this.xButton1.Text     = "Search";
     this.xButton1.Theme    = ManiXButton.Theme.MSOffice2010_RED;
     this.xButton1.UseVisualStyleBackColor = true;
     this.xButton1.Click += new System.EventHandler(this.xButton1_Click);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.textBox2);
     this.panel2.Controls.Add(this.xButton6);
     this.panel2.Controls.Add(this.xButton5);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.xButton3);
     this.panel2.Controls.Add(this.xButton4);
     this.panel2.Location = new System.Drawing.Point(-158, 12);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(179, 295);
     this.panel2.TabIndex = 1;
     this.panel2.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Script MT Bold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.White;
     this.label2.Location  = new System.Drawing.Point(33, 165);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(125, 19);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Additional options";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // textBox2
     //
     this.textBox2.Font         = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.textBox2.ForeColor    = System.Drawing.Color.Black;
     this.textBox2.Location     = new System.Drawing.Point(37, 45);
     this.textBox2.Name         = "textBox2";
     this.textBox2.Size         = new System.Drawing.Size(111, 24);
     this.textBox2.TabIndex     = 5;
     this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
     //
     // xButton6
     //
     office2010Blue1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Blue1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Blue1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Blue1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Blue1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Blue1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Blue1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Blue1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Blue1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(97)))), ((int)(((byte)(181)))));
     office2010Blue1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(125)))), ((int)(((byte)(219)))));
     office2010Blue1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Blue1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Blue1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Blue1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Blue1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Blue1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Blue1.TextColor             = System.Drawing.Color.White;
     this.xButton6.ColorTable = office2010Blue1;
     this.xButton6.Location   = new System.Drawing.Point(95, 108);
     this.xButton6.Name       = "xButton6";
     this.xButton6.Size       = new System.Drawing.Size(53, 27);
     this.xButton6.TabIndex   = 4;
     this.xButton6.Text       = "To Date";
     this.xButton6.Theme      = ManiXButton.Theme.MSOffice2010_BLUE;
     this.xButton6.UseVisualStyleBackColor = true;
     //
     // xButton5
     //
     this.xButton5.ColorTable = office2010Blue1;
     this.xButton5.Location   = new System.Drawing.Point(37, 108);
     this.xButton5.Name       = "xButton5";
     this.xButton5.Size       = new System.Drawing.Size(52, 27);
     this.xButton5.TabIndex   = 3;
     this.xButton5.Text       = "From Date";
     this.xButton5.Theme      = ManiXButton.Theme.MSOffice2010_BLUE;
     this.xButton5.UseVisualStyleBackColor = true;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Script MT Bold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(33, 13);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(115, 19);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Advanced search";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // xButton3
     //
     office2010Publisher1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Publisher1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Publisher1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Publisher1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Publisher1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Publisher1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Publisher1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(126)))), ((int)(((byte)(126)))));
     office2010Publisher1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(173)))), ((int)(((byte)(167)))));
     office2010Publisher1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(126)))), ((int)(((byte)(126)))));
     office2010Publisher1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(173)))), ((int)(((byte)(167)))));
     office2010Publisher1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Publisher1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Publisher1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Publisher1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Publisher1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Publisher1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Publisher1.TextColor             = System.Drawing.Color.White;
     this.xButton3.ColorTable = office2010Publisher1;
     this.xButton3.Cursor     = System.Windows.Forms.Cursors.No;
     this.xButton3.Location   = new System.Drawing.Point(161, 121);
     this.xButton3.Name       = "xButton3";
     this.xButton3.Size       = new System.Drawing.Size(18, 22);
     this.xButton3.TabIndex   = 1;
     this.xButton3.Text       = ">";
     this.xButton3.Theme      = ManiXButton.Theme.MSOffice2010_Publisher;
     this.xButton3.UseVisualStyleBackColor = true;
     this.xButton3.Click += new System.EventHandler(this.xButton3_Click);
     //
     // xButton4
     //
     this.xButton4.ColorTable = office2010Blue1;
     this.xButton4.Location   = new System.Drawing.Point(37, 75);
     this.xButton4.Name       = "xButton4";
     this.xButton4.Size       = new System.Drawing.Size(111, 27);
     this.xButton4.TabIndex   = 0;
     this.xButton4.Text       = "Set Directory";
     this.xButton4.Theme      = ManiXButton.Theme.MSOffice2010_BLUE;
     this.xButton4.UseVisualStyleBackColor = true;
     this.xButton4.Click += new System.EventHandler(this.xButton4_Click);
     //
     // notifyIcon1
     //
     this.notifyIcon1.Text    = "notifyIcon1";
     this.notifyIcon1.Visible = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.ClientSize          = new System.Drawing.Size(525, 319);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.ForeColor       = System.Drawing.Color.DarkMagenta;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "FinderX";
     this.TransparencyKey = System.Drawing.SystemColors.Control;
     this.Load           += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     ManiXButton.Office2010Red office2010Red1 = new ManiXButton.Office2010Red();
     this.cancelButton       = new System.Windows.Forms.Button();
     this.importanceCB       = new System.Windows.Forms.ComboBox();
     this.label6             = new System.Windows.Forms.Label();
     this.label3             = new System.Windows.Forms.Label();
     this.label4             = new System.Windows.Forms.Label();
     this.label2             = new System.Windows.Forms.Label();
     this.panel1             = new System.Windows.Forms.Panel();
     this.statusLabel        = new System.Windows.Forms.Label();
     this.label1             = new System.Windows.Forms.Label();
     this.tableLayoutPanel1  = new System.Windows.Forms.TableLayoutPanel();
     this.label5             = new System.Windows.Forms.Label();
     this.areaCB             = new System.Windows.Forms.ComboBox();
     this.userTextBox        = new System.Windows.Forms.TextBox();
     this.label7             = new System.Windows.Forms.Label();
     this.titelTextBox       = new System.Windows.Forms.TextBox();
     this.dateTextBox        = new System.Windows.Forms.MaskedTextBox();
     this.descriptTextfield  = new System.Windows.Forms.RichTextBox();
     this.titleLabel         = new System.Windows.Forms.Label();
     this.deleteTicketButton = new ManiXButton.XButton();
     this.panel1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // cancelButton
     //
     this.cancelButton.Location = new System.Drawing.Point(307, 337);
     this.cancelButton.Name     = "cancelButton";
     this.cancelButton.Size     = new System.Drawing.Size(165, 27);
     this.cancelButton.TabIndex = 11;
     this.cancelButton.Text     = "Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
     //
     // importanceCB
     //
     this.importanceCB.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.importanceCB.Enabled           = false;
     this.importanceCB.FormattingEnabled = true;
     this.importanceCB.Location          = new System.Drawing.Point(119, 91);
     this.importanceCB.Name              = "importanceCB";
     this.importanceCB.Size              = new System.Drawing.Size(326, 21);
     this.importanceCB.TabIndex          = 4;
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location  = new System.Drawing.Point(3, 88);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(110, 24);
     this.label6.TabIndex  = 6;
     this.label6.Text      = "Pritority: ";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(3, 0);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(110, 22);
     this.label3.TabIndex  = 0;
     this.label3.Text      = "User:"******"Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location  = new System.Drawing.Point(3, 44);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(110, 22);
     this.label4.TabIndex  = 1;
     this.label4.Text      = "Area:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(9, 143);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(343, 18);
     this.label2.TabIndex = 1;
     this.label2.Text     = "What is the problem? What does the program say?";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.statusLabel);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.tableLayoutPanel1);
     this.panel1.Controls.Add(this.descriptTextfield);
     this.panel1.Location = new System.Drawing.Point(12, 44);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(460, 287);
     this.panel1.TabIndex = 9;
     //
     // statusLabel
     //
     this.statusLabel.AutoSize = true;
     this.statusLabel.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.statusLabel.Location = new System.Drawing.Point(72, 238);
     this.statusLabel.Name     = "statusLabel";
     this.statusLabel.Size     = new System.Drawing.Size(54, 18);
     this.statusLabel.TabIndex = 7;
     this.statusLabel.Text     = "Status:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(12, 238);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(54, 18);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Status:";
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.BackColor   = System.Drawing.SystemColors.ControlLight;
     this.tableLayoutPanel1.ColumnCount = 2;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 26F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 74F));
     this.tableLayoutPanel1.Controls.Add(this.importanceCB, 1, 4);
     this.tableLayoutPanel1.Controls.Add(this.label6, 0, 4);
     this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.label4, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.label5, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.areaCB, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.userTextBox, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.label7, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.titelTextBox, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.dateTextBox, 1, 3);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(9, 14);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 5;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(448, 112);
     this.tableLayoutPanel1.TabIndex = 5;
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location  = new System.Drawing.Point(3, 66);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(110, 22);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "Date and Time:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // areaCB
     //
     this.areaCB.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.areaCB.Enabled           = false;
     this.areaCB.FormattingEnabled = true;
     this.areaCB.Location          = new System.Drawing.Point(119, 47);
     this.areaCB.Name              = "areaCB";
     this.areaCB.Size              = new System.Drawing.Size(326, 21);
     this.areaCB.TabIndex          = 2;
     //
     // userTextBox
     //
     this.userTextBox.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.userTextBox.Enabled  = false;
     this.userTextBox.Location = new System.Drawing.Point(119, 3);
     this.userTextBox.Name     = "userTextBox";
     this.userTextBox.ReadOnly = true;
     this.userTextBox.Size     = new System.Drawing.Size(326, 20);
     this.userTextBox.TabIndex = 1;
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Dock      = System.Windows.Forms.DockStyle.Left;
     this.label7.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F);
     this.label7.Location  = new System.Drawing.Point(3, 22);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(39, 22);
     this.label7.TabIndex  = 7;
     this.label7.Text      = "Titel:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // titelTextBox
     //
     this.titelTextBox.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.titelTextBox.Enabled     = false;
     this.titelTextBox.Location    = new System.Drawing.Point(119, 25);
     this.titelTextBox.Name        = "titelTextBox";
     this.titelTextBox.ReadOnly    = true;
     this.titelTextBox.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.titelTextBox.Size        = new System.Drawing.Size(326, 20);
     this.titelTextBox.TabIndex    = 1;
     //
     // dateTextBox
     //
     this.dateTextBox.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.dateTextBox.Location       = new System.Drawing.Point(119, 69);
     this.dateTextBox.Mask           = "00/00/0000 00:00";
     this.dateTextBox.Name           = "dateTextBox";
     this.dateTextBox.ReadOnly       = true;
     this.dateTextBox.Size           = new System.Drawing.Size(326, 20);
     this.dateTextBox.TabIndex       = 8;
     this.dateTextBox.ValidatingType = typeof(System.DateTime);
     //
     // descriptTextfield
     //
     this.descriptTextfield.Enabled  = false;
     this.descriptTextfield.Location = new System.Drawing.Point(9, 164);
     this.descriptTextfield.Name     = "descriptTextfield";
     this.descriptTextfield.ReadOnly = true;
     this.descriptTextfield.Size     = new System.Drawing.Size(448, 61);
     this.descriptTextfield.TabIndex = 5;
     this.descriptTextfield.Text     = "";
     //
     // titleLabel
     //
     this.titleLabel.AutoSize  = true;
     this.titleLabel.Font      = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.titleLabel.ForeColor = System.Drawing.SystemColors.HotTrack;
     this.titleLabel.Location  = new System.Drawing.Point(8, 7);
     this.titleLabel.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.titleLabel.Name      = "titleLabel";
     this.titleLabel.Size      = new System.Drawing.Size(57, 20);
     this.titleLabel.TabIndex  = 8;
     this.titleLabel.Text      = "Ticket";
     //
     // deleteTicketButton
     //
     office2010Red1.BorderColor1                     = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2                     = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1            = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2            = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3            = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4            = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1               = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor2               = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonNormalColor3               = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor4               = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonSelectedColor1             = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2             = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3             = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4             = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor                = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor                        = System.Drawing.Color.White;
     this.deleteTicketButton.ColorTable              = office2010Red1;
     this.deleteTicketButton.Location                = new System.Drawing.Point(12, 339);
     this.deleteTicketButton.Name                    = "deleteTicketButton";
     this.deleteTicketButton.Size                    = new System.Drawing.Size(288, 23);
     this.deleteTicketButton.TabIndex                = 12;
     this.deleteTicketButton.Text                    = "DELETE TICKET";
     this.deleteTicketButton.Theme                   = ManiXButton.Theme.MSOffice2010_RED;
     this.deleteTicketButton.UseVisualStyleBackColor = true;
     this.deleteTicketButton.Click                  += new System.EventHandler(this.deleteTicketButton_Click);
     //
     // TicketDetailWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(486, 398);
     this.Controls.Add(this.deleteTicketButton);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.titleLabel);
     this.Name          = "TicketDetailWindow";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Details";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
0
 /// <summary>
 /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器
 /// 修改這個方法的內容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(begin));
     ManiXButton.Office2010Green office2010Green1             = new ManiXButton.Office2010Green();
     ManiXButton.Office2010Red   office2010Red1 = new ManiXButton.Office2010Red();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.label1      = new System.Windows.Forms.Label();
     this.panel1      = new System.Windows.Forms.Panel();
     this.checkBox2   = new System.Windows.Forms.CheckBox();
     this.checkBox1   = new System.Windows.Forms.CheckBox();
     this.xButton5    = new ManiXButton.XButton();
     this.xButton3    = new ManiXButton.XButton();
     this.button1     = new System.Windows.Forms.Button();
     this.label4      = new System.Windows.Forms.Label();
     this.textBox2    = new System.Windows.Forms.TextBox();
     this.label3      = new System.Windows.Forms.Label();
     this.textBox1    = new System.Windows.Forms.TextBox();
     this.label2      = new System.Windows.Forms.Label();
     this.panel2      = new System.Windows.Forms.Panel();
     this.xButton4    = new ManiXButton.XButton();
     this.label5      = new System.Windows.Forms.Label();
     this.pictureBox3 = new System.Windows.Forms.PictureBox();
     this.xButton2    = new ManiXButton.XButton();
     this.xButton1    = new ManiXButton.XButton();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Image     = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location  = new System.Drawing.Point(12, 75);
     this.pictureBox1.Name      = "pictureBox1";
     this.pictureBox1.Size      = new System.Drawing.Size(128, 128);
     this.pictureBox1.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex  = 0;
     this.pictureBox1.TabStop   = false;
     //
     // pictureBox2
     //
     this.pictureBox2.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox2.Image     = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location  = new System.Drawing.Point(123, 12);
     this.pictureBox2.Name      = "pictureBox2";
     this.pictureBox2.Size      = new System.Drawing.Size(407, 256);
     this.pictureBox2.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox2.TabIndex  = 1;
     this.pictureBox2.TabStop   = false;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font      = new System.Drawing.Font("微軟正黑體", 32.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.label1.ForeColor = System.Drawing.SystemColors.Control;
     this.label1.Location  = new System.Drawing.Point(22, 236);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(454, 165);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "     歡迎加入-IQ180!\r\n在開始之前,有些任務\r\n       必須現在達成!";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.xButton5);
     this.panel1.Controls.Add(this.xButton3);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.textBox2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(500, 500);
     this.panel1.TabIndex = 5;
     this.panel1.Visible  = false;
     //
     // checkBox2
     //
     this.checkBox2.AutoSize  = true;
     this.checkBox2.Font      = new System.Drawing.Font("微軟正黑體", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.checkBox2.ForeColor = System.Drawing.SystemColors.Control;
     this.checkBox2.Location  = new System.Drawing.Point(336, 324);
     this.checkBox2.Name      = "checkBox2";
     this.checkBox2.Size      = new System.Drawing.Size(129, 35);
     this.checkBox2.TabIndex  = 7;
     this.checkBox2.Text      = "顯示密碼";
     this.checkBox2.UseVisualStyleBackColor = true;
     this.checkBox2.CheckedChanged         += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // checkBox1
     //
     this.checkBox1.AutoSize  = true;
     this.checkBox1.Font      = new System.Drawing.Font("微軟正黑體", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.checkBox1.ForeColor = System.Drawing.SystemColors.Control;
     this.checkBox1.Location  = new System.Drawing.Point(336, 194);
     this.checkBox1.Name      = "checkBox1";
     this.checkBox1.Size      = new System.Drawing.Size(129, 35);
     this.checkBox1.TabIndex  = 7;
     this.checkBox1.Text      = "顯示密碼";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // xButton5
     //
     office2010Green1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Green1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Green1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Green1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Green1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Green1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Green1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(126)))), ((int)(((byte)(43)))));
     office2010Green1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(184)))), ((int)(((byte)(67)))));
     office2010Green1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(126)))), ((int)(((byte)(43)))));
     office2010Green1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(184)))), ((int)(((byte)(67)))));
     office2010Green1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Green1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Green1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Green1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Green1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Green1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Green1.TextColor             = System.Drawing.Color.White;
     this.xButton5.ColorTable = office2010Green1;
     this.xButton5.Font       = new System.Drawing.Font("Consolas", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton5.Location   = new System.Drawing.Point(156, 362);
     this.xButton5.Name       = "xButton5";
     this.xButton5.Size       = new System.Drawing.Size(186, 46);
     this.xButton5.TabIndex   = 6;
     this.xButton5.Text       = "CHECK";
     this.xButton5.Theme      = ManiXButton.Theme.MSOffice2010_Green;
     this.xButton5.UseVisualStyleBackColor = true;
     this.xButton5.Click += new System.EventHandler(this.xButton5_Click);
     //
     // xButton3
     //
     office2010Red1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor3    = System.Drawing.Color.Maroon;
     office2010Red1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor             = System.Drawing.Color.White;
     this.xButton3.ColorTable             = office2010Red1;
     this.xButton3.Font     = new System.Drawing.Font("Consolas", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton3.Location = new System.Drawing.Point(385, 452);
     this.xButton3.Name     = "xButton3";
     this.xButton3.Size     = new System.Drawing.Size(103, 36);
     this.xButton3.TabIndex = 5;
     this.xButton3.Text     = "CANCLE";
     this.xButton3.Theme    = ManiXButton.Theme.MSOffice2010_RED;
     this.xButton3.UseVisualStyleBackColor = true;
     this.xButton3.Click += new System.EventHandler(this.xButton3_Click);
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.DimGray;
     this.button1.Enabled   = false;
     this.button1.Font      = new System.Drawing.Font("Consolas", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor = System.Drawing.Color.Yellow;
     this.button1.Location  = new System.Drawing.Point(156, 437);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(186, 46);
     this.button1.TabIndex  = 3;
     this.button1.Text      = "FINISH";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("微軟正黑體", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.label4.ForeColor = System.Drawing.SystemColors.Control;
     this.label4.Location  = new System.Drawing.Point(27, 286);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(188, 31);
     this.label4.TabIndex  = 2;
     this.label4.Text      = "再次輸入新密語:";
     //
     // textBox2
     //
     this.textBox2.Font                  = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox2.Location              = new System.Drawing.Point(225, 286);
     this.textBox2.MaxLength             = 20;
     this.textBox2.Name                  = "textBox2";
     this.textBox2.Size                  = new System.Drawing.Size(240, 32);
     this.textBox2.TabIndex              = 1;
     this.textBox2.UseSystemPasswordChar = true;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("微軟正黑體", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.label3.ForeColor = System.Drawing.SystemColors.Control;
     this.label3.Location  = new System.Drawing.Point(27, 156);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(192, 31);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "新密語(1~20字):";
     //
     // textBox1
     //
     this.textBox1.Font                  = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location              = new System.Drawing.Point(225, 156);
     this.textBox1.MaxLength             = 20;
     this.textBox1.Name                  = "textBox1";
     this.textBox1.Size                  = new System.Drawing.Size(240, 32);
     this.textBox1.TabIndex              = 1;
     this.textBox1.UseSystemPasswordChar = true;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("微軟正黑體", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.label2.ForeColor = System.Drawing.SystemColors.Control;
     this.label2.Location  = new System.Drawing.Point(51, 12);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(391, 74);
     this.label2.TabIndex  = 0;
     this.label2.Text      = "         設定您的通關密語:\r\n設定一組您專屬的IQ180密碼";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Transparent;
     this.panel2.Controls.Add(this.xButton4);
     this.panel2.Controls.Add(this.label5);
     this.panel2.Controls.Add(this.pictureBox3);
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(500, 500);
     this.panel2.TabIndex = 6;
     this.panel2.Visible  = false;
     //
     // xButton4
     //
     this.xButton4.ColorTable = office2010Green1;
     this.xButton4.Font       = new System.Drawing.Font("Consolas", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton4.Location   = new System.Drawing.Point(132, 427);
     this.xButton4.Name       = "xButton4";
     this.xButton4.Size       = new System.Drawing.Size(234, 56);
     this.xButton4.TabIndex   = 4;
     this.xButton4.Text       = "START NOW";
     this.xButton4.Theme      = ManiXButton.Theme.MSOffice2010_Green;
     this.xButton4.UseVisualStyleBackColor = true;
     this.xButton4.Click += new System.EventHandler(this.xButton4_Click);
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("微軟正黑體", 32.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.label5.ForeColor = System.Drawing.SystemColors.Control;
     this.label5.Location  = new System.Drawing.Point(-2, 287);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(536, 110);
     this.label5.TabIndex  = 3;
     this.label5.Text      = " 任務達成!感謝您的配合!\r\n那麼,就請開始IQ180吧!!";
     //
     // pictureBox3
     //
     this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox3.Image     = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
     this.pictureBox3.Location  = new System.Drawing.Point(0, 0);
     this.pictureBox3.Name      = "pictureBox3";
     this.pictureBox3.Size      = new System.Drawing.Size(500, 342);
     this.pictureBox3.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox3.TabIndex  = 2;
     this.pictureBox3.TabStop   = false;
     //
     // xButton2
     //
     this.xButton2.ColorTable = office2010Red1;
     this.xButton2.Font       = new System.Drawing.Font("Consolas", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton2.Location   = new System.Drawing.Point(385, 452);
     this.xButton2.Name       = "xButton2";
     this.xButton2.Size       = new System.Drawing.Size(103, 36);
     this.xButton2.TabIndex   = 4;
     this.xButton2.Text       = "CANCLE";
     this.xButton2.Theme      = ManiXButton.Theme.MSOffice2010_RED;
     this.xButton2.UseVisualStyleBackColor = true;
     this.xButton2.Click += new System.EventHandler(this.xButton2_Click);
     //
     // xButton1
     //
     this.xButton1.ColorTable = office2010Green1;
     this.xButton1.Font       = new System.Drawing.Font("Consolas", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton1.Location   = new System.Drawing.Point(147, 437);
     this.xButton1.Name       = "xButton1";
     this.xButton1.Size       = new System.Drawing.Size(204, 51);
     this.xButton1.TabIndex   = 3;
     this.xButton1.Text       = "BEGIN NOW";
     this.xButton1.Theme      = ManiXButton.Theme.MSOffice2010_Green;
     this.xButton1.UseVisualStyleBackColor = true;
     this.xButton1.Click += new System.EventHandler(this.xButton1_Click);
     //
     // begin
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage     = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize          = new System.Drawing.Size(500, 500);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.xButton2);
     this.Controls.Add(this.xButton1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.pictureBox2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "begin";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Wellcome to IQ180-2";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     ManiXButton.Office2010Yellow office2010Yellow1 = new ManiXButton.Office2010Yellow();
     ManiXButton.Office2010Red    office2010Red1    = new ManiXButton.Office2010Red();
     this.statusCB           = new System.Windows.Forms.ComboBox();
     this.label8             = new System.Windows.Forms.Label();
     this.flnameTextBox      = new System.Windows.Forms.TextBox();
     this.cancelButton       = new System.Windows.Forms.Button();
     this.priorityCB         = new System.Windows.Forms.ComboBox();
     this.label9             = new System.Windows.Forms.Label();
     this.label10            = new System.Windows.Forms.Label();
     this.label11            = new System.Windows.Forms.Label();
     this.label12            = new System.Windows.Forms.Label();
     this.areaCB             = new System.Windows.Forms.ComboBox();
     this.userTextBox        = new System.Windows.Forms.TextBox();
     this.label13            = new System.Windows.Forms.Label();
     this.titleTextBox       = new System.Windows.Forms.TextBox();
     this.label14            = new System.Windows.Forms.Label();
     this.tableLayoutPanel2  = new System.Windows.Forms.TableLayoutPanel();
     this.dateTextBox        = new System.Windows.Forms.MaskedTextBox();
     this.panel2             = new System.Windows.Forms.Panel();
     this.label15            = new System.Windows.Forms.Label();
     this.descriptTextfield  = new System.Windows.Forms.RichTextBox();
     this.label16            = new System.Windows.Forms.Label();
     this.updateButton       = new ManiXButton.XButton();
     this.deleteTicketButton = new ManiXButton.XButton();
     this.tableLayoutPanel2.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // statusCB
     //
     this.statusCB.FormattingEnabled = true;
     this.statusCB.Location          = new System.Drawing.Point(72, 267);
     this.statusCB.Name     = "statusCB";
     this.statusCB.Size     = new System.Drawing.Size(174, 21);
     this.statusCB.TabIndex = 7;
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label8.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location  = new System.Drawing.Point(3, 120);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(110, 28);
     this.label8.TabIndex  = 8;
     this.label8.Text      = "Name:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // flnameTextBox
     //
     this.flnameTextBox.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flnameTextBox.Enabled  = false;
     this.flnameTextBox.Location = new System.Drawing.Point(119, 123);
     this.flnameTextBox.Name     = "flnameTextBox";
     this.flnameTextBox.ReadOnly = true;
     this.flnameTextBox.Size     = new System.Drawing.Size(326, 20);
     this.flnameTextBox.TabIndex = 9;
     //
     // cancelButton
     //
     this.cancelButton.Location = new System.Drawing.Point(301, 349);
     this.cancelButton.Name     = "cancelButton";
     this.cancelButton.Size     = new System.Drawing.Size(165, 27);
     this.cancelButton.TabIndex = 16;
     this.cancelButton.Text     = "Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
     //
     // priorityCB
     //
     this.priorityCB.Dock = System.Windows.Forms.DockStyle.Fill;
     this.priorityCB.FormattingEnabled = true;
     this.priorityCB.Location          = new System.Drawing.Point(119, 99);
     this.priorityCB.Name     = "priorityCB";
     this.priorityCB.Size     = new System.Drawing.Size(326, 21);
     this.priorityCB.TabIndex = 4;
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label9.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(3, 96);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(110, 24);
     this.label9.TabIndex  = 6;
     this.label9.Text      = "Pritority: ";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label10
     //
     this.label10.AutoSize  = true;
     this.label10.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label10.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location  = new System.Drawing.Point(3, 0);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(110, 24);
     this.label10.TabIndex  = 0;
     this.label10.Text      = "User:"******"Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.Location  = new System.Drawing.Point(3, 48);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(110, 24);
     this.label11.TabIndex  = 1;
     this.label11.Text      = "Area:";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label12
     //
     this.label12.AutoSize  = true;
     this.label12.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label12.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.Location  = new System.Drawing.Point(3, 72);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(110, 24);
     this.label12.TabIndex  = 2;
     this.label12.Text      = "Date and Time:";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // areaCB
     //
     this.areaCB.Dock = System.Windows.Forms.DockStyle.Fill;
     this.areaCB.FormattingEnabled = true;
     this.areaCB.Location          = new System.Drawing.Point(119, 51);
     this.areaCB.Name     = "areaCB";
     this.areaCB.Size     = new System.Drawing.Size(326, 21);
     this.areaCB.TabIndex = 2;
     //
     // userTextBox
     //
     this.userTextBox.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.userTextBox.Enabled  = false;
     this.userTextBox.Location = new System.Drawing.Point(119, 3);
     this.userTextBox.Name     = "userTextBox";
     this.userTextBox.ReadOnly = true;
     this.userTextBox.Size     = new System.Drawing.Size(326, 20);
     this.userTextBox.TabIndex = 1;
     //
     // label13
     //
     this.label13.AutoSize  = true;
     this.label13.Dock      = System.Windows.Forms.DockStyle.Left;
     this.label13.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F);
     this.label13.Location  = new System.Drawing.Point(3, 24);
     this.label13.Name      = "label13";
     this.label13.Size      = new System.Drawing.Size(39, 24);
     this.label13.TabIndex  = 7;
     this.label13.Text      = "Titel:";
     this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // titleTextBox
     //
     this.titleTextBox.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.titleTextBox.Location = new System.Drawing.Point(119, 27);
     this.titleTextBox.Name     = "titleTextBox";
     this.titleTextBox.ReadOnly = true;
     this.titleTextBox.Size     = new System.Drawing.Size(326, 20);
     this.titleTextBox.TabIndex = 1;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label14.Location = new System.Drawing.Point(3, 173);
     this.label14.Name     = "label14";
     this.label14.Size     = new System.Drawing.Size(343, 18);
     this.label14.TabIndex = 1;
     this.label14.Text     = "What is the problem? What does the program say?";
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.BackColor   = System.Drawing.SystemColors.ControlLight;
     this.tableLayoutPanel2.ColumnCount = 2;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 26F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 74F));
     this.tableLayoutPanel2.Controls.Add(this.label8, 0, 5);
     this.tableLayoutPanel2.Controls.Add(this.flnameTextBox, 0, 5);
     this.tableLayoutPanel2.Controls.Add(this.priorityCB, 1, 4);
     this.tableLayoutPanel2.Controls.Add(this.label9, 0, 4);
     this.tableLayoutPanel2.Controls.Add(this.label10, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.label11, 0, 2);
     this.tableLayoutPanel2.Controls.Add(this.label12, 0, 3);
     this.tableLayoutPanel2.Controls.Add(this.areaCB, 1, 2);
     this.tableLayoutPanel2.Controls.Add(this.userTextBox, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.label13, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.titleTextBox, 1, 1);
     this.tableLayoutPanel2.Controls.Add(this.dateTextBox, 1, 3);
     this.tableLayoutPanel2.Location = new System.Drawing.Point(9, 14);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 6;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(448, 148);
     this.tableLayoutPanel2.TabIndex = 5;
     //
     // dateTextBox
     //
     this.dateTextBox.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.dateTextBox.Location = new System.Drawing.Point(119, 75);
     this.dateTextBox.Mask     = "00/00/0000 00:00";
     this.dateTextBox.Name     = "dateTextBox";
     this.dateTextBox.ReadOnly = true;
     this.dateTextBox.Size     = new System.Drawing.Size(326, 20);
     this.dateTextBox.TabIndex = 10;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.statusCB);
     this.panel2.Controls.Add(this.label15);
     this.panel2.Controls.Add(this.label14);
     this.panel2.Controls.Add(this.tableLayoutPanel2);
     this.panel2.Controls.Add(this.descriptTextfield);
     this.panel2.Location = new System.Drawing.Point(12, 43);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(460, 300);
     this.panel2.TabIndex = 14;
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.Location = new System.Drawing.Point(3, 268);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(74, 18);
     this.label15.TabIndex = 6;
     this.label15.Text     = "STATUS: ";
     //
     // descriptTextfield
     //
     this.descriptTextfield.Location = new System.Drawing.Point(6, 194);
     this.descriptTextfield.Name     = "descriptTextfield";
     this.descriptTextfield.ReadOnly = true;
     this.descriptTextfield.Size     = new System.Drawing.Size(448, 61);
     this.descriptTextfield.TabIndex = 5;
     this.descriptTextfield.Text     = "";
     //
     // label16
     //
     this.label16.AutoSize  = true;
     this.label16.Font      = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label16.ForeColor = System.Drawing.SystemColors.HotTrack;
     this.label16.Location  = new System.Drawing.Point(8, 6);
     this.label16.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label16.Name      = "label16";
     this.label16.Size      = new System.Drawing.Size(382, 20);
     this.label16.TabIndex  = 13;
     this.label16.Text      = "Change the ticket status, if you take this ticket!";
     //
     // updateButton
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.updateButton.ColorTable            = office2010Yellow1;
     this.updateButton.FlatStyle             = System.Windows.Forms.FlatStyle.Flat;
     this.updateButton.Location = new System.Drawing.Point(15, 351);
     this.updateButton.Name     = "updateButton";
     this.updateButton.Size     = new System.Drawing.Size(281, 23);
     this.updateButton.TabIndex = 15;
     this.updateButton.Text     = "Update";
     this.updateButton.Theme    = ManiXButton.Theme.MSOffice2010_Yellow;
     this.updateButton.UseCompatibleTextRendering = true;
     this.updateButton.UseVisualStyleBackColor    = true;
     this.updateButton.Click += new System.EventHandler(this.updateButton_Click);
     //
     // deleteTicketButton
     //
     office2010Red1.BorderColor1                     = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2                     = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1            = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2            = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3            = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4            = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1               = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor2               = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonNormalColor3               = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor4               = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonSelectedColor1             = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2             = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3             = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4             = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor                = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor                        = System.Drawing.Color.White;
     this.deleteTicketButton.ColorTable              = office2010Red1;
     this.deleteTicketButton.Location                = new System.Drawing.Point(15, 380);
     this.deleteTicketButton.Name                    = "deleteTicketButton";
     this.deleteTicketButton.Size                    = new System.Drawing.Size(451, 23);
     this.deleteTicketButton.TabIndex                = 17;
     this.deleteTicketButton.Text                    = "DELETE TICKET";
     this.deleteTicketButton.Theme                   = ManiXButton.Theme.MSOffice2010_RED;
     this.deleteTicketButton.UseVisualStyleBackColor = true;
     this.deleteTicketButton.Click                  += new System.EventHandler(this.deleteTicketButton_Click);
     //
     // TicketAdminWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(492, 414);
     this.Controls.Add(this.deleteTicketButton);
     this.Controls.Add(this.updateButton);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.label16);
     this.MinimumSize   = new System.Drawing.Size(508, 422);
     this.Name          = "TicketAdminWindow";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "TicketAdminWindow";
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #9
0
 /// <summary>
 /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器
 /// 修改這個方法的內容。
 /// </summary>
 private void InitializeComponent()
 {
     ManiXButton.Office2010Red   office2010Red1               = new ManiXButton.Office2010Red();
     ManiXButton.Office2010Green office2010Green1             = new ManiXButton.Office2010Green();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(q));
     this.label1       = new System.Windows.Forms.Label();
     this.QBOX         = new System.Windows.Forms.RichTextBox();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.gue          = new ManiXButton.XButton();
     this.START        = new ManiXButton.XButton();
     this.xButton1     = new ManiXButton.XButton();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font      = new System.Drawing.Font("Consolas", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.label1.Location  = new System.Drawing.Point(120, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(258, 56);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "LEVEL-X-Y";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // QBOX
     //
     this.QBOX.BackColor   = System.Drawing.SystemColors.InfoText;
     this.QBOX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.QBOX.Cursor      = System.Windows.Forms.Cursors.Default;
     this.QBOX.Font        = new System.Drawing.Font("微軟正黑體", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.QBOX.ForeColor   = System.Drawing.Color.Lime;
     this.QBOX.Location    = new System.Drawing.Point(12, 68);
     this.QBOX.Name        = "QBOX";
     this.QBOX.ReadOnly    = true;
     this.QBOX.Size        = new System.Drawing.Size(476, 243);
     this.QBOX.TabIndex    = 5;
     this.QBOX.Text        = "";
     this.QBOX.Visible     = false;
     //
     // richTextBox1
     //
     this.richTextBox1.BackColor   = System.Drawing.SystemColors.MenuText;
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.richTextBox1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.richTextBox1.Font        = new System.Drawing.Font("新細明體", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.richTextBox1.ForeColor   = System.Drawing.Color.LimeGreen;
     this.richTextBox1.Location    = new System.Drawing.Point(12, 68);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.ReadOnly    = true;
     this.richTextBox1.Size        = new System.Drawing.Size(476, 243);
     this.richTextBox1.TabIndex    = 8;
     this.richTextBox1.Text        = "";
     //
     // gue
     //
     office2010Red1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonNormalColor3    = System.Drawing.Color.Maroon;
     office2010Red1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     office2010Red1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor             = System.Drawing.Color.White;
     this.gue.ColorTable = office2010Red1;
     this.gue.Enabled    = false;
     this.gue.Font       = new System.Drawing.Font("Consolas", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gue.Location   = new System.Drawing.Point(162, 329);
     this.gue.Name       = "gue";
     this.gue.Size       = new System.Drawing.Size(182, 39);
     this.gue.TabIndex   = 7;
     this.gue.Text       = "GUE";
     this.gue.Theme      = ManiXButton.Theme.MSOffice2010_RED;
     this.gue.UseVisualStyleBackColor = true;
     this.gue.Visible = false;
     this.gue.Click  += new System.EventHandler(this.gue_Click);
     //
     // START
     //
     this.START.ColorTable = office2010Red1;
     this.START.Font       = new System.Drawing.Font("Consolas", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.START.Location   = new System.Drawing.Point(130, 157);
     this.START.Name       = "START";
     this.START.Size       = new System.Drawing.Size(248, 65);
     this.START.TabIndex   = 6;
     this.START.Text       = "start";
     this.START.Theme      = ManiXButton.Theme.MSOffice2010_RED;
     this.START.UseVisualStyleBackColor = true;
     this.START.Click += new System.EventHandler(this.START_Click);
     //
     // xButton1
     //
     office2010Green1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Green1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Green1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Green1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Green1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Green1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Green1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(126)))), ((int)(((byte)(43)))));
     office2010Green1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(184)))), ((int)(((byte)(67)))));
     office2010Green1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(126)))), ((int)(((byte)(43)))));
     office2010Green1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(184)))), ((int)(((byte)(67)))));
     office2010Green1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Green1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Green1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Green1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Green1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Green1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Green1.TextColor             = System.Drawing.Color.White;
     this.xButton1.ColorTable = office2010Green1;
     this.xButton1.Font       = new System.Drawing.Font("Consolas", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xButton1.Location   = new System.Drawing.Point(12, 329);
     this.xButton1.Name       = "xButton1";
     this.xButton1.Size       = new System.Drawing.Size(118, 39);
     this.xButton1.TabIndex   = 2;
     this.xButton1.Text       = "EXIT";
     this.xButton1.Theme      = ManiXButton.Theme.MSOffice2010_Green;
     this.xButton1.UseVisualStyleBackColor = true;
     this.xButton1.Click += new System.EventHandler(this.xButton1_Click);
     //
     // q
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage     = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize          = new System.Drawing.Size(500, 380);
     this.ControlBox          = false;
     this.Controls.Add(this.gue);
     this.Controls.Add(this.START);
     this.Controls.Add(this.xButton1);
     this.Controls.Add(this.QBOX);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.richTextBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "q";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "IQ180大挑戰2";
     this.Load           += new System.EventHandler(this.q_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     ManiXButton.Office2010Red office2010Red1 = new ManiXButton.Office2010Red();
     this.hellolabel             = new System.Windows.Forms.Label();
     this.addTicketButton        = new System.Windows.Forms.Button();
     this.helpButton             = new System.Windows.Forms.Button();
     this.ticketPanel            = new System.Windows.Forms.Panel();
     this.TicketsflowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
     this.monthCalendar1         = new System.Windows.Forms.MonthCalendar();
     this.label2            = new System.Windows.Forms.Label();
     this.myDataPanel       = new System.Windows.Forms.Panel();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.emailLabel        = new System.Windows.Forms.Label();
     this.usernameLabel     = new System.Windows.Forms.Label();
     this.lnameLabel        = new System.Windows.Forms.Label();
     this.fnameLabel        = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.label4            = new System.Windows.Forms.Label();
     this.label5            = new System.Windows.Forms.Label();
     this.label6            = new System.Windows.Forms.Label();
     this.logoutButton      = new ManiXButton.XButton();
     this.ticketPanel.SuspendLayout();
     this.myDataPanel.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // hellolabel
     //
     this.hellolabel.AutoSize  = true;
     this.hellolabel.Font      = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hellolabel.ForeColor = System.Drawing.SystemColors.HotTrack;
     this.hellolabel.Location  = new System.Drawing.Point(11, 9);
     this.hellolabel.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.hellolabel.Name      = "hellolabel";
     this.hellolabel.Size      = new System.Drawing.Size(141, 20);
     this.hellolabel.TabIndex  = 1;
     this.hellolabel.Text      = "Hello USERNAME";
     //
     // addTicketButton
     //
     this.addTicketButton.Location = new System.Drawing.Point(12, 52);
     this.addTicketButton.Name     = "addTicketButton";
     this.addTicketButton.Size     = new System.Drawing.Size(140, 45);
     this.addTicketButton.TabIndex = 2;
     this.addTicketButton.Text     = "New Ticket";
     this.addTicketButton.UseVisualStyleBackColor = true;
     this.addTicketButton.Click += new System.EventHandler(this.addTicketButton_Click);
     //
     // helpButton
     //
     this.helpButton.Location = new System.Drawing.Point(158, 52);
     this.helpButton.Name     = "helpButton";
     this.helpButton.Size     = new System.Drawing.Size(140, 45);
     this.helpButton.TabIndex = 3;
     this.helpButton.Text     = "HELP!";
     this.helpButton.UseVisualStyleBackColor = true;
     this.helpButton.Click += new System.EventHandler(this.helpButton_Click);
     //
     // ticketPanel
     //
     this.ticketPanel.Controls.Add(this.TicketsflowLayoutPanel);
     this.ticketPanel.Location = new System.Drawing.Point(15, 146);
     this.ticketPanel.Name     = "ticketPanel";
     this.ticketPanel.Size     = new System.Drawing.Size(615, 289);
     this.ticketPanel.TabIndex = 4;
     //
     // TicketsflowLayoutPanel
     //
     this.TicketsflowLayoutPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.TicketsflowLayoutPanel.Location = new System.Drawing.Point(0, 0);
     this.TicketsflowLayoutPanel.Name     = "TicketsflowLayoutPanel";
     this.TicketsflowLayoutPanel.Size     = new System.Drawing.Size(615, 289);
     this.TicketsflowLayoutPanel.TabIndex = 0;
     //
     // monthCalendar1
     //
     this.monthCalendar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)));
     this.monthCalendar1.BackColor          = System.Drawing.SystemColors.ControlDark;
     this.monthCalendar1.CalendarDimensions = new System.Drawing.Size(1, 3);
     this.monthCalendar1.Location           = new System.Drawing.Point(642, 0);
     this.monthCalendar1.Name     = "monthCalendar1";
     this.monthCalendar1.TabIndex = 5;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Lucida Sans Unicode", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.SystemColors.HotTrack;
     this.label2.Location  = new System.Drawing.Point(12, 127);
     this.label2.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(112, 16);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "my open Tickets";
     //
     // myDataPanel
     //
     this.myDataPanel.Controls.Add(this.tableLayoutPanel1);
     this.myDataPanel.Location = new System.Drawing.Point(337, 40);
     this.myDataPanel.Name     = "myDataPanel";
     this.myDataPanel.Size     = new System.Drawing.Size(293, 100);
     this.myDataPanel.TabIndex = 7;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 2;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Controls.Add(this.emailLabel, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.usernameLabel, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.lnameLabel, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.fnameLabel, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.label4, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.label5, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.label6, 0, 3);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 4;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(293, 100);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // emailLabel
     //
     this.emailLabel.AutoSize = true;
     this.emailLabel.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.emailLabel.Location = new System.Drawing.Point(149, 75);
     this.emailLabel.Name     = "emailLabel";
     this.emailLabel.Size     = new System.Drawing.Size(51, 18);
     this.emailLabel.TabIndex = 7;
     this.emailLabel.Text     = "EMAIL";
     //
     // usernameLabel
     //
     this.usernameLabel.AutoSize = true;
     this.usernameLabel.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.usernameLabel.Location = new System.Drawing.Point(149, 50);
     this.usernameLabel.Name     = "usernameLabel";
     this.usernameLabel.Size     = new System.Drawing.Size(93, 18);
     this.usernameLabel.TabIndex = 6;
     this.usernameLabel.Text     = "USERNAME";
     //
     // lnameLabel
     //
     this.lnameLabel.AutoSize = true;
     this.lnameLabel.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lnameLabel.Location = new System.Drawing.Point(149, 25);
     this.lnameLabel.Name     = "lnameLabel";
     this.lnameLabel.Size     = new System.Drawing.Size(59, 18);
     this.lnameLabel.TabIndex = 5;
     this.lnameLabel.Text     = "LNAME";
     //
     // fnameLabel
     //
     this.fnameLabel.AutoSize = true;
     this.fnameLabel.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.fnameLabel.Location = new System.Drawing.Point(149, 0);
     this.fnameLabel.Name     = "fnameLabel";
     this.fnameLabel.Size     = new System.Drawing.Size(60, 18);
     this.fnameLabel.TabIndex = 4;
     this.fnameLabel.Text     = "FNAME";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(3, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(78, 18);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Firstname:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(3, 25);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(77, 18);
     this.label4.TabIndex = 1;
     this.label4.Text     = "Lastname:";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(3, 50);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(81, 18);
     this.label5.TabIndex = 2;
     this.label5.Text     = "Username:"******"Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location = new System.Drawing.Point(3, 75);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(54, 18);
     this.label6.TabIndex = 3;
     this.label6.Text     = "E-Mail:";
     //
     // logoutButton
     //
     office2010Red1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Red1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Red1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Red1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Red1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(77)))), ((int)(((byte)(45)))));
     office2010Red1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(148)))), ((int)(((byte)(64)))));
     office2010Red1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Red1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Red1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Red1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Red1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Red1.TextColor             = System.Drawing.Color.White;
     this.logoutButton.ColorTable         = office2010Red1;
     this.logoutButton.Location           = new System.Drawing.Point(337, 5);
     this.logoutButton.Name     = "logoutButton";
     this.logoutButton.Size     = new System.Drawing.Size(293, 27);
     this.logoutButton.TabIndex = 17;
     this.logoutButton.Text     = "logout";
     this.logoutButton.Theme    = ManiXButton.Theme.MSOffice2010_RED;
     this.logoutButton.UseVisualStyleBackColor = true;
     this.logoutButton.Click += new System.EventHandler(this.logoutButton_Click);
     //
     // UserMainWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(820, 472);
     this.Controls.Add(this.logoutButton);
     this.Controls.Add(this.myDataPanel);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.monthCalendar1);
     this.Controls.Add(this.ticketPanel);
     this.Controls.Add(this.helpButton);
     this.Controls.Add(this.addTicketButton);
     this.Controls.Add(this.hellolabel);
     this.Name          = "UserMainWindow";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "TicketSystem";
     this.ticketPanel.ResumeLayout(false);
     this.myDataPanel.ResumeLayout(false);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }