⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 groupconversationform.cs

📁 破解的飞信源代码
💻 CS
📖 第 1 页 / 共 5 页
字号:
            this.lblTooltip.TabStop = false;
            this.lblTooltip.TextFont = new Font("宋体", 9f);
            this.lblTooltip.TipImage = (Image) manager.GetObject("lblTooltip.TipImage");
            this.lblTooltip.UseSymbol = true;
            this.lblTooltip.Visible = false;
            this.lblSMSSendInfo.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.lblSMSSendInfo.BackColor = Color.Transparent;
            this.lblSMSSendInfo.ForeColor = Color.MediumBlue;
            this.lblSMSSendInfo.LinkColor = Color.Blue;
            this.lblSMSSendInfo.Location = new System.Drawing.Point(0x65, 0x5c);
            this.lblSMSSendInfo.Name = "lblSMSSendInfo";
            this.lblSMSSendInfo.ShowBackgroundImage = false;
            this.lblSMSSendInfo.Size = new Size(0x89, 0x1a);
            this.lblSMSSendInfo.SpaceDistance = 6;
            this.lblSMSSendInfo.TabIndex = 10;
            this.lblSMSSendInfo.Text = "您还可以输入282个字符";
            this.pnlForWhiteBackground.BackColor = Color.White;
            this.pnlForWhiteBackground.Controls.Add(this.rtfInput);
            this.pnlForWhiteBackground.Dock = DockStyle.Fill;
            this.pnlForWhiteBackground.Location = new System.Drawing.Point(0x5f, 1);
            this.pnlForWhiteBackground.Name = "pnlForWhiteBackground";
            this.pnlForWhiteBackground.Size = new Size(0xf8, 90);
            this.pnlForWhiteBackground.TabIndex = 10;
            this.rtfInput.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.rtfInput.BorderColor = Color.Empty;
            this.rtfInput.BorderStyle = BorderStyle.None;
            this.rtfInput.Font = new Font("Microsoft Sans Serif", 12f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.rtfInput.Location = new System.Drawing.Point(5, 4);
            this.rtfInput.set_Margin(new Padding(10));
            this.rtfInput.MaxLength = 500;
            this.rtfInput.Name = "rtfInput";
            this.rtfInput.Size = new Size(0xf4, 0x54);
            this.rtfInput.TabIndex = 0;
            this.rtfInput.Text = "";
            this.pnlSendTypeImage.BackColor = Color.White;
            this.pnlSendTypeImage.Controls.Add(this.pictureBox1);
            this.pnlSendTypeImage.Dock = DockStyle.Left;
            this.pnlSendTypeImage.Location = new System.Drawing.Point(1, 1);
            this.pnlSendTypeImage.Name = "pnlSendTypeImage";
            this.pnlSendTypeImage.set_Padding(new Padding(3, 5, 2, 2));
            this.pnlSendTypeImage.Size = new Size(0x5e, 90);
            this.pnlSendTypeImage.TabIndex = 11;
            this.pictureBox1.Dock = DockStyle.Top;
            this.pictureBox1.Image = Resources.Con_SMS;
            this.pictureBox1.Location = new System.Drawing.Point(3, 5);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new Size(0x59, 0x49);
            this.pictureBox1.TabIndex = 1;
            this.pictureBox1.TabStop = false;
            this.btnSend.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnSend.BackColor = Color.FromArgb(0xf8, 0xef, 0xe4);
            this.btnSend.BackgroundImage = (Image) manager.GetObject("btnSend.BackgroundImage");
            this.btnSend.BorderColor = Color.FromArgb(0xa4, 170, 220);
            this.btnSend.Disabled = true;
            this.btnSend.DisabledBackgroudColor = Color.White;
            this.btnSend.DisabledBackgroundImage = (Image) manager.GetObject("btnSend.DisabledBackgroundImage");
            this.btnSend.DisabledBorderColor = Color.Gray;
            this.btnSend.DisabledDropDownButtonImage = (Image) manager.GetObject("btnSend.DisabledDropDownButtonImage");
            this.btnSend.DisabledForeColor = Color.Gray;
            this.btnSend.DropDownButtonImage = (Image) manager.GetObject("btnSend.DropDownButtonImage");
            this.btnSend.DropDownMenu = this.menuSendType;
            this.btnSend.Font = new Font("宋体", 9f, FontStyle.Bold);
            this.btnSend.Location = new System.Drawing.Point(0xf3, 0x5b);
            this.btnSend.Name = "btnSend";
            this.btnSend.set_Padding(new Padding(1));
            this.btnSend.Size = new Size(100, 0x1c);
            this.btnSend.TabIndex = 2;
            this.btnSend.TabStop = false;
            this.btnSend.Text = "发送";
            this.btnSend.ToolTipText = "点击发送聊天信息";
            this.btnSend.ButtonClick += new EventHandler(this.btnSend_ButtonClick);
            this.menuSendType.get_Items().AddRange(new ToolStripItem[] { this.tsSendEnter, this.tsSendCtrlEnter });
            this.menuSendType.Name = "contextMenuSendMessage";
            this.menuSendType.Size = new Size(0xd7, 0x30);
            this.menuSendType.UseMnemonic = true;
            this.tsSendEnter.set_Checked(true);
            this.tsSendEnter.set_CheckState(CheckState.Checked);
            this.tsSendEnter.set_Name("tsSendEnter");
            this.tsSendEnter.set_Size(new Size(0xd6, 0x16));
            this.tsSendEnter.set_Text("按 Enter 键发送消息");
            this.tsSendEnter.add_Click(new EventHandler(this.tsSendEnter_Click));
            this.tsSendCtrlEnter.set_Name("tsSendCtrlEnter");
            this.tsSendCtrlEnter.set_Size(new Size(0xd6, 0x16));
            this.tsSendCtrlEnter.set_Text("按 Ctrl+Enter 键发送消息");
            this.tsSendCtrlEnter.add_Click(new EventHandler(this.tsSendCtrlEnter_Click));
            this.tsSendMessage.set_AutoSize(false);
            this.tsSendMessage.set_BackgroundImageLayout(3);
            this.tsSendMessage.Dock = DockStyle.Bottom;
            this.tsSendMessage.set_GripStyle(0);
            this.tsSendMessage.get_Items().AddRange(new ToolStripItem[] { this.tsbEmoticons, this.tsFont });
            this.tsSendMessage.Location = new System.Drawing.Point(1, 0x5b);
            this.tsSendMessage.Name = "tsSendMessage";
            this.tsSendMessage.set_Padding(new Padding(2));
            this.tsSendMessage.ShowBackGroundImage = true;
            this.tsSendMessage.Size = new Size(0x156, 0x1b);
            this.tsSendMessage.TabIndex = 1;
            this.tsSendMessage.set_TabStop(true);
            this.tsbEmoticons.set_AutoSize(false);
            this.tsbEmoticons.set_DisplayStyle(2);
            this.tsbEmoticons.set_Image(Resources.face);
            this.tsbEmoticons.set_ImageScaling(0);
            this.tsbEmoticons.set_ImageTransparentColor(Color.Transparent);
            this.tsbEmoticons.set_Name("tsbEmoticons");
            this.tsbEmoticons.set_Size(new Size(30, 0x1b));
            this.tsbEmoticons.set_Text("显示表情");
            this.tsbEmoticons.add_Click(new EventHandler(this.tsbEmoticons_Click));
            this.tsFont.set_AutoSize(false);
            this.tsFont.set_DisplayStyle(2);
            this.tsFont.set_Image((Image) manager.GetObject("tsFont.Image"));
            this.tsFont.set_ImageScaling(0);
            this.tsFont.set_ImageTransparentColor(Color.Transparent);
            this.tsFont.set_Name("tsFont");
            this.tsFont.set_Size(new Size(30, 0x1b));
            this.tsFont.set_Text("设置字体");
            this.tsFont.add_Click(new EventHandler(this.tsFont_Click));
            this.pnlNav.Dock = DockStyle.Right;
            this.pnlNav.Location = new System.Drawing.Point(500, 0x44);
            this.pnlNav.Name = "pnlNav";
            this.pnlNav.Size = new Size(10, 0x1b2);
            this.pnlNav.TabIndex = 1;
            this.fontDialog.ShowColor = true;
            this.menuHistoryChat.get_Items().AddRange(new ToolStripItem[] { this.tsHistoryChatCopy, this.tsHistoryChatSelectAll, this.tsHistorySeparator, this.tsHistoryAddToCustomEmotion, this.tsHistorySaveAsImage });
            this.menuHistoryChat.Name = "menuHistoryChat";
            this.menuHistoryChat.Size = new Size(0x83, 0x62);
            this.menuHistoryChat.UseMnemonic = true;
            this.tsHistoryChatCopy.set_Name("tsHistoryChatCopy");
            this.tsHistoryChatCopy.set_Size(new Size(130, 0x16));
            this.tsHistoryChatCopy.set_Text("复制(&C)");
            this.tsHistoryChatCopy.add_Click(new EventHandler(this.tsHistoryChatCopy_Click));
            this.tsHistoryChatSelectAll.set_Name("tsHistoryChatSelectAll");
            this.tsHistoryChatSelectAll.set_Size(new Size(130, 0x16));
            this.tsHistoryChatSelectAll.set_Text("全选(&A)");
            this.tsHistoryChatSelectAll.add_Click(new EventHandler(this.tsHistoryChatSelectAll_Click));
            this.tsHistorySeparator.set_Name("tsHistorySeparator");
            this.tsHistorySeparator.set_Size(new Size(0x7f, 6));
            this.tsHistoryAddToCustomEmotion.set_Name("tsHistoryAddToCustomEmotion");
            this.tsHistoryAddToCustomEmotion.set_Size(new Size(130, 0x16));
            this.tsHistoryAddToCustomEmotion.set_Text("添加为表情");
            this.tsHistoryAddToCustomEmotion.add_Click(new EventHandler(this.tsHistoryAddToCustomEmotion_Click));
            this.tsHistorySaveAsImage.set_Name("tsHistorySaveAsImage");
            this.tsHistorySaveAsImage.set_Size(new Size(130, 0x16));
            this.tsHistorySaveAsImage.set_Text("保存为图片");
            this.tsHistorySaveAsImage.add_Click(new EventHandler(this.tsHistorySaveAsImage_Click));
            this.menuInputChat.get_Items().AddRange(new ToolStripItem[] { this.tsInputChatUndo, this.toolStripSeparator2, this.tsInputChatCut, this.tsInputChatCopy, this.tsInputChatPaste, this.tsInputChatDelete, this.toolStripSeparator3, this.tsInputChatSelectALl, this.toolStripSeparator9, this.tsInputChangeFont });
            this.menuInputChat.Name = "menuInputChat";
            this.menuInputChat.Size = new Size(0x9b, 0xb0);
            this.menuInputChat.UseMnemonic = true;
            this.tsInputChatUndo.set_Name("tsInputChatUndo");
            this.tsInputChatUndo.set_Size(new Size(0x9a, 0x16));
            this.tsInputChatUndo.set_Text("撤销(&U)");
            this.tsInputChatUndo.add_Click(new EventHandler(this.tsInputChatUndo_Click));
            this.toolStripSeparator2.set_Name("toolStripSeparator2");
            this.toolStripSeparator2.set_Size(new Size(0x97, 6));
            this.tsInputChatCut.set_Name("tsInputChatCut");
            this.tsInputChatCut.set_Size(new Size(0x9a, 0x16));
            this.tsInputChatCut.set_Text("剪切(&T) ");
            this.tsInputChatCut.add_Click(new EventHandler(this.tsInputChatCut_Click));
            this.tsInputChatCopy.set_Name("tsInputChatCopy");
            this.tsInputChatCopy.set_Size(new Size(0x9a, 0x16));
            this.tsInputChatCopy.set_Text("复制(&C) ");
            this.tsInputChatCopy.add_Click(new EventHandler(this.tsInputChatCopy_Click));
            this.tsInputChatPaste.set_Name("tsInputChatPaste");
            this.tsInputChatPaste.set_Size(new Size(0x9a, 0x16));
            this.tsInputChatPaste.set_Text("粘贴(&P)");
            this.tsInputChatPaste.add_Click(new EventHandler(this.tsInputChatPaste_Click));
            this.tsInputChatDelete.set_Name("tsInputChatDelete");
            this.tsInputChatDelete.set_Size(new Size(0x9a, 0x16));
            this.tsInputChatDelete.set_Text("删除(&D)");
            this.tsInputChatDelete.add_Click(new EventHandler(this.tsInputChatDelete_Click));
            this.toolStripSeparator3.set_Name("toolStripSeparator3");
            this.toolStripSeparator3.set_Size(new Size(0x97, 6));
            this.tsInputChatSelectALl.set_Name("tsInputChatSelectALl");
            this.tsInputChatSelectALl.set_Size(new Size(0x9a, 0x16));
            this.tsInputChatSelectALl.set_Text("全选(&A)");
            this.tsInputChatSelectALl.add_Click(new EventHandler(this.tsInputChatSelectALl_Click));
            this.toolStripSeparator9.set_Name("toolStripSeparator9");
            this.toolStripSeparator9.set_Size(new Size(0x97, 6));
            this.tsInputChangeFont.set_Name("tsInputChangeFont");
            this.tsInputChangeFont.set_Size(new Size(0x9a, 0x16));
            this.tsInputChangeFont.set_Text("修改字体(&F)...");
            this.tsInputChangeFont.add_Click(new EventHandler(this.tsInputChangeFont_Click));
            this.lblGroupMembersInfo.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
            this.lblGroupMembersInfo.set_AutoSize(true);
            this.lblGroupMembersInfo.BackColor = Color.Transparent;
            this.lblGroupMembersInfo.Location = new System.Drawing.Point(8, 0x20c);
            this.lblGroupMembersInfo.Name = "lblGroupMembersInfo";
            this.lblGroupMembersInfo.Size = new Size(0x72, 13);
            this.lblGroupMembersInfo.TabIndex = 5;
            this.lblGroupMembersInfo.Text = "群在线12人/共123人";
            base.set_AutoScaleDimensions(new SizeF(6f, 13f));
            base.set_AutoScaleMode(1);
            base.BaseHeight = 0x221;
            base.BaseWidth = 0x206;
            base.ClientSize = new Size(0x206, 0x221);
            base.Controls.Add(this.lblGroupMembersInfo);
            base.Controls.Add(this.pnlContainer);
            base.DisplayLocation = new System.Drawing.Point(20, -249);
            base.DisplaySize = new Size(0x206, 0x221);
            base.Icon = (Icon) manager.GetObject("$this.Icon");
            base.KeyPreview = true;
            this.set_MinimumSize(new Size(510, 450));
            base.Name = "GroupConversationForm";
            base.set_Padding(new Padding(4, 0, 4, 0x2b));
            base.Text = "GroupConversationForm";
            base.KeyDown += new KeyEventHandler(this.GroupConversationForm_KeyDown);
            this.pnlContainer.ResumeLayout(false);
            this.pnlCenter.ResumeLayout(false);
            this.scMain.get_Panel1().ResumeLayout(false);
            this.scMain.get_Panel2().ResumeLayout(false);
            this.scMain.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.pnlForWhiteBackground.ResumeLayout(false);
            this.pnlSendTypeImage.ResumeLayout(false);
            this.pictureBox1.EndInit();
            this.menuSendType.ResumeLayout(false);
            this.tsSendMessage.ResumeLayout(false);
            this.tsSendMessage.PerformLayout();
            this.menuHistoryChat.ResumeLayout(false);
            this.menuInputChat.ResumeLayout(false);
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        private void InitListControl()
        {
            try
            {
                this.listControl = new PGConversationRightControl(this._frameworkWnd, this.Group);
                this.listControl.Dock = DockStyle.Fill;
                this.pnlRight.Controls.Add(this.listControl);
            }
            catch (Exception exception)
            {
                ClientLogger.WriteException(exception);
            }
        }

        private void InitNavigaorSetup()
        {
            this.pnlRight.Visible = (this._folderNavigator.State & WndlessFolder.FolderState.Right) == WndlessFolder.FolderState.Right;
            this.pnlTop.Visible = (this._folderNavigator.State & WndlessFolder.FolderState.Down) != WndlessFolder.FolderState.Down;
            if (!this.pnlTop.Visible && !this.pnlRight.Visible)
            {
                this.tsSendMessage.Visible = false;
                this.btnSend.Visible = false;
                this.lblSMSSendInfo.Visible = false;
            }
            else
            {
                this.tsSendMessage.Visible = true;
                this.btnSend.Visible = true;
            }
        }

        private void InitNavigatorControl()
        {
            EventHandler handler = null;
            try
            {
                WndlessControlCollection controls = new WndlessControlCollection(this.pnlNav);
                this._folderNavigator = new WndlessFolder();
                this._folderNavigator.Cursor = Cursors.Hand;
                this._folderNavigator.Location = new System.Drawing.Point(1, this.scMain.Top);
                this._folderNavigator.FolderColor = Color.White;
                this._folderNavigator.TriangleSize = new Size(5, 3);
                this._folderNavigator.State = (WndlessFolder.FolderState) this.CurrentUser.Configuration.UserSetting.ConversationSetting.GroupWindowState;
                this.InitNavigaorSetup();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -