Пример #1
0
 private void InitializeComponent()
 {
     this.history = new System.Windows.Forms.ListBox();
     this.Panel = new SS.Ynote.Engine.Controls.A1Panel();
     this.button2 = new SS.Ynote.Engine.Controls.Button();
     this.Monitor = new SS.Ynote.Classic.ClipboardMonitor();
     this.Panel.SuspendLayout();
     this.SuspendLayout();
     //
     // history
     //
     this.history.Dock = System.Windows.Forms.DockStyle.Fill;
     this.history.FormattingEnabled = true;
     this.history.Location = new System.Drawing.Point(0, 0);
     this.history.Name = "history";
     this.history.Size = new System.Drawing.Size(284, 329);
     this.history.TabIndex = 0;
     this.history.DoubleClick += new System.EventHandler(this.history_DoubleClick);
     //
     // Panel
     //
     this.Panel.BorderColor = System.Drawing.Color.Gray;
     this.Panel.Controls.Add(this.button2);
     this.Panel.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.Panel.GradientEndColor = System.Drawing.Color.DarkGray;
     this.Panel.GradientStartColor = System.Drawing.SystemColors.ActiveCaption;
     this.Panel.Image = null;
     this.Panel.ImageLocation = new System.Drawing.Point(4, 4);
     this.Panel.Location = new System.Drawing.Point(0, 341);
     this.Panel.Name = "Panel";
     this.Panel.Size = new System.Drawing.Size(284, 75);
     this.Panel.TabIndex = 2;
     //
     // button2
     //
     this.button2.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button2.Location = new System.Drawing.Point(78, 16);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(129, 38);
     this.button2.TabIndex = 1;
     this.button2.Text = "Clear History";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // Monitor
     //
     this.Monitor.BackColor = System.Drawing.Color.Red;
     this.Monitor.Location = new System.Drawing.Point(0, 30);
     this.Monitor.Name = "Monitor";
     this.Monitor.Size = new System.Drawing.Size(284, 110);
     this.Monitor.TabIndex = 1;
     this.Monitor.Visible = false;
     //
     // ClipboardHistory
     //
     this.ClientSize = new System.Drawing.Size(284, 416);
     this.Controls.Add(this.Monitor);
     this.Controls.Add(this.history);
     this.Controls.Add(this.Panel);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "ClipboardHistory";
     this.Text = "Clipboard History";
     this.Panel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #2
0
 private void InitializeComponent()
 {
     this.history = new System.Windows.Forms.ListBox();
     this.Panel   = new SS.Ynote.Engine.Controls.A1Panel();
     this.button2 = new SS.Ynote.Engine.Controls.Button();
     this.Monitor = new SS.Ynote.Classic.ClipboardMonitor();
     this.Panel.SuspendLayout();
     this.SuspendLayout();
     //
     // history
     //
     this.history.Dock = System.Windows.Forms.DockStyle.Fill;
     this.history.FormattingEnabled = true;
     this.history.Location          = new System.Drawing.Point(0, 0);
     this.history.Name         = "history";
     this.history.Size         = new System.Drawing.Size(284, 329);
     this.history.TabIndex     = 0;
     this.history.DoubleClick += new System.EventHandler(this.history_DoubleClick);
     //
     // Panel
     //
     this.Panel.BorderColor = System.Drawing.Color.Gray;
     this.Panel.Controls.Add(this.button2);
     this.Panel.Dock               = System.Windows.Forms.DockStyle.Bottom;
     this.Panel.GradientEndColor   = System.Drawing.Color.DarkGray;
     this.Panel.GradientStartColor = System.Drawing.SystemColors.ActiveCaption;
     this.Panel.Image              = null;
     this.Panel.ImageLocation      = new System.Drawing.Point(4, 4);
     this.Panel.Location           = new System.Drawing.Point(0, 341);
     this.Panel.Name               = "Panel";
     this.Panel.Size               = new System.Drawing.Size(284, 75);
     this.Panel.TabIndex           = 2;
     //
     // button2
     //
     this.button2.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button2.Location  = new System.Drawing.Point(78, 16);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(129, 38);
     this.button2.TabIndex  = 1;
     this.button2.Text      = "Clear History";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // Monitor
     //
     this.Monitor.BackColor = System.Drawing.Color.Red;
     this.Monitor.Location  = new System.Drawing.Point(0, 30);
     this.Monitor.Name      = "Monitor";
     this.Monitor.Size      = new System.Drawing.Size(284, 110);
     this.Monitor.TabIndex  = 1;
     this.Monitor.Visible   = false;
     //
     // ClipboardHistory
     //
     this.ClientSize = new System.Drawing.Size(284, 416);
     this.Controls.Add(this.Monitor);
     this.Controls.Add(this.history);
     this.Controls.Add(this.Panel);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "ClipboardHistory";
     this.Text = "Clipboard History";
     this.Panel.ResumeLayout(false);
     this.ResumeLayout(false);
 }