Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(NotesControl));
     this.textBox     = new WebMeeting.Client.PrintableRichTextBox();
     this.bottomPanel = new System.Windows.Forms.Panel();
     this.btnSave     = new NSPAControls.NSButton();
     this.btnOpen     = new NSPAControls.NSButton();
     this.topPanel    = new System.Windows.Forms.Panel();
     this.bottomPanel.SuspendLayout();
     this.topPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox
     //
     this.textBox.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.textBox.HiglightColor = Khendys.Controls.RtfColor.White;
     this.textBox.Location      = new System.Drawing.Point(0, 0);
     this.textBox.Name          = "textBox";
     this.textBox.Size          = new System.Drawing.Size(256, 240);
     this.textBox.TabIndex      = 0;
     this.textBox.Text          = "";
     this.textBox.TextColor     = Khendys.Controls.RtfColor.Black;
     this.textBox.TextChanged  += new System.EventHandler(this.textBox_TextChanged);
     //
     // bottomPanel
     //
     this.bottomPanel.Controls.Add(this.btnSave);
     this.bottomPanel.Controls.Add(this.btnOpen);
     this.bottomPanel.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.bottomPanel.Location = new System.Drawing.Point(0, 240);
     this.bottomPanel.Name     = "bottomPanel";
     this.bottomPanel.Size     = new System.Drawing.Size(256, 40);
     this.bottomPanel.TabIndex = 3;
     //
     // btnSave
     //
     this.btnSave.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.ButtonForm     = NSPAControls.eButtonForm.Rectangle;
     this.btnSave.HighlightColor = System.Drawing.SystemColors.HotTrack;
     this.btnSave.HottrackImage  = ((System.Drawing.Image)(resources.GetObject("btnSave.HottrackImage")));
     this.btnSave.Location       = new System.Drawing.Point(176, 8);
     this.btnSave.Name           = "btnSave";
     this.btnSave.NormalImage    = ((System.Drawing.Image)(resources.GetObject("btnSave.NormalImage")));
     this.btnSave.OnlyShowBitmap = true;
     this.btnSave.PressedImage   = ((System.Drawing.Image)(resources.GetObject("btnSave.PressedImage")));
     this.btnSave.Size           = new System.Drawing.Size(72, 32);
     this.btnSave.Text           = "nsButton1";
     this.btnSave.TextAlign      = NSPAControls.eTextAlign.Bottom;
     this.btnSave.ToolTip        = null;
     this.btnSave.Click         += new System.EventHandler(this.btnSave_Click);
     //
     // btnOpen
     //
     this.btnOpen.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOpen.ButtonForm     = NSPAControls.eButtonForm.Rectangle;
     this.btnOpen.HighlightColor = System.Drawing.SystemColors.HotTrack;
     this.btnOpen.HottrackImage  = ((System.Drawing.Image)(resources.GetObject("btnOpen.HottrackImage")));
     this.btnOpen.Location       = new System.Drawing.Point(104, 8);
     this.btnOpen.Name           = "btnOpen";
     this.btnOpen.NormalImage    = ((System.Drawing.Image)(resources.GetObject("btnOpen.NormalImage")));
     this.btnOpen.OnlyShowBitmap = true;
     this.btnOpen.PressedImage   = ((System.Drawing.Image)(resources.GetObject("btnOpen.PressedImage")));
     this.btnOpen.Size           = new System.Drawing.Size(80, 32);
     this.btnOpen.Text           = "nsButton1";
     this.btnOpen.TextAlign      = NSPAControls.eTextAlign.Bottom;
     this.btnOpen.ToolTip        = null;
     this.btnOpen.Click         += new System.EventHandler(this.btnOpen_Click);
     //
     // topPanel
     //
     this.topPanel.Controls.Add(this.textBox);
     this.topPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.topPanel.Location = new System.Drawing.Point(0, 0);
     this.topPanel.Name     = "topPanel";
     this.topPanel.Size     = new System.Drawing.Size(256, 240);
     this.topPanel.TabIndex = 4;
     //
     // NotesControl
     //
     this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.Controls.Add(this.topPanel);
     this.Controls.Add(this.bottomPanel);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name = "NotesControl";
     this.Size = new System.Drawing.Size(256, 280);
     this.bottomPanel.ResumeLayout(false);
     this.topPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #2
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(NotesControl));
     this.textBox = new WebMeeting.Client.PrintableRichTextBox();
     this.bottomPanel = new System.Windows.Forms.Panel();
     this.btnSave = new NSPAControls.NSButton();
     this.btnOpen = new NSPAControls.NSButton();
     this.topPanel = new System.Windows.Forms.Panel();
     this.bottomPanel.SuspendLayout();
     this.topPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox
     //
     this.textBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.textBox.HiglightColor = Khendys.Controls.RtfColor.White;
     this.textBox.Location = new System.Drawing.Point(0, 0);
     this.textBox.Name = "textBox";
     this.textBox.Size = new System.Drawing.Size(256, 240);
     this.textBox.TabIndex = 0;
     this.textBox.Text = "";
     this.textBox.TextColor = Khendys.Controls.RtfColor.Black;
     this.textBox.TextChanged += new System.EventHandler(this.textBox_TextChanged);
     //
     // bottomPanel
     //
     this.bottomPanel.Controls.Add(this.btnSave);
     this.bottomPanel.Controls.Add(this.btnOpen);
     this.bottomPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.bottomPanel.Location = new System.Drawing.Point(0, 240);
     this.bottomPanel.Name = "bottomPanel";
     this.bottomPanel.Size = new System.Drawing.Size(256, 40);
     this.bottomPanel.TabIndex = 3;
     //
     // btnSave
     //
     this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.ButtonForm = NSPAControls.eButtonForm.Rectangle;
     this.btnSave.HighlightColor = System.Drawing.SystemColors.HotTrack;
     this.btnSave.HottrackImage = ((System.Drawing.Image)(resources.GetObject("btnSave.HottrackImage")));
     this.btnSave.Location = new System.Drawing.Point(176, 8);
     this.btnSave.Name = "btnSave";
     this.btnSave.NormalImage = ((System.Drawing.Image)(resources.GetObject("btnSave.NormalImage")));
     this.btnSave.OnlyShowBitmap = true;
     this.btnSave.PressedImage = ((System.Drawing.Image)(resources.GetObject("btnSave.PressedImage")));
     this.btnSave.Size = new System.Drawing.Size(72, 32);
     this.btnSave.Text = "nsButton1";
     this.btnSave.TextAlign = NSPAControls.eTextAlign.Bottom;
     this.btnSave.ToolTip = null;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnOpen
     //
     this.btnOpen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOpen.ButtonForm = NSPAControls.eButtonForm.Rectangle;
     this.btnOpen.HighlightColor = System.Drawing.SystemColors.HotTrack;
     this.btnOpen.HottrackImage = ((System.Drawing.Image)(resources.GetObject("btnOpen.HottrackImage")));
     this.btnOpen.Location = new System.Drawing.Point(104, 8);
     this.btnOpen.Name = "btnOpen";
     this.btnOpen.NormalImage = ((System.Drawing.Image)(resources.GetObject("btnOpen.NormalImage")));
     this.btnOpen.OnlyShowBitmap = true;
     this.btnOpen.PressedImage = ((System.Drawing.Image)(resources.GetObject("btnOpen.PressedImage")));
     this.btnOpen.Size = new System.Drawing.Size(80, 32);
     this.btnOpen.Text = "nsButton1";
     this.btnOpen.TextAlign = NSPAControls.eTextAlign.Bottom;
     this.btnOpen.ToolTip = null;
     this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
     //
     // topPanel
     //
     this.topPanel.Controls.Add(this.textBox);
     this.topPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.topPanel.Location = new System.Drawing.Point(0, 0);
     this.topPanel.Name = "topPanel";
     this.topPanel.Size = new System.Drawing.Size(256, 240);
     this.topPanel.TabIndex = 4;
     //
     // NotesControl
     //
     this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.Controls.Add(this.topPanel);
     this.Controls.Add(this.bottomPanel);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name = "NotesControl";
     this.Size = new System.Drawing.Size(256, 280);
     this.bottomPanel.ResumeLayout(false);
     this.topPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }