예제 #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(MessageForm));
     this.typingInBox = new System.Windows.Forms.TextBox();
     this.sendButton = new System.Windows.Forms.Button();
     this.convoBox = new NBM.ConversationBox();
     this.statusBar = new System.Windows.Forms.StatusBar();
     this.toolBar = new System.Windows.Forms.ToolBar();
     this.fileTransferButton = new System.Windows.Forms.ToolBarButton();
     this.SuspendLayout();
     //
     // typingInBox
     //
     this.typingInBox.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right);
     this.typingInBox.Location = new System.Drawing.Point(0, 188);
     this.typingInBox.Multiline = true;
     this.typingInBox.Name = "typingInBox";
     this.typingInBox.Size = new System.Drawing.Size(316, 36);
     this.typingInBox.TabIndex = 1;
     this.typingInBox.Text = "";
     this.typingInBox.TextChanged += new System.EventHandler(this.typingInBox_TextChanged);
     //
     // sendButton
     //
     this.sendButton.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.sendButton.Location = new System.Drawing.Point(320, 188);
     this.sendButton.Name = "sendButton";
     this.sendButton.Size = new System.Drawing.Size(56, 36);
     this.sendButton.TabIndex = 2;
     this.sendButton.Text = "Send";
     this.sendButton.Click += new System.EventHandler(this.sendButton_Click);
     //
     // convoBox
     //
     this.convoBox.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right);
     this.convoBox.AutoWordSelection = true;
     this.convoBox.Location = new System.Drawing.Point(0, 4);
     this.convoBox.Name = "convoBox";
     this.convoBox.ReadOnly = true;
     this.convoBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
     this.convoBox.Size = new System.Drawing.Size(380, 156);
     this.convoBox.TabIndex = 3;
     this.convoBox.Text = "";
     //
     // statusBar
     //
     this.statusBar.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right);
     this.statusBar.Dock = System.Windows.Forms.DockStyle.None;
     this.statusBar.Location = new System.Drawing.Point(0, 228);
     this.statusBar.Name = "statusBar";
     this.statusBar.Size = new System.Drawing.Size(380, 20);
     this.statusBar.TabIndex = 4;
     //
     // toolBar
     //
     this.toolBar.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right);
     this.toolBar.AutoSize = false;
     this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                                                                                                                                                      this.fileTransferButton});
     this.toolBar.ButtonSize = new System.Drawing.Size(16, 16);
     this.toolBar.Divider = false;
     this.toolBar.Dock = System.Windows.Forms.DockStyle.None;
     this.toolBar.DropDownArrows = true;
     this.toolBar.Location = new System.Drawing.Point(4, 160);
     this.toolBar.Name = "toolBar";
     this.toolBar.ShowToolTips = true;
     this.toolBar.Size = new System.Drawing.Size(372, 28);
     this.toolBar.TabIndex = 5;
     this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
     //
     // fileTransferButton
     //
     this.fileTransferButton.Tag = "SendFile";
     this.fileTransferButton.Text = "Send File";
     this.fileTransferButton.ToolTipText = "Send File";
     //
     // MessageForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(380, 246);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                                                                             this.toolBar,
                                                                                                                             this.statusBar,
                                                                                                                             this.convoBox,
                                                                                                                             this.sendButton,
                                                                                                                             this.typingInBox});
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "MessageForm";
     this.Text = "Message";
     this.ResumeLayout(false);
 }
예제 #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(MessageForm));
     this.typingInBox        = new System.Windows.Forms.TextBox();
     this.sendButton         = new System.Windows.Forms.Button();
     this.convoBox           = new NBM.ConversationBox();
     this.statusBar          = new System.Windows.Forms.StatusBar();
     this.toolBar            = new System.Windows.Forms.ToolBar();
     this.fileTransferButton = new System.Windows.Forms.ToolBarButton();
     this.SuspendLayout();
     //
     // typingInBox
     //
     this.typingInBox.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                | System.Windows.Forms.AnchorStyles.Right);
     this.typingInBox.Location     = new System.Drawing.Point(0, 188);
     this.typingInBox.Multiline    = true;
     this.typingInBox.Name         = "typingInBox";
     this.typingInBox.Size         = new System.Drawing.Size(316, 36);
     this.typingInBox.TabIndex     = 1;
     this.typingInBox.Text         = "";
     this.typingInBox.TextChanged += new System.EventHandler(this.typingInBox_TextChanged);
     //
     // sendButton
     //
     this.sendButton.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.sendButton.Location = new System.Drawing.Point(320, 188);
     this.sendButton.Name     = "sendButton";
     this.sendButton.Size     = new System.Drawing.Size(56, 36);
     this.sendButton.TabIndex = 2;
     this.sendButton.Text     = "Send";
     this.sendButton.Click   += new System.EventHandler(this.sendButton_Click);
     //
     // convoBox
     //
     this.convoBox.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                              | System.Windows.Forms.AnchorStyles.Left)
                             | System.Windows.Forms.AnchorStyles.Right);
     this.convoBox.AutoWordSelection = true;
     this.convoBox.Location          = new System.Drawing.Point(0, 4);
     this.convoBox.Name       = "convoBox";
     this.convoBox.ReadOnly   = true;
     this.convoBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
     this.convoBox.Size       = new System.Drawing.Size(380, 156);
     this.convoBox.TabIndex   = 3;
     this.convoBox.Text       = "";
     //
     // statusBar
     //
     this.statusBar.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                              | System.Windows.Forms.AnchorStyles.Right);
     this.statusBar.Dock     = System.Windows.Forms.DockStyle.None;
     this.statusBar.Location = new System.Drawing.Point(0, 228);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Size     = new System.Drawing.Size(380, 20);
     this.statusBar.TabIndex = 4;
     //
     // toolBar
     //
     this.toolBar.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                            | System.Windows.Forms.AnchorStyles.Right);
     this.toolBar.AutoSize = false;
     this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.fileTransferButton
     });
     this.toolBar.ButtonSize     = new System.Drawing.Size(16, 16);
     this.toolBar.Divider        = false;
     this.toolBar.Dock           = System.Windows.Forms.DockStyle.None;
     this.toolBar.DropDownArrows = true;
     this.toolBar.Location       = new System.Drawing.Point(4, 160);
     this.toolBar.Name           = "toolBar";
     this.toolBar.ShowToolTips   = true;
     this.toolBar.Size           = new System.Drawing.Size(372, 28);
     this.toolBar.TabIndex       = 5;
     this.toolBar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
     //
     // fileTransferButton
     //
     this.fileTransferButton.Tag         = "SendFile";
     this.fileTransferButton.Text        = "Send File";
     this.fileTransferButton.ToolTipText = "Send File";
     //
     // MessageForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(380, 246);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.toolBar,
         this.statusBar,
         this.convoBox,
         this.sendButton,
         this.typingInBox
     });
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "MessageForm";
     this.Text = "Message";
     this.ResumeLayout(false);
 }