📄 formsendmsg.cs
字号:
// labelStatus
//
this.labelStatus.BorderType = DevComponents.DotNetBar.eBorderType.None;
this.labelStatus.Name = "labelStatus";
this.labelStatus.PaddingLeft = 2;
this.labelStatus.PaddingRight = 2;
this.labelStatus.SingleLineColor = System.Drawing.Color.FromArgb(((System.Byte)(59)), ((System.Byte)(97)), ((System.Byte)(156)));
this.labelStatus.Stretch = true;
//
// labelPosition
//
this.labelPosition.BorderType = DevComponents.DotNetBar.eBorderType.None;
this.labelPosition.Name = "labelPosition";
this.labelPosition.PaddingLeft = 2;
this.labelPosition.PaddingRight = 2;
this.labelPosition.SingleLineColor = System.Drawing.Color.FromArgb(((System.Byte)(59)), ((System.Byte)(97)), ((System.Byte)(156)));
this.labelPosition.Width = 100;
//
// bar1
//
this.bar1.AccessibleDescription = "DotNetBar Bar (bar1)";
this.bar1.AccessibleName = "DotNetBar Bar";
this.bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.StatusBar;
this.bar1.AntiAlias = true;
this.bar1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.bar1.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.ResizeHandle;
this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.labelStatus,
this.labelPosition});
this.bar1.ItemSpacing = 2;
this.bar1.Location = new System.Drawing.Point(2, 421);
this.bar1.Name = "bar1";
this.bar1.Size = new System.Drawing.Size(526, 17);
this.bar1.Stretch = true;
this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.bar1.TabIndex = 14;
this.bar1.TabStop = false;
this.bar1.Text = "barStatus";
//
// panel2
//
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
this.panel2.Location = new System.Drawing.Point(522, 32);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(6, 389);
this.panel2.TabIndex = 19;
//
// panelRiht
//
this.panelRiht.Dock = System.Windows.Forms.DockStyle.Right;
this.panelRiht.Location = new System.Drawing.Point(376, 32);
this.panelRiht.Name = "panelRiht";
this.panelRiht.Size = new System.Drawing.Size(6, 389);
this.panelRiht.TabIndex = 21;
//
// panelAV
//
this.panelAV.Dock = System.Windows.Forms.DockStyle.Left;
this.panelAV.Location = new System.Drawing.Point(2, 32);
this.panelAV.Name = "panelAV";
this.panelAV.Size = new System.Drawing.Size(4, 389);
this.panelAV.TabIndex = 22;
//
// panel5
//
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(6, 32);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(370, 8);
this.panel5.TabIndex = 23;
//
// panelRightNotice
//
this.panelRightNotice.BackColor = System.Drawing.Color.Cyan;
this.panelRightNotice.Controls.Add(this.panelAVchat);
this.panelRightNotice.Controls.Add(this.panelSendAndNotice);
this.panelRightNotice.Controls.Add(this.panel6);
this.panelRightNotice.Dock = System.Windows.Forms.DockStyle.Right;
this.panelRightNotice.Location = new System.Drawing.Point(382, 32);
this.panelRightNotice.Name = "panelRightNotice";
this.panelRightNotice.Size = new System.Drawing.Size(140, 389);
this.panelRightNotice.TabIndex = 20;
//
// panelAVchat
//
this.panelAVchat.Controls.Add(this.myAV1);
this.panelAVchat.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelAVchat.Location = new System.Drawing.Point(0, 8);
this.panelAVchat.Name = "panelAVchat";
this.panelAVchat.Size = new System.Drawing.Size(140, 381);
this.panelAVchat.TabIndex = 29;
this.panelAVchat.Visible = false;
//
// myAV1
//
this.myAV1.BackColor = System.Drawing.Color.Cyan;
this.myAV1.Dock = System.Windows.Forms.DockStyle.Fill;
this.myAV1.Location = new System.Drawing.Point(0, 0);
this.myAV1.Name = "myAV1";
this.myAV1.Size = new System.Drawing.Size(140, 381);
this.myAV1.TabIndex = 0;
this.myAV1.AVReceve += new LanMsg.MyAV.AVReceveEventHandler(this.myAV1_AVReceve);
this.myAV1.AVCancel += new LanMsg.MyAV.AVCancelEventHandler(this.myAV1_AVCancel);
//
// panelSendAndNotice
//
this.panelSendAndNotice.Controls.Add(this.panel14);
this.panelSendAndNotice.Controls.Add(this.tabCsendFile);
this.panelSendAndNotice.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelSendAndNotice.Location = new System.Drawing.Point(0, 8);
this.panelSendAndNotice.Name = "panelSendAndNotice";
this.panelSendAndNotice.Size = new System.Drawing.Size(140, 381);
this.panelSendAndNotice.TabIndex = 28;
//
// panel14
//
this.panel14.Controls.Add(this.labelNotice);
this.panel14.Controls.Add(this.panel7);
this.panel14.Controls.Add(this.panel17);
this.panel14.Controls.Add(this.panel16);
this.panel14.Controls.Add(this.panel15);
this.panel14.Controls.Add(this.bar4);
this.panel14.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel14.Location = new System.Drawing.Point(0, 235);
this.panel14.Name = "panel14";
this.panel14.Size = new System.Drawing.Size(140, 146);
this.panel14.TabIndex = 27;
//
// labelNotice
//
this.labelNotice.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelNotice.ForeColor = System.Drawing.Color.DarkSlateGray;
this.labelNotice.Location = new System.Drawing.Point(4, 31);
this.labelNotice.Name = "labelNotice";
this.labelNotice.Size = new System.Drawing.Size(132, 109);
this.labelNotice.TabIndex = 47;
this.labelNotice.Text = " LanMsg当前版本支持音视频对话,支持文件传输(可用于传输保密文件),支持屏幕截图,支持GIF动画表情等功能。";
//
// panel7
//
this.panel7.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel7.Location = new System.Drawing.Point(4, 140);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(132, 6);
this.panel7.TabIndex = 45;
//
// panel17
//
this.panel17.Dock = System.Windows.Forms.DockStyle.Right;
this.panel17.Location = new System.Drawing.Point(136, 31);
this.panel17.Name = "panel17";
this.panel17.Size = new System.Drawing.Size(4, 115);
this.panel17.TabIndex = 44;
//
// panel16
//
this.panel16.Dock = System.Windows.Forms.DockStyle.Left;
this.panel16.Location = new System.Drawing.Point(0, 31);
this.panel16.Name = "panel16";
this.panel16.Size = new System.Drawing.Size(4, 115);
this.panel16.TabIndex = 43;
//
// panel15
//
this.panel15.Dock = System.Windows.Forms.DockStyle.Top;
this.panel15.Location = new System.Drawing.Point(0, 25);
this.panel15.Name = "panel15";
this.panel15.Size = new System.Drawing.Size(140, 6);
this.panel15.TabIndex = 42;
//
// bar4
//
this.bar4.Dock = System.Windows.Forms.DockStyle.Top;
this.bar4.DockSide = DevComponents.DotNetBar.eDockSide.Document;
this.bar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItemNotice,
this.labelItem1});
this.bar4.Location = new System.Drawing.Point(0, 0);
this.bar4.Name = "bar4";
this.bar4.Size = new System.Drawing.Size(140, 25);
this.bar4.Stretch = true;
this.bar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.bar4.TabIndex = 41;
this.bar4.TabStop = false;
this.bar4.Text = "bar4";
//
// buttonItemNotice
//
this.buttonItemNotice.Icon = ((System.Drawing.Icon)(resources.GetObject("buttonItemNotice.Icon")));
this.buttonItemNotice.Name = "buttonItemNotice";
//
// labelItem1
//
this.labelItem1.BorderType = DevComponents.DotNetBar.eBorderType.None;
this.labelItem1.Name = "labelItem1";
this.labelItem1.Text = "公告";
//
// tabCsendFile
//
this.tabCsendFile.BackColor = System.Drawing.Color.Cyan;
this.tabCsendFile.CanReorderTabs = true;
this.tabCsendFile.ColorScheme.TabItemBorderDark = System.Drawing.Color.Cyan;
this.tabCsendFile.ColorScheme.TabItemHotBackground2 = System.Drawing.Color.Cyan;
this.tabCsendFile.ColorScheme.TabItemSelectedBackground2 = System.Drawing.Color.Cyan;
this.tabCsendFile.ColorScheme.TabItemSelectedBorder = System.Drawing.Color.DarkGray;
this.tabCsendFile.ColorScheme.TabPanelBorder = System.Drawing.SystemColors.Control;
this.tabCsendFile.Dock = System.Windows.Forms.DockStyle.Top;
this.tabCsendFile.Location = new System.Drawing.Point(0, 0);
this.tabCsendFile.Name = "tabCsendFile";
this.tabCsendFile.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
this.tabCsendFile.SelectedTabIndex = -1;
this.tabCsendFile.Size = new System.Drawing.Size(140, 235);
this.tabCsendFile.TabIndex = 25;
this.tabCsendFile.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
this.tabCsendFile.Text = "tabControl1";
this.tabCsendFile.Visible = false;
this.tabCsendFile.TabRemoved += new System.EventHandler(this.tabCsendFile_TabRemoved);
//
// panel6
//
this.panel6.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(175)), ((System.Byte)(201)), ((System.Byte)(235)));
this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
this.panel6.Location = new System.Drawing.Point(0, 0);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(140, 8);
this.panel6.TabIndex = 24;
//
// panelSend
//
this.panelSend.Controls.Add(this.RTBSend);
this.panelSend.Controls.Add(this.panel12);
this.panelSend.Controls.Add(this.panelEx2);
this.panelSend.Controls.Add(this.panelButSend);
this.panelSend.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panelSend.Location = new System.Drawing.Point(6, 277);
this.panelSend.Name = "panelSend";
this.panelSend.Size = new System.Drawing.Size(370, 144);
this.panelSend.TabIndex = 37;
//
// RTBSend
//
this.RTBSend.AllowDrop = true;
this.RTBSend.AutoWordSelection = true;
this.RTBSend.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dotNetBarManager1.SetContextMenuEx(this.RTBSend, "ButtonItem1");
this.RTBSend.Dock = System.Windows.Forms.DockStyle.Fill;
this.RTBSend.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.RTBSend.HiglightColor = LanMsg.RtfColor.White;
this.RTBSend.Location = new System.Drawing.Point(4, 24);
this.RTBSend.MaxLength = 1000;
this.RTBSend.Name = "RTBSend";
this.RTBSend.Size = new System.Drawing.Size(366, 88);
this.RTBSend.TabIndex = 50;
this.RTBSend.Text = "";
this.RTBSend.TextColor = LanMsg.RtfColor.Black;
this.RTBSend.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RTBSend_KeyDown);
this.RTBSend.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.RTBRecord_LinkClicked);
//
// panel12
//
this.panel12.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
this.panel12.Dock = System.Windows.Forms.DockStyle.Left;
this.panel12.Location = new System.Drawing.Point(0, 24);
this.panel12.Name = "panel12";
this.panel12.Size = new System.Drawing.Size(4, 88);
this.panel12.TabIndex = 37;
//
// panelEx2
//
this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.panelEx2.Controls.Add(this.bar2);
this.panelEx2.Dock = System.Windows.Forms.DockStyle.Top;
this.panelEx2.Location = new System.Drawing.Point(0, 0);
this.panelEx2.Name = "panelEx2";
this.panelEx2.Size = new System.Drawing.Size(370, 24);
this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.panelEx2.Style.GradientAngle = 90;
this.panelEx2.TabIndex = 36;
//
// bar2
//
this.bar2.Dock = System.Windows.Forms.DockStyle.Fill;
this.bar2.DockSide = DevComponents.DotNetBar.eDockSide.Top;
this.bar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.trtFontSet,
this.butFontColor,
this.trtFaceSet,
this.butSendPicture,
this.butCapture,
this.butSendFile});
this.bar2.Location = new System.Drawing.Point(0, 0);
this.bar2.Name = "bar2";
this.bar2.Size = new System.Drawing.Size(370, 24);
this.bar2.Stretch = true;
this.bar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.bar2.TabIndex = 0;
this.bar2.TabStop = false;
this.bar2.Text = "bar2";
//
// trtFontSet
//
this.trtFontSet.Icon = ((System.Drawing.Icon)(resources.GetObject("trtFontSet.Icon")));
this.trtFontSet.Name = "trtFontSet";
this.trtFontSet.Tooltip = "设置字体";
this.trtFontSet.Click += new System.EventHandler(this.trtFontSet_Click);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -