private void InitializeComponent() { this.pnlButton = new System.Windows.Forms.Panel(); this.splitContainer1 = new Oranikle.Studio.Controls.CtrlStyledSplitContainer(); this.textBox = new Oranikle.Studio.Controls.StyledTextBox(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // pnlButton // this.pnlButton.BackColor = System.Drawing.SystemColors.ButtonFace; this.pnlButton.BackgroundImage = global::Oranikle.Studio.Controls.Properties.Resources.ComboBoxTransparent; this.pnlButton.Dock = System.Windows.Forms.DockStyle.Right; this.pnlButton.Location = new System.Drawing.Point(154, 1); this.pnlButton.Name = "pnlButton"; this.pnlButton.Size = new System.Drawing.Size(16, 21); this.pnlButton.TabIndex = 1; this.pnlButton.Click += new System.EventHandler(this.pnlButton_Click); // // splitContainer1 // this.splitContainer1.BackColor = System.Drawing.Color.White; this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.IsSplitterFixed = true; this.splitContainer1.Location = new System.Drawing.Point(1, 1); this.splitContainer1.Margin = new System.Windows.Forms.Padding(0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splitContainer1.Panel1MinSize = 1; // // splitContainer1.Panel2 // this.splitContainer1.Panel2.BackColor = System.Drawing.Color.Transparent; this.splitContainer1.Panel2.Controls.Add(this.textBox); this.splitContainer1.Panel2.Padding = new System.Windows.Forms.Padding(2, 0, 0, 0); this.splitContainer1.Panel2MinSize = 13; this.splitContainer1.Size = new System.Drawing.Size(153, 21); this.splitContainer1.SplitterDistance = 1; this.splitContainer1.SplitterWidth = 1; this.splitContainer1.TabIndex = 2; // // textBox // this.textBox.BackColor = System.Drawing.Color.White; this.textBox.BorderColor = System.Drawing.Color.LightGray; this.textBox.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox.ConvertEnterToTab = true; this.textBox.ConvertEnterToTabForDialogs = false; this.textBox.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.textBox.Location = new System.Drawing.Point(2, 0); this.textBox.Margin = new System.Windows.Forms.Padding(0); this.textBox.Name = "textBox"; this.textBox.Size = new System.Drawing.Size(151, 14); this.textBox.TabIndex = 0; this.textBox.TextChanged += new System.EventHandler(this.textBox_TextChanged); this.textBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox_KeyDown); this.textBox.BackColorChanged += new System.EventHandler(this.textBox_BackColorChanged); // // CtrlDropdownHost // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.splitContainer1); this.Controls.Add(this.pnlButton); this.Margin = new System.Windows.Forms.Padding(1); this.Name = "CtrlDropdownHost"; this.Padding = new System.Windows.Forms.Padding(1); this.Size = new System.Drawing.Size(171, 23); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); this.splitContainer1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(Oranikle.Studio.Controls.CtrlStickyNote)); ctrlCustomPanel1 = new Oranikle.Studio.Controls.StyledPanel(); splitContainer1 = new Oranikle.Studio.Controls.CtrlStyledSplitContainer(); splitContainer3 = new Oranikle.Studio.Controls.CtrlStyledSplitContainer(); ctrlStyledPictureBox1 = new Oranikle.Studio.Controls.CtrlStyledPictureBox(); richTextBox1 = new Oranikle.Studio.Controls.StyledTextBox(); splitContainer2 = new Oranikle.Studio.Controls.CtrlStyledSplitContainer(); ctrlRed = new Oranikle.Studio.Controls.CtrlStyledPictureBox(); ctrlYellow = new Oranikle.Studio.Controls.CtrlStyledPictureBox(); ctrlBlue = new Oranikle.Studio.Controls.CtrlStyledPictureBox(); ctrlCustomPanel1.SuspendLayout(); splitContainer1.Panel1.SuspendLayout(); splitContainer1.Panel2.SuspendLayout(); splitContainer1.SuspendLayout(); splitContainer3.Panel1.SuspendLayout(); splitContainer3.Panel2.SuspendLayout(); splitContainer3.SuspendLayout(); //ctrlStyledPictureBox1.BeginInit(); splitContainer2.Panel1.SuspendLayout(); splitContainer2.SuspendLayout(); //ctrlRed.BeginInit(); //ctrlYellow.BeginInit(); //ctrlBlue.BeginInit(); SuspendLayout(); ctrlCustomPanel1.BackColor = System.Drawing.Color.Gold; ctrlCustomPanel1.BackColor2 = System.Drawing.Color.White; ctrlCustomPanel1.BorderColor = System.Drawing.Color.Silver; ctrlCustomPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; ctrlCustomPanel1.Controls.Add(splitContainer1); ctrlCustomPanel1.Dock = System.Windows.Forms.DockStyle.Fill; ctrlCustomPanel1.Location = new System.Drawing.Point(0, 0); ctrlCustomPanel1.Name = "ctrlCustomPanel1"; ctrlCustomPanel1.Padding = new System.Windows.Forms.Padding(2); ctrlCustomPanel1.Size = new System.Drawing.Size(153, 142); ctrlCustomPanel1.StickyParent = null; ctrlCustomPanel1.TabIndex = 0; ctrlCustomPanel1.MouseMove += new System.Windows.Forms.MouseEventHandler(Drag_MouseMove); ctrlCustomPanel1.MouseDown += new System.Windows.Forms.MouseEventHandler(Drag_MouseDown); ctrlCustomPanel1.MouseUp += new System.Windows.Forms.MouseEventHandler(Drag_MouseUp); splitContainer1.BackColor = System.Drawing.Color.Gold; splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; splitContainer1.IsSplitterFixed = true; splitContainer1.Location = new System.Drawing.Point(2, 2); splitContainer1.Name = "splitContainer1"; splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; splitContainer1.Panel1.Controls.Add(splitContainer3); splitContainer1.Panel2.BackColor = System.Drawing.Color.Gold; splitContainer1.Panel2.Controls.Add(splitContainer2); splitContainer1.Panel2.MouseMove += new System.Windows.Forms.MouseEventHandler(Drag_MouseMove); splitContainer1.Panel2.MouseDown += new System.Windows.Forms.MouseEventHandler(Drag_MouseDown); splitContainer1.Panel2.MouseUp += new System.Windows.Forms.MouseEventHandler(Drag_MouseUp); splitContainer1.Panel2MinSize = 19; splitContainer1.Size = new System.Drawing.Size(149, 138); splitContainer1.SplitterDistance = 115; splitContainer1.TabIndex = 1; splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill; splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; splitContainer3.IsSplitterFixed = true; splitContainer3.Location = new System.Drawing.Point(0, 0); splitContainer3.Name = "splitContainer3"; splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal; splitContainer3.Panel1.Controls.Add(ctrlStyledPictureBox1); splitContainer3.Panel1.Padding = new System.Windows.Forms.Padding(0, 2, 2, 0); splitContainer3.Panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(Drag_MouseMove); splitContainer3.Panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(Drag_MouseDown); splitContainer3.Panel1.MouseUp += new System.Windows.Forms.MouseEventHandler(Drag_MouseUp); splitContainer3.Panel1MinSize = 14; splitContainer3.Panel2.Controls.Add(richTextBox1); splitContainer3.Size = new System.Drawing.Size(149, 115); splitContainer3.SplitterDistance = 14; splitContainer3.SplitterWidth = 1; splitContainer3.TabIndex = 0; ctrlStyledPictureBox1.BorderColor = System.Drawing.Color.LightGray; ctrlStyledPictureBox1.Cursor = System.Windows.Forms.Cursors.Hand; ctrlStyledPictureBox1.Dock = System.Windows.Forms.DockStyle.Right; ctrlStyledPictureBox1.Image = (System.Drawing.Image)componentResourceManager.GetObject("ctrlStyledPictureBox1.Image"); ctrlStyledPictureBox1.Location = new System.Drawing.Point(135, 2); ctrlStyledPictureBox1.Name = "ctrlStyledPictureBox1"; ctrlStyledPictureBox1.Size = new System.Drawing.Size(12, 12); ctrlStyledPictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; ctrlStyledPictureBox1.TabIndex = 0; ctrlStyledPictureBox1.TabStop = false; ctrlStyledPictureBox1.Click += new System.EventHandler(toolStripStatusLabel1_Click); richTextBox1.AcceptsReturn = true; richTextBox1.BackColor = System.Drawing.Color.Gold; richTextBox1.BorderColor = System.Drawing.Color.LightGray; richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; richTextBox1.ConvertEnterToTab = true; richTextBox1.ConvertEnterToTabForDialogs = false; richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; richTextBox1.Location = new System.Drawing.Point(0, 0); richTextBox1.Multiline = true; richTextBox1.Name = "richTextBox1"; richTextBox1.Size = new System.Drawing.Size(149, 100); richTextBox1.TabIndex = 1; richTextBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(Drag_MouseMove); richTextBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(Drag_MouseDown); richTextBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(Drag_MouseUp); splitContainer2.BackColor = System.Drawing.Color.Transparent; splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; splitContainer2.IsSplitterFixed = true; splitContainer2.Location = new System.Drawing.Point(0, 0); splitContainer2.Name = "splitContainer2"; splitContainer2.Panel1.Controls.Add(ctrlRed); splitContainer2.Panel1.Controls.Add(ctrlYellow); splitContainer2.Panel1.Controls.Add(ctrlBlue); splitContainer2.Panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(Drag_MouseMove); splitContainer2.Panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(Drag_MouseDown); splitContainer2.Panel1.MouseUp += new System.Windows.Forms.MouseEventHandler(Drag_MouseUp); splitContainer2.Panel1MinSize = 19; splitContainer2.Panel2.BackgroundImage = (System.Drawing.Image)componentResourceManager.GetObject("splitContainer2.Panel2.BackgroundImage"); splitContainer2.Panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; splitContainer2.Panel2.Cursor = System.Windows.Forms.Cursors.SizeNWSE; splitContainer2.Panel2.MouseMove += new System.Windows.Forms.MouseEventHandler(splitContainer2_Panel2_MouseMove); splitContainer2.Panel2.MouseDown += new System.Windows.Forms.MouseEventHandler(splitContainer2_Panel2_MouseDown); splitContainer2.Panel2.MouseUp += new System.Windows.Forms.MouseEventHandler(splitContainer2_Panel2_MouseUp); splitContainer2.Panel2MinSize = 19; splitContainer2.Size = new System.Drawing.Size(149, 19); splitContainer2.SplitterDistance = 129; splitContainer2.SplitterWidth = 1; splitContainer2.TabIndex = 0; ctrlRed.BackColor = System.Drawing.Color.LightCoral; ctrlRed.BorderColor = System.Drawing.Color.Gray; ctrlRed.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; ctrlRed.Cursor = System.Windows.Forms.Cursors.Hand; ctrlRed.Location = new System.Drawing.Point(35, 6); ctrlRed.Name = "ctrlRed"; ctrlRed.Size = new System.Drawing.Size(10, 10); ctrlRed.TabIndex = 5; ctrlRed.TabStop = false; ctrlRed.Click += new System.EventHandler(ctrlRed_Click); ctrlYellow.BackColor = System.Drawing.Color.Gold; ctrlYellow.BorderColor = System.Drawing.Color.Gray; ctrlYellow.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; ctrlYellow.Cursor = System.Windows.Forms.Cursors.Hand; ctrlYellow.Location = new System.Drawing.Point(3, 6); ctrlYellow.Name = "ctrlYellow"; ctrlYellow.Size = new System.Drawing.Size(10, 10); ctrlYellow.TabIndex = 3; ctrlYellow.TabStop = false; ctrlYellow.Click += new System.EventHandler(ctrlYellow_Click); ctrlBlue.BackColor = System.Drawing.Color.LightSteelBlue; ctrlBlue.BorderColor = System.Drawing.Color.Gray; ctrlBlue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; ctrlBlue.Cursor = System.Windows.Forms.Cursors.Hand; ctrlBlue.Location = new System.Drawing.Point(19, 6); ctrlBlue.Name = "ctrlBlue"; ctrlBlue.Size = new System.Drawing.Size(10, 10); ctrlBlue.TabIndex = 4; ctrlBlue.TabStop = false; ctrlBlue.Click += new System.EventHandler(ctrlBlue_Click); AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; BackColor = System.Drawing.Color.Gold; Controls.Add(ctrlCustomPanel1); DoubleBuffered = false; MinimumSize = new System.Drawing.Size(80, 80); Name = "CtrlStickyNote"; Size = new System.Drawing.Size(153, 142); ctrlCustomPanel1.ResumeLayout(false); splitContainer1.Panel1.ResumeLayout(false); splitContainer1.Panel2.ResumeLayout(false); splitContainer1.ResumeLayout(false); splitContainer3.Panel1.ResumeLayout(false); splitContainer3.Panel2.ResumeLayout(false); splitContainer3.Panel2.PerformLayout(); splitContainer3.ResumeLayout(false); //ctrlStyledPictureBox1.EndInit(); splitContainer2.Panel1.ResumeLayout(false); splitContainer2.ResumeLayout(false); //ctrlRed.EndInit(); //ctrlYellow.EndInit(); //ctrlBlue.EndInit(); ResumeLayout(false); }