private void InitializeComponent() { this.m_colorTable = new Sunny.UI.UIColorTable(); this.m_colorSample = new Sunny.UI.LabelRotate(); this.edtA = new Sunny.UI.UITextBox(); this.edtR = new Sunny.UI.UITextBox(); this.edtG = new Sunny.UI.UITextBox(); this.edtB = new Sunny.UI.UITextBox(); this.lblA = new Sunny.UI.UILabel(); this.lblR = new Sunny.UI.UILabel(); this.lblG = new Sunny.UI.UILabel(); this.lblB = new Sunny.UI.UILabel(); this.m_colorWheel = new Sunny.UI.UIColorWheel(); this.m_colorBar = new Sunny.UI.HSLColorSlider(); this.m_opacitySlider = new Sunny.UI.ColorSlider(); this.btnOK = new Sunny.UI.UISymbolButton(); this.btnCancel = new Sunny.UI.UISymbolButton(); this.SuspendLayout(); // // m_colorTable // this.m_colorTable.BackColor = System.Drawing.Color.Transparent; this.m_colorTable.Colors = new System.Drawing.Color[] { System.Drawing.Color.Black, System.Drawing.Color.DarkGreen, System.Drawing.Color.DarkSlateGray, System.Drawing.Color.Purple, System.Drawing.Color.Maroon, System.Drawing.Color.Teal, System.Drawing.Color.Green, System.Drawing.Color.Olive, System.Drawing.Color.Navy, System.Drawing.Color.Indigo, System.Drawing.Color.MidnightBlue, System.Drawing.Color.DarkRed, System.Drawing.Color.DarkMagenta, System.Drawing.Color.DarkBlue, System.Drawing.Color.DarkCyan, System.Drawing.Color.DarkOliveGreen, System.Drawing.Color.SaddleBrown, System.Drawing.Color.ForestGreen, System.Drawing.Color.OliveDrab, System.Drawing.Color.SeaGreen, System.Drawing.Color.DarkGoldenrod, System.Drawing.Color.DarkSlateBlue, System.Drawing.Color.MediumBlue, System.Drawing.Color.Sienna, System.Drawing.Color.Brown, System.Drawing.Color.DarkTurquoise, System.Drawing.Color.DimGray, System.Drawing.Color.LightSeaGreen, System.Drawing.Color.DarkViolet, System.Drawing.Color.Firebrick, System.Drawing.Color.MediumVioletRed, System.Drawing.Color.MediumSeaGreen, System.Drawing.Color.Crimson, System.Drawing.Color.Chocolate, System.Drawing.Color.MediumSpringGreen, System.Drawing.Color.Goldenrod, System.Drawing.Color.SteelBlue, System.Drawing.Color.LawnGreen, System.Drawing.Color.DarkOrchid, System.Drawing.Color.Orange, System.Drawing.Color.LimeGreen, System.Drawing.Color.Yellow, System.Drawing.Color.Gold, System.Drawing.Color.Red, System.Drawing.Color.Magenta, System.Drawing.Color.Lime, System.Drawing.Color.SpringGreen, System.Drawing.Color.YellowGreen, System.Drawing.Color.Chartreuse, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.Aqua, System.Drawing.Color.OrangeRed, System.Drawing.Color.Blue, System.Drawing.Color.DarkOrange, System.Drawing.Color.CadetBlue, System.Drawing.Color.Cyan, System.Drawing.Color.Fuchsia, System.Drawing.Color.Gray, System.Drawing.Color.SlateGray, System.Drawing.Color.Peru, System.Drawing.Color.BlueViolet, System.Drawing.Color.LightSlateGray, System.Drawing.Color.DeepPink, System.Drawing.Color.MediumTurquoise, System.Drawing.Color.DodgerBlue, System.Drawing.Color.Turquoise, System.Drawing.Color.RoyalBlue, System.Drawing.Color.SlateBlue, System.Drawing.Color.MediumOrchid, System.Drawing.Color.DarkKhaki, System.Drawing.Color.IndianRed, System.Drawing.Color.GreenYellow, System.Drawing.Color.MediumAquamarine, System.Drawing.Color.Tomato, System.Drawing.Color.DarkSeaGreen, System.Drawing.Color.Orchid, System.Drawing.Color.RosyBrown, System.Drawing.Color.PaleVioletRed, System.Drawing.Color.MediumPurple, System.Drawing.Color.Coral, System.Drawing.Color.CornflowerBlue, System.Drawing.Color.DarkGray, System.Drawing.Color.SandyBrown, System.Drawing.Color.MediumSlateBlue, System.Drawing.Color.Tan, System.Drawing.Color.DarkSalmon, System.Drawing.Color.BurlyWood, System.Drawing.Color.HotPink, System.Drawing.Color.Salmon, System.Drawing.Color.Violet, System.Drawing.Color.LightCoral, System.Drawing.Color.SkyBlue, System.Drawing.Color.LightSalmon, System.Drawing.Color.Khaki, System.Drawing.Color.Plum, System.Drawing.Color.LightGreen, System.Drawing.Color.Aquamarine, System.Drawing.Color.Silver, System.Drawing.Color.LightSkyBlue, System.Drawing.Color.LightSteelBlue, System.Drawing.Color.LightBlue, System.Drawing.Color.PaleGreen, System.Drawing.Color.PowderBlue, System.Drawing.Color.Thistle, System.Drawing.Color.PaleGoldenrod, System.Drawing.Color.PaleTurquoise, System.Drawing.Color.LightGray, System.Drawing.Color.Wheat, System.Drawing.Color.NavajoWhite, System.Drawing.Color.Moccasin, System.Drawing.Color.LightPink, System.Drawing.Color.PeachPuff, System.Drawing.Color.Gainsboro, System.Drawing.Color.Pink, System.Drawing.Color.Bisque, System.Drawing.Color.LightGoldenrodYellow, System.Drawing.Color.LemonChiffon, System.Drawing.Color.BlanchedAlmond, System.Drawing.Color.Beige, System.Drawing.Color.AntiqueWhite, System.Drawing.Color.PapayaWhip, System.Drawing.Color.Cornsilk, System.Drawing.Color.LightYellow, System.Drawing.Color.LightCyan, System.Drawing.Color.Lavender, System.Drawing.Color.Linen, System.Drawing.Color.MistyRose, System.Drawing.Color.OldLace, System.Drawing.Color.WhiteSmoke, System.Drawing.Color.SeaShell, System.Drawing.Color.Azure, System.Drawing.Color.Honeydew, System.Drawing.Color.Ivory, System.Drawing.Color.LavenderBlush, System.Drawing.Color.FloralWhite, System.Drawing.Color.AliceBlue, System.Drawing.Color.MintCream, System.Drawing.Color.GhostWhite, System.Drawing.Color.Snow, System.Drawing.Color.White }; this.m_colorTable.Cols = 16; this.m_colorTable.FieldSize = new System.Drawing.Size(12, 12); this.m_colorTable.FrameColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m_colorTable.Location = new System.Drawing.Point(10, 8); this.m_colorTable.Name = "m_colorTable"; this.m_colorTable.Padding = new System.Windows.Forms.Padding(8); this.m_colorTable.RotatePointAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.m_colorTable.SelectedItem = System.Drawing.Color.Black; this.m_colorTable.Size = new System.Drawing.Size(253, 148); this.m_colorTable.Style = Sunny.UI.UIStyle.Custom; this.m_colorTable.StyleCustomMode = false; this.m_colorTable.TabIndex = 0; this.m_colorTable.TagString = null; this.m_colorTable.Text = "colorTable1"; this.m_colorTable.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.m_colorTable.TextAngle = 0F; this.m_colorTable.SelectedIndexChanged += new System.EventHandler(this.m_colorTable_SelectedIndexChanged); // // m_colorSample // this.m_colorSample.FrameColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m_colorSample.Location = new System.Drawing.Point(10, 163); this.m_colorSample.Name = "m_colorSample"; this.m_colorSample.RotatePointAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.m_colorSample.Size = new System.Drawing.Size(253, 26); this.m_colorSample.Style = Sunny.UI.UIStyle.Custom; this.m_colorSample.StyleCustomMode = false; this.m_colorSample.TabIndex = 1; this.m_colorSample.TabStop = false; this.m_colorSample.TagString = null; this.m_colorSample.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.m_colorSample.TextAngle = 0F; this.m_colorSample.Paint += new System.Windows.Forms.PaintEventHandler(this.m_colorSample_Paint); // // edtA // this.edtA.Cursor = System.Windows.Forms.Cursors.IBeam; this.edtA.FillColor = System.Drawing.Color.White; this.edtA.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.edtA.HasMaximum = true; this.edtA.HasMinimum = true; this.edtA.Location = new System.Drawing.Point(29, 197); this.edtA.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.edtA.Maximum = 255D; this.edtA.Minimum = 0D; this.edtA.Name = "edtA"; this.edtA.Padding = new System.Windows.Forms.Padding(5); this.edtA.Size = new System.Drawing.Size(41, 26); this.edtA.Style = Sunny.UI.UIStyle.Custom; this.edtA.TabIndex = 2; this.edtA.Text = "0"; this.edtA.Type = Sunny.UI.UITextBox.UIEditType.Integer; // // edtR // this.edtR.Cursor = System.Windows.Forms.Cursors.IBeam; this.edtR.FillColor = System.Drawing.Color.White; this.edtR.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.edtR.HasMaximum = true; this.edtR.HasMinimum = true; this.edtR.Location = new System.Drawing.Point(93, 197); this.edtR.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.edtR.Maximum = 255D; this.edtR.Minimum = 0D; this.edtR.Name = "edtR"; this.edtR.Padding = new System.Windows.Forms.Padding(5); this.edtR.Size = new System.Drawing.Size(41, 26); this.edtR.Style = Sunny.UI.UIStyle.Custom; this.edtR.TabIndex = 3; this.edtR.Text = "0"; this.edtR.Type = Sunny.UI.UITextBox.UIEditType.Integer; // // edtG // this.edtG.Cursor = System.Windows.Forms.Cursors.IBeam; this.edtG.FillColor = System.Drawing.Color.White; this.edtG.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.edtG.HasMaximum = true; this.edtG.HasMinimum = true; this.edtG.Location = new System.Drawing.Point(158, 197); this.edtG.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.edtG.Maximum = 255D; this.edtG.Minimum = 0D; this.edtG.Name = "edtG"; this.edtG.Padding = new System.Windows.Forms.Padding(5); this.edtG.Size = new System.Drawing.Size(41, 26); this.edtG.Style = Sunny.UI.UIStyle.Custom; this.edtG.TabIndex = 4; this.edtG.Text = "0"; this.edtG.Type = Sunny.UI.UITextBox.UIEditType.Integer; // // edtB // this.edtB.Cursor = System.Windows.Forms.Cursors.IBeam; this.edtB.FillColor = System.Drawing.Color.White; this.edtB.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.edtB.HasMaximum = true; this.edtB.HasMinimum = true; this.edtB.Location = new System.Drawing.Point(222, 197); this.edtB.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.edtB.Maximum = 255D; this.edtB.Minimum = 0D; this.edtB.Name = "edtB"; this.edtB.Padding = new System.Windows.Forms.Padding(5); this.edtB.Size = new System.Drawing.Size(41, 26); this.edtB.Style = Sunny.UI.UIStyle.Custom; this.edtB.TabIndex = 5; this.edtB.Text = "0"; this.edtB.Type = Sunny.UI.UITextBox.UIEditType.Integer; // // lblA // this.lblA.AutoSize = true; this.lblA.BackColor = System.Drawing.Color.Transparent; this.lblA.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblA.Location = new System.Drawing.Point(9, 200); this.lblA.Name = "lblA"; this.lblA.Size = new System.Drawing.Size(19, 20); this.lblA.Style = Sunny.UI.UIStyle.Custom; this.lblA.TabIndex = 6; this.lblA.Text = "A"; this.lblA.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblR // this.lblR.AutoSize = true; this.lblR.BackColor = System.Drawing.Color.Transparent; this.lblR.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblR.Location = new System.Drawing.Point(74, 200); this.lblR.Name = "lblR"; this.lblR.Size = new System.Drawing.Size(18, 20); this.lblR.Style = Sunny.UI.UIStyle.Custom; this.lblR.TabIndex = 7; this.lblR.Text = "R"; this.lblR.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblG // this.lblG.AutoSize = true; this.lblG.BackColor = System.Drawing.Color.Transparent; this.lblG.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblG.Location = new System.Drawing.Point(138, 200); this.lblG.Name = "lblG"; this.lblG.Size = new System.Drawing.Size(19, 20); this.lblG.Style = Sunny.UI.UIStyle.Custom; this.lblG.TabIndex = 8; this.lblG.Text = "G"; this.lblG.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblB // this.lblB.AutoSize = true; this.lblB.BackColor = System.Drawing.Color.Transparent; this.lblB.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblB.Location = new System.Drawing.Point(203, 200); this.lblB.Name = "lblB"; this.lblB.Size = new System.Drawing.Size(18, 20); this.lblB.Style = Sunny.UI.UIStyle.Custom; this.lblB.TabIndex = 9; this.lblB.Text = "B"; this.lblB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // m_colorWheel // this.m_colorWheel.BackColor = System.Drawing.Color.Transparent; this.m_colorWheel.FrameColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m_colorWheel.Location = new System.Drawing.Point(269, 8); this.m_colorWheel.Name = "m_colorWheel"; this.m_colorWheel.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(235)))), ((int)(((byte)(205))))); this.m_colorWheel.Size = new System.Drawing.Size(148, 148); this.m_colorWheel.Style = Sunny.UI.UIStyle.Custom; this.m_colorWheel.StyleCustomMode = false; this.m_colorWheel.TabIndex = 10; this.m_colorWheel.TagString = null; this.m_colorWheel.Text = "colorWheel1"; this.m_colorWheel.SelectedColorChanged += new System.EventHandler(this.m_colorWheel_SelectedColorChanged); // // m_colorBar // this.m_colorBar.BackColor = System.Drawing.Color.Transparent; this.m_colorBar.BarPadding = new System.Windows.Forms.Padding(12, 5, 32, 10); this.m_colorBar.Color1 = System.Drawing.Color.Black; this.m_colorBar.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); this.m_colorBar.Color3 = System.Drawing.Color.White; this.m_colorBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.m_colorBar.FrameColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m_colorBar.Location = new System.Drawing.Point(422, 8); this.m_colorBar.Name = "m_colorBar"; this.m_colorBar.NumberOfColors = Sunny.UI.ColorSlider.eNumberOfColors.Use3Colors; this.m_colorBar.Orientation = System.Windows.Forms.Orientation.Vertical; this.m_colorBar.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.m_colorBar.Percent = 0F; this.m_colorBar.RotatePointAlignment = System.Drawing.ContentAlignment.MiddleRight; this.m_colorBar.Size = new System.Drawing.Size(45, 148); this.m_colorBar.Style = Sunny.UI.UIStyle.Custom; this.m_colorBar.StyleCustomMode = false; this.m_colorBar.TabIndex = 11; this.m_colorBar.TagString = null; this.m_colorBar.Text = "Lightness"; this.m_colorBar.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.m_colorBar.TextAngle = 270F; this.m_colorBar.ValueOrientation = Sunny.UI.ColorSlider.eValueOrientation.MaxToMin; this.m_colorBar.SelectedValueChanged += new System.EventHandler(this.m_colorBar_SelectedValueChanged); // // m_opacitySlider // this.m_opacitySlider.BackColor = System.Drawing.Color.Transparent; this.m_opacitySlider.BarPadding = new System.Windows.Forms.Padding(60, 12, 80, 25); this.m_opacitySlider.Color1 = System.Drawing.Color.White; this.m_opacitySlider.Color2 = System.Drawing.Color.Black; this.m_opacitySlider.Color3 = System.Drawing.Color.Black; this.m_opacitySlider.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.m_opacitySlider.ForeColor = System.Drawing.Color.Black; this.m_opacitySlider.FrameColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m_opacitySlider.Location = new System.Drawing.Point(269, 163); this.m_opacitySlider.Name = "m_opacitySlider"; this.m_opacitySlider.NumberOfColors = Sunny.UI.ColorSlider.eNumberOfColors.Use2Colors; this.m_opacitySlider.Orientation = System.Windows.Forms.Orientation.Horizontal; this.m_opacitySlider.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); this.m_opacitySlider.Percent = 1F; this.m_opacitySlider.RotatePointAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.m_opacitySlider.Size = new System.Drawing.Size(198, 26); this.m_opacitySlider.Style = Sunny.UI.UIStyle.Custom; this.m_opacitySlider.StyleCustomMode = false; this.m_opacitySlider.TabIndex = 1; this.m_opacitySlider.TagString = null; this.m_opacitySlider.Text = "Opacity"; this.m_opacitySlider.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.m_opacitySlider.TextAngle = 0F; this.m_opacitySlider.ValueOrientation = Sunny.UI.ColorSlider.eValueOrientation.MinToMax; this.m_opacitySlider.SelectedValueChanged += new System.EventHandler(this.m_opacitySlider_SelectedValueChanged); // // btnOK // this.btnOK.Cursor = System.Windows.Forms.Cursors.Hand; this.btnOK.Font = new System.Drawing.Font("微软雅黑", 12F); this.btnOK.Location = new System.Drawing.Point(269, 197); this.btnOK.Name = "btnOK"; this.btnOK.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0); this.btnOK.Size = new System.Drawing.Size(95, 26); this.btnOK.Style = Sunny.UI.UIStyle.Custom; this.btnOK.TabIndex = 12; this.btnOK.Text = "确定"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 12F); this.btnCancel.Location = new System.Drawing.Point(372, 197); this.btnCancel.Name = "btnCancel"; this.btnCancel.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0); this.btnCancel.Size = new System.Drawing.Size(95, 26); this.btnCancel.Style = Sunny.UI.UIStyle.Custom; this.btnCancel.Symbol = 61453; this.btnCancel.TabIndex = 13; this.btnCancel.Text = "取消"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // UIColorItem // this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Controls.Add(this.m_opacitySlider); this.Controls.Add(this.m_colorBar); this.Controls.Add(this.m_colorWheel); this.Controls.Add(this.lblB); this.Controls.Add(this.lblG); this.Controls.Add(this.lblR); this.Controls.Add(this.lblA); this.Controls.Add(this.edtB); this.Controls.Add(this.edtG); this.Controls.Add(this.edtR); this.Controls.Add(this.edtA); this.Controls.Add(this.m_colorSample); this.Controls.Add(this.m_colorTable); this.FillColor = System.Drawing.Color.White; this.Name = "UIColorItem"; this.Size = new System.Drawing.Size(476, 233); this.Style = Sunny.UI.UIStyle.Custom; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.uiLine1 = new Sunny.UI.UILine(); this.uiLine2 = new Sunny.UI.UILine(); this.s1 = new Sunny.UI.UISymbolButton(); this.m1 = new Sunny.UI.UISymbolButton(); this.h1 = new Sunny.UI.UISymbolButton(); this.s2 = new Sunny.UI.UISymbolButton(); this.m2 = new Sunny.UI.UISymbolButton(); this.h2 = new Sunny.UI.UISymbolButton(); this.btnOK = new Sunny.UI.UISymbolButton(); this.btnCancel = new Sunny.UI.UISymbolButton(); this.hc = new Sunny.UI.UILabel(); this.mc = new Sunny.UI.UILabel(); this.sc = new Sunny.UI.UILabel(); this.st = new Sunny.UI.UILabel(); this.mt = new Sunny.UI.UILabel(); this.ht = new Sunny.UI.UILabel(); this.sb = new Sunny.UI.UILabel(); this.mb = new Sunny.UI.UILabel(); this.hb = new Sunny.UI.UILabel(); this.SuspendLayout(); // // uiLine1 // this.uiLine1.FillColor = System.Drawing.Color.White; this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiLine1.LineColor = System.Drawing.Color.Silver; this.uiLine1.Location = new System.Drawing.Point(6, 54); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine1.Name = "uiLine1"; this.uiLine1.Size = new System.Drawing.Size(157, 16); this.uiLine1.Style = Sunny.UI.UIStyle.Custom; this.uiLine1.StyleCustomMode = true; this.uiLine1.TabIndex = 2; // // uiLine2 // this.uiLine2.FillColor = System.Drawing.Color.White; this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiLine2.LineColor = System.Drawing.Color.Silver; this.uiLine2.Location = new System.Drawing.Point(6, 88); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; this.uiLine2.Size = new System.Drawing.Size(157, 16); this.uiLine2.Style = Sunny.UI.UIStyle.Custom; this.uiLine2.StyleCustomMode = true; this.uiLine2.TabIndex = 3; // // s1 // this.s1.BackColor = System.Drawing.Color.Transparent; this.s1.Cursor = System.Windows.Forms.Cursors.Hand; this.s1.FillColor = System.Drawing.Color.White; this.s1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.s1.Font = new System.Drawing.Font("微软雅黑", 12F); this.s1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.s1.ImageInterval = 0; this.s1.Location = new System.Drawing.Point(122, 4); this.s1.Name = "s1"; this.s1.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.s1.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.s1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.s1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.s1.Size = new System.Drawing.Size(30, 24); this.s1.Style = Sunny.UI.UIStyle.Custom; this.s1.StyleCustomMode = true; this.s1.Symbol = 61702; this.s1.TabIndex = 6; this.s1.Tag = "3"; this.s1.Click += new System.EventHandler(this.s1_Click); // // m1 // this.m1.BackColor = System.Drawing.Color.Transparent; this.m1.Cursor = System.Windows.Forms.Cursors.Hand; this.m1.FillColor = System.Drawing.Color.White; this.m1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m1.Font = new System.Drawing.Font("微软雅黑", 12F); this.m1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m1.ImageInterval = 0; this.m1.Location = new System.Drawing.Point(69, 4); this.m1.Name = "m1"; this.m1.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.m1.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.m1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.m1.Size = new System.Drawing.Size(30, 24); this.m1.Style = Sunny.UI.UIStyle.Custom; this.m1.StyleCustomMode = true; this.m1.Symbol = 61702; this.m1.TabIndex = 5; this.m1.Tag = "2"; this.m1.Click += new System.EventHandler(this.m1_Click); // // h1 // this.h1.BackColor = System.Drawing.Color.Transparent; this.h1.Cursor = System.Windows.Forms.Cursors.Hand; this.h1.FillColor = System.Drawing.Color.White; this.h1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.h1.Font = new System.Drawing.Font("微软雅黑", 12F); this.h1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.h1.ImageInterval = 0; this.h1.Location = new System.Drawing.Point(16, 4); this.h1.Name = "h1"; this.h1.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.h1.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.h1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.h1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.h1.Size = new System.Drawing.Size(30, 24); this.h1.Style = Sunny.UI.UIStyle.Custom; this.h1.StyleCustomMode = true; this.h1.Symbol = 61702; this.h1.TabIndex = 4; this.h1.Tag = "1"; this.h1.Click += new System.EventHandler(this.h1_Click); // // s2 // this.s2.BackColor = System.Drawing.Color.Transparent; this.s2.Cursor = System.Windows.Forms.Cursors.Hand; this.s2.FillColor = System.Drawing.Color.White; this.s2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.s2.Font = new System.Drawing.Font("微软雅黑", 12F); this.s2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.s2.ImageInterval = 0; this.s2.Location = new System.Drawing.Point(122, 129); this.s2.Name = "s2"; this.s2.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.s2.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.s2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.s2.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.s2.Size = new System.Drawing.Size(30, 24); this.s2.Style = Sunny.UI.UIStyle.Custom; this.s2.StyleCustomMode = true; this.s2.Symbol = 61703; this.s2.TabIndex = 9; this.s2.Tag = "6"; this.s2.Click += new System.EventHandler(this.s2_Click); // // m2 // this.m2.BackColor = System.Drawing.Color.Transparent; this.m2.Cursor = System.Windows.Forms.Cursors.Hand; this.m2.FillColor = System.Drawing.Color.White; this.m2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m2.Font = new System.Drawing.Font("微软雅黑", 12F); this.m2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m2.ImageInterval = 0; this.m2.Location = new System.Drawing.Point(69, 129); this.m2.Name = "m2"; this.m2.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.m2.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.m2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.m2.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.m2.Size = new System.Drawing.Size(30, 24); this.m2.Style = Sunny.UI.UIStyle.Custom; this.m2.StyleCustomMode = true; this.m2.Symbol = 61703; this.m2.TabIndex = 8; this.m2.Tag = "5"; this.m2.Click += new System.EventHandler(this.m2_Click); // // h2 // this.h2.BackColor = System.Drawing.Color.Transparent; this.h2.Cursor = System.Windows.Forms.Cursors.Hand; this.h2.FillColor = System.Drawing.Color.White; this.h2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.h2.Font = new System.Drawing.Font("微软雅黑", 12F); this.h2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.h2.ImageInterval = 0; this.h2.Location = new System.Drawing.Point(16, 128); this.h2.Name = "h2"; this.h2.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.h2.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.h2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.h2.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.h2.Size = new System.Drawing.Size(30, 24); this.h2.Style = Sunny.UI.UIStyle.Custom; this.h2.StyleCustomMode = true; this.h2.Symbol = 61703; this.h2.TabIndex = 7; this.h2.Tag = "4"; this.h2.Click += new System.EventHandler(this.h2_Click); // // btnOK // this.btnOK.Cursor = System.Windows.Forms.Cursors.Hand; this.btnOK.Font = new System.Drawing.Font("微软雅黑", 12F); this.btnOK.Location = new System.Drawing.Point(8, 162); this.btnOK.Name = "btnOK"; this.btnOK.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0); this.btnOK.Size = new System.Drawing.Size(74, 27); this.btnOK.Style = Sunny.UI.UIStyle.Custom; this.btnOK.TabIndex = 10; this.btnOK.Text = "确定"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 12F); this.btnCancel.Location = new System.Drawing.Point(87, 162); this.btnCancel.Name = "btnCancel"; this.btnCancel.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0); this.btnCancel.Size = new System.Drawing.Size(74, 27); this.btnCancel.Style = Sunny.UI.UIStyle.Custom; this.btnCancel.Symbol = 61453; this.btnCancel.TabIndex = 11; this.btnCancel.Text = "取消"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // hc // this.hc.BackColor = System.Drawing.Color.Transparent; this.hc.Font = new System.Drawing.Font("微软雅黑", 12F); this.hc.Location = new System.Drawing.Point(9, 65); this.hc.Name = "hc"; this.hc.Size = new System.Drawing.Size(46, 27); this.hc.StyleCustomMode = true; this.hc.TabIndex = 12; this.hc.Text = "00"; this.hc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.hc.DoubleClick += new System.EventHandler(this.hc_DoubleClick); // // mc // this.mc.BackColor = System.Drawing.Color.Transparent; this.mc.Font = new System.Drawing.Font("微软雅黑", 12F); this.mc.Location = new System.Drawing.Point(62, 65); this.mc.Name = "mc"; this.mc.Size = new System.Drawing.Size(46, 27); this.mc.StyleCustomMode = true; this.mc.TabIndex = 13; this.mc.Text = "00"; this.mc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.mc.DoubleClick += new System.EventHandler(this.mc_DoubleClick); // // sc // this.sc.BackColor = System.Drawing.Color.Transparent; this.sc.Font = new System.Drawing.Font("微软雅黑", 12F); this.sc.Location = new System.Drawing.Point(115, 65); this.sc.Name = "sc"; this.sc.Size = new System.Drawing.Size(46, 27); this.sc.StyleCustomMode = true; this.sc.TabIndex = 14; this.sc.Text = "00"; this.sc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.sc.DoubleClick += new System.EventHandler(this.sc_DoubleClick); // // st // this.st.BackColor = System.Drawing.Color.Transparent; this.st.Font = new System.Drawing.Font("微软雅黑", 12F); this.st.ForeColor = System.Drawing.Color.DarkGray; this.st.Location = new System.Drawing.Point(115, 31); this.st.Name = "st"; this.st.Size = new System.Drawing.Size(46, 22); this.st.StyleCustomMode = true; this.st.TabIndex = 17; this.st.Text = "00"; this.st.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // mt // this.mt.BackColor = System.Drawing.Color.Transparent; this.mt.Font = new System.Drawing.Font("微软雅黑", 12F); this.mt.ForeColor = System.Drawing.Color.DarkGray; this.mt.Location = new System.Drawing.Point(62, 31); this.mt.Name = "mt"; this.mt.Size = new System.Drawing.Size(46, 22); this.mt.StyleCustomMode = true; this.mt.TabIndex = 16; this.mt.Text = "00"; this.mt.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // ht // this.ht.BackColor = System.Drawing.Color.Transparent; this.ht.Font = new System.Drawing.Font("微软雅黑", 12F); this.ht.ForeColor = System.Drawing.Color.DarkGray; this.ht.Location = new System.Drawing.Point(9, 31); this.ht.Name = "ht"; this.ht.Size = new System.Drawing.Size(46, 22); this.ht.StyleCustomMode = true; this.ht.TabIndex = 15; this.ht.Text = "00"; this.ht.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sb // this.sb.BackColor = System.Drawing.Color.Transparent; this.sb.Font = new System.Drawing.Font("微软雅黑", 12F); this.sb.ForeColor = System.Drawing.Color.DarkGray; this.sb.Location = new System.Drawing.Point(115, 103); this.sb.Name = "sb"; this.sb.Size = new System.Drawing.Size(46, 22); this.sb.StyleCustomMode = true; this.sb.TabIndex = 20; this.sb.Text = "00"; this.sb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // mb // this.mb.BackColor = System.Drawing.Color.Transparent; this.mb.Font = new System.Drawing.Font("微软雅黑", 12F); this.mb.ForeColor = System.Drawing.Color.DarkGray; this.mb.Location = new System.Drawing.Point(62, 103); this.mb.Name = "mb"; this.mb.Size = new System.Drawing.Size(46, 22); this.mb.StyleCustomMode = true; this.mb.TabIndex = 19; this.mb.Text = "00"; this.mb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // hb // this.hb.BackColor = System.Drawing.Color.Transparent; this.hb.Font = new System.Drawing.Font("微软雅黑", 12F); this.hb.ForeColor = System.Drawing.Color.DarkGray; this.hb.Location = new System.Drawing.Point(9, 103); this.hb.Name = "hb"; this.hb.Size = new System.Drawing.Size(46, 22); this.hb.StyleCustomMode = true; this.hb.TabIndex = 18; this.hb.Text = "00"; this.hb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // UITimeItem // this.Controls.Add(this.sb); this.Controls.Add(this.mb); this.Controls.Add(this.hb); this.Controls.Add(this.st); this.Controls.Add(this.mt); this.Controls.Add(this.ht); this.Controls.Add(this.sc); this.Controls.Add(this.mc); this.Controls.Add(this.hc); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Controls.Add(this.s2); this.Controls.Add(this.m2); this.Controls.Add(this.h2); this.Controls.Add(this.s1); this.Controls.Add(this.m1); this.Controls.Add(this.h1); this.Controls.Add(this.uiLine2); this.Controls.Add(this.uiLine1); this.FillColor = System.Drawing.Color.White; this.Name = "UITimeItem"; this.Size = new System.Drawing.Size(168, 200); this.Style = Sunny.UI.UIStyle.Custom; this.ResumeLayout(false); }
private void InitializeComponent() { this.TopPanel = new Sunny.UI.UIPanel(); this.b4 = new Sunny.UI.UISymbolButton(); this.b3 = new Sunny.UI.UISymbolButton(); this.b2 = new Sunny.UI.UISymbolButton(); this.b1 = new Sunny.UI.UISymbolButton(); this.TabControl = new Sunny.UI.UITabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.p1 = new Sunny.UI.UIPanel(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.p2 = new Sunny.UI.UIPanel(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.p3 = new Sunny.UI.UIPanel(); this.TopPanel.SuspendLayout(); this.TabControl.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); // // TopPanel // this.TopPanel.Controls.Add(this.b4); this.TopPanel.Controls.Add(this.b3); this.TopPanel.Controls.Add(this.b2); this.TopPanel.Controls.Add(this.b1); this.TopPanel.Dock = System.Windows.Forms.DockStyle.Top; this.TopPanel.FillColor = System.Drawing.Color.White; this.TopPanel.Font = new System.Drawing.Font("微软雅黑", 12F); this.TopPanel.Location = new System.Drawing.Point(0, 0); this.TopPanel.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.TopPanel.MinimumSize = new System.Drawing.Size(1, 1); this.TopPanel.Name = "TopPanel"; this.TopPanel.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.TopPanel.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)(((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right))); this.TopPanel.Size = new System.Drawing.Size(461, 31); this.TopPanel.Style = Sunny.UI.UIStyle.Custom; this.TopPanel.StyleCustomMode = true; this.TopPanel.TabIndex = 0; this.TopPanel.Text = "2020-05-05"; this.TopPanel.Click += new System.EventHandler(this.TopPanel_Click); // // b4 // this.b4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.b4.BackColor = System.Drawing.Color.Transparent; this.b4.Cursor = System.Windows.Forms.Cursors.Hand; this.b4.FillColor = System.Drawing.Color.White; this.b4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b4.Font = new System.Drawing.Font("微软雅黑", 12F); this.b4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b4.ImageInterval = 0; this.b4.Location = new System.Drawing.Point(427, 4); this.b4.MinimumSize = new System.Drawing.Size(1, 1); this.b4.Name = "b4"; this.b4.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.b4.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.b4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b4.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.b4.Size = new System.Drawing.Size(30, 24); this.b4.Style = Sunny.UI.UIStyle.Custom; this.b4.StyleCustomMode = true; this.b4.Symbol = 61697; this.b4.TabIndex = 3; this.b4.Click += new System.EventHandler(this.b4_Click); // // b3 // this.b3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.b3.BackColor = System.Drawing.Color.Transparent; this.b3.Cursor = System.Windows.Forms.Cursors.Hand; this.b3.FillColor = System.Drawing.Color.White; this.b3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b3.Font = new System.Drawing.Font("微软雅黑", 12F); this.b3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b3.ImageInterval = 0; this.b3.Location = new System.Drawing.Point(391, 4); this.b3.MinimumSize = new System.Drawing.Size(1, 1); this.b3.Name = "b3"; this.b3.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.b3.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.b3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b3.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.b3.Size = new System.Drawing.Size(30, 24); this.b3.Style = Sunny.UI.UIStyle.Custom; this.b3.StyleCustomMode = true; this.b3.Symbol = 61701; this.b3.TabIndex = 2; this.b3.Click += new System.EventHandler(this.b3_Click); // // b2 // this.b2.BackColor = System.Drawing.Color.Transparent; this.b2.Cursor = System.Windows.Forms.Cursors.Hand; this.b2.FillColor = System.Drawing.Color.White; this.b2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b2.Font = new System.Drawing.Font("微软雅黑", 12F); this.b2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b2.ImageInterval = 0; this.b2.Location = new System.Drawing.Point(40, 4); this.b2.MinimumSize = new System.Drawing.Size(1, 1); this.b2.Name = "b2"; this.b2.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.b2.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.b2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b2.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.b2.Size = new System.Drawing.Size(30, 24); this.b2.Style = Sunny.UI.UIStyle.Custom; this.b2.StyleCustomMode = true; this.b2.Symbol = 61700; this.b2.TabIndex = 1; this.b2.Click += new System.EventHandler(this.b2_Click); // // b1 // this.b1.BackColor = System.Drawing.Color.Transparent; this.b1.Cursor = System.Windows.Forms.Cursors.Hand; this.b1.FillColor = System.Drawing.Color.White; this.b1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b1.Font = new System.Drawing.Font("微软雅黑", 12F); this.b1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b1.ImageInterval = 0; this.b1.Location = new System.Drawing.Point(4, 4); this.b1.MinimumSize = new System.Drawing.Size(1, 1); this.b1.Name = "b1"; this.b1.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); this.b1.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.b1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.b1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; this.b1.Size = new System.Drawing.Size(30, 24); this.b1.Style = Sunny.UI.UIStyle.Custom; this.b1.StyleCustomMode = true; this.b1.Symbol = 61696; this.b1.TabIndex = 0; this.b1.Click += new System.EventHandler(this.b1_Click); // // TabControl // this.TabControl.Controls.Add(this.tabPage1); this.TabControl.Controls.Add(this.tabPage2); this.TabControl.Controls.Add(this.tabPage3); this.TabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.TabControl.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; this.TabControl.Font = new System.Drawing.Font("微软雅黑", 12F); this.TabControl.ItemSize = new System.Drawing.Size(150, 40); this.TabControl.Location = new System.Drawing.Point(0, 31); this.TabControl.Name = "TabControl"; this.TabControl.SelectedIndex = 0; this.TabControl.Size = new System.Drawing.Size(461, 317); this.TabControl.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.TabControl.Style = Sunny.UI.UIStyle.Custom; this.TabControl.TabIndex = 1; this.TabControl.SelectedIndexChanged += new System.EventHandler(this.TabControl_SelectedIndexChanged); // // tabPage1 // this.tabPage1.Controls.Add(this.p1); this.tabPage1.Location = new System.Drawing.Point(0, 40); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(461, 277); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "tabPage1"; this.tabPage1.UseVisualStyleBackColor = true; // // p1 // this.p1.Dock = System.Windows.Forms.DockStyle.Fill; this.p1.FillColor = System.Drawing.Color.White; this.p1.Font = new System.Drawing.Font("微软雅黑", 12F); this.p1.Location = new System.Drawing.Point(0, 0); this.p1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.p1.MinimumSize = new System.Drawing.Size(1, 1); this.p1.Name = "p1"; this.p1.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.p1.Size = new System.Drawing.Size(461, 277); this.p1.Style = Sunny.UI.UIStyle.Custom; this.p1.TabIndex = 0; this.p1.Text = null; this.p1.PaintOther += new System.Windows.Forms.PaintEventHandler(this.p1_PaintOther); this.p1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.p1_MouseClick); this.p1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.p1_MouseMove); // // tabPage2 // this.tabPage2.Controls.Add(this.p2); this.tabPage2.Location = new System.Drawing.Point(0, 40); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(450, 230); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "tabPage2"; this.tabPage2.UseVisualStyleBackColor = true; // // p2 // this.p2.Dock = System.Windows.Forms.DockStyle.Fill; this.p2.FillColor = System.Drawing.Color.White; this.p2.Font = new System.Drawing.Font("微软雅黑", 12F); this.p2.Location = new System.Drawing.Point(0, 0); this.p2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.p2.MinimumSize = new System.Drawing.Size(1, 1); this.p2.Name = "p2"; this.p2.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.p2.Size = new System.Drawing.Size(450, 230); this.p2.Style = Sunny.UI.UIStyle.Custom; this.p2.TabIndex = 1; this.p2.Text = null; this.p2.PaintOther += new System.Windows.Forms.PaintEventHandler(this.p2_PaintOther); this.p2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.p2_MouseClick); this.p2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.p2_MouseMove); // // tabPage3 // this.tabPage3.Controls.Add(this.p3); this.tabPage3.Location = new System.Drawing.Point(0, 40); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(461, 277); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "tabPage3"; this.tabPage3.UseVisualStyleBackColor = true; // // p3 // this.p3.Dock = System.Windows.Forms.DockStyle.Fill; this.p3.FillColor = System.Drawing.Color.White; this.p3.Font = new System.Drawing.Font("微软雅黑", 12F); this.p3.Location = new System.Drawing.Point(0, 0); this.p3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.p3.MinimumSize = new System.Drawing.Size(1, 1); this.p3.Name = "p3"; this.p3.RadiusSides = Sunny.UI.UICornerRadiusSides.None; this.p3.Size = new System.Drawing.Size(461, 277); this.p3.Style = Sunny.UI.UIStyle.Custom; this.p3.TabIndex = 2; this.p3.Text = null; this.p3.PaintOther += new System.Windows.Forms.PaintEventHandler(this.p3_PaintOther); this.p3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.p3_MouseClick); this.p3.MouseMove += new System.Windows.Forms.MouseEventHandler(this.p3_MouseMove); // // UIDateItem // this.Controls.Add(this.TabControl); this.Controls.Add(this.TopPanel); this.FillColor = System.Drawing.Color.White; this.Name = "UIDateItem"; this.Size = new System.Drawing.Size(461, 348); this.Style = Sunny.UI.UIStyle.Custom; this.TopPanel.ResumeLayout(false); this.TabControl.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.ResumeLayout(false); }