messagehistoryfrom.cs
来自「破解的飞信源代码」· CS 代码 · 共 1,211 行 · 第 1/5 页
CS
1,211 行
style2.set_SelectionForeColor(Color.Black);
style2.set_WrapMode(2);
this.dvMessageView.set_DefaultCellStyle(style2);
this.dvMessageView.set_GridColor(Color.FromArgb(0xdb, 0xe8, 240));
this.dvMessageView.Location = new System.Drawing.Point(0, 0);
this.dvMessageView.set_MultiSelect(false);
this.dvMessageView.Name = "dvMessageView";
this.dvMessageView.set_RowHeadersVisible(false);
this.dvMessageView.get_RowTemplate().set_Height(0x17);
this.dvMessageView.set_SelectionMode(1);
this.dvMessageView.Size = new Size(0x1b1, 0x109);
this.dvMessageView.TabIndex = 6;
this.dvMessageView.add_SelectionChanged(new EventHandler(this.dvMessageView_SelectionChanged));
this.dvMessageView.add_MouseDoubleClick(new MouseEventHandler(this.dvMessageView_MouseDoubleClick));
this.MsgType.set_DataPropertyName("MessageType");
this.MsgType.set_FillWeight(9f);
this.MsgType.set_HeaderText("类型");
this.MsgType.set_MinimumWidth(50);
this.MsgType.set_Name("MsgType");
this.MsgType.set_ReadOnly(true);
this.Sender.set_DataPropertyName("Sender");
this.Sender.set_FillWeight(30f);
this.Sender.set_HeaderText("发件人");
this.Sender.set_MinimumWidth(50);
this.Sender.set_Name("Sender");
this.Sender.set_ReadOnly(true);
this.Sender.set_SortMode(0);
this.Receiver.set_DataPropertyName("Receiver");
this.Receiver.set_FillWeight(43f);
this.Receiver.set_HeaderText("收件人");
this.Receiver.set_MinimumWidth(50);
this.Receiver.set_Name("Receiver");
this.Receiver.set_ReadOnly(true);
this.Receiver.set_SortMode(0);
this.MobileNo.set_DataPropertyName("MobileNo");
this.MobileNo.set_FillWeight(50f);
this.MobileNo.set_HeaderText("对方手机号/飞信号");
this.MobileNo.set_MinimumWidth(50);
this.MobileNo.set_Name("MobileNo");
this.MobileNo.set_ReadOnly(true);
this.Body.set_DataPropertyName("MessageBody");
this.Body.set_HeaderText("内容");
this.Body.set_MinimumWidth(50);
this.Body.set_Name("Body");
this.Body.set_ReadOnly(true);
this.Body.set_SortMode(0);
this.DateString.set_DataPropertyName("DateString");
this.DateString.set_FillWeight(15f);
this.DateString.set_HeaderText("时间");
this.DateString.set_MinimumWidth(50);
this.DateString.set_Name("DateString");
this.DateString.set_ReadOnly(true);
this.DateString.set_SortMode(0);
this.sourceManager.set_DataSource(typeof(MessageView));
this.sourceManager.set_Sort("");
this.lPlayer.set_AutoEllipsis(true);
this.lPlayer.Location = new System.Drawing.Point(190, 0x1bb);
this.lPlayer.Name = "lPlayer";
this.lPlayer.Size = new Size(0x16d, 14);
this.lPlayer.TabIndex = 8;
this.lDateTime.set_AutoSize(true);
this.lDateTime.Location = new System.Drawing.Point(2, 0x1a7);
this.lDateTime.Name = "lDateTime";
this.lDateTime.Size = new Size(0, 13);
this.lDateTime.TabIndex = 7;
this.llFirst.set_AutoSize(true);
this.llFirst.LinkColor = Color.Green;
this.llFirst.Location = new System.Drawing.Point(0x20f, 0x31);
this.llFirst.Name = "llFirst";
this.llFirst.Size = new Size(0x1f, 13);
this.llFirst.TabIndex = 5;
this.llFirst.TabStop = true;
this.llFirst.Text = "首页";
this.llFirst.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llFirst_LinkClicked);
this.llPrevious.set_AutoSize(true);
this.llPrevious.LinkColor = Color.Green;
this.llPrevious.Location = new System.Drawing.Point(0x234, 0x31);
this.llPrevious.Name = "llPrevious";
this.llPrevious.Size = new Size(0x2b, 13);
this.llPrevious.TabIndex = 4;
this.llPrevious.TabStop = true;
this.llPrevious.Text = "上一页";
this.llPrevious.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llPrevious_LinkClicked);
this.llNext.set_AutoSize(true);
this.llNext.LinkColor = Color.Green;
this.llNext.Location = new System.Drawing.Point(0x265, 0x31);
this.llNext.Name = "llNext";
this.llNext.Size = new Size(0x2b, 13);
this.llNext.TabIndex = 3;
this.llNext.TabStop = true;
this.llNext.Text = "下一页";
this.llNext.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llNext_LinkClicked);
this.operatePanel.BackColor = Color.White;
this.operatePanel.BackgroundImage = (Image) manager.GetObject("operatePanel.BackgroundImage");
this.operatePanel.BorderColor = Color.FromArgb(0xcb, 0xd4, 0xde);
this.operatePanel.BorderInsideColor = Color.Transparent;
this.operatePanel.BorderInsideWidth = 1;
this.operatePanel.BorderWidth = 1;
this.operatePanel.Controls.Add(this.pictureBox1);
this.operatePanel.Controls.Add(this.btnSearch);
this.operatePanel.Controls.Add(this.tbSearchString);
this.operatePanel.Controls.Add(this.btnRefresh);
this.operatePanel.Controls.Add(this.btnDelete);
this.operatePanel.ForeColor = Color.Black;
this.operatePanel.Location = new System.Drawing.Point(3, 3);
this.operatePanel.Name = "operatePanel";
this.operatePanel.Size = new Size(0x2b6, 0x38);
this.operatePanel.TabIndex = 0;
this.pictureBox1.BackColor = Color.Transparent;
this.pictureBox1.BackgroundImage = (Image) manager.GetObject("pictureBox1.BackgroundImage");
this.pictureBox1.set_BackgroundImageLayout(2);
this.pictureBox1.Location = new System.Drawing.Point(0xdf, 1);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new Size(10, 0x34);
this.pictureBox1.TabIndex = 4;
this.pictureBox1.TabStop = false;
this.btnSearch.BackColor = Color.Transparent;
this.btnSearch.BackgroundImage = (Image) manager.GetObject("btnSearch.BackgroundImage");
this.btnSearch.set_BackgroundImageLayout(2);
this.btnSearch.DisabledBackgroundImage = null;
this.btnSearch.get_FlatAppearance().set_BorderSize(0);
this.btnSearch.FlatStyle = FlatStyle.Flat;
this.btnSearch.HoverBackgroundImage = (Image) manager.GetObject("btnSearch.HoverBackgroundImage");
this.btnSearch.ImageAlign = ContentAlignment.MiddleLeft;
this.btnSearch.set_ImageKey("(无)");
this.btnSearch.Location = new System.Drawing.Point(480, 0x13);
this.btnSearch.Name = "btnSearch";
this.btnSearch.NormalBackgroundImage = (Image) manager.GetObject("btnSearch.NormalBackgroundImage");
this.btnSearch.PushedBackgroundImage = (Image) manager.GetObject("btnSearch.PushedBackgroundImage");
this.btnSearch.Size = new Size(0x36, 0x17);
this.btnSearch.TabIndex = 3;
this.btnSearch.Text = "搜索";
this.btnSearch.TextAlign = ContentAlignment.MiddleRight;
this.btnSearch.set_UseVisualStyleBackColor(false);
this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
this.tbSearchString.BackColor = Color.FromArgb(0xcb, 0xd4, 0xde);
this.tbSearchString.BackgroundImage = (Image) manager.GetObject("tbSearchString.BackgroundImage");
this.tbSearchString.DropDownMenu = null;
this.tbSearchString.Location = new System.Drawing.Point(0xef, 0x13);
this.tbSearchString.Name = "tbSearchString";
this.tbSearchString.ShowDisplayModeBar = false;
this.tbSearchString.SimpleMode = true;
this.tbSearchString.Size = new Size(0xeb, 0x13);
this.tbSearchString.TabIndex = 2;
this.tbSearchString.TipText = "输入需要搜索消息历史的关键字";
this.tbSearchString.TipTextClear = "请输入昵称、姓名、手机号、飞信号等查找好友";
this.tbSearchString.TipTextMagnifier = "请输入昵称、姓名、手机号、飞信号等查找好友";
this.tbSearchString.TipTextMenu = "请输入昵称、姓名、手机号、飞信号等查找好友";
this.tbSearchString.KeyPress += new KeyPressEventHandler(this.MessageHistoryFrom_KeyPress);
this.btnRefresh.BackColor = Color.Transparent;
this.btnRefresh.BackgroundImage = (Image) manager.GetObject("btnRefresh.BackgroundImage");
this.btnRefresh.set_BackgroundImageLayout(2);
this.btnRefresh.DisabledBackgroundImage = (Image) manager.GetObject("btnRefresh.DisabledBackgroundImage");
this.btnRefresh.get_FlatAppearance().set_BorderSize(0);
this.btnRefresh.FlatStyle = FlatStyle.Flat;
this.btnRefresh.Font = new Font("Microsoft Sans Serif", 8f, FontStyle.Regular, GraphicsUnit.Point, 0);
this.btnRefresh.HoverBackgroundImage = (Image) manager.GetObject("btnRefresh.HoverBackgroundImage");
this.btnRefresh.Location = new System.Drawing.Point(0x71, 3);
this.btnRefresh.Name = "btnRefresh";
this.btnRefresh.NormalBackgroundImage = (Image) manager.GetObject("btnRefresh.NormalBackgroundImage");
this.btnRefresh.PushedBackgroundImage = (Image) manager.GetObject("btnRefresh.PushedBackgroundImage");
this.btnRefresh.Size = new Size(0x68, 0x30);
this.btnRefresh.TabIndex = 1;
this.btnRefresh.Text = "刷新 ";
this.btnRefresh.TextAlign = ContentAlignment.MiddleRight;
this.btnRefresh.set_UseVisualStyleBackColor(false);
this.btnRefresh.Click += new EventHandler(this.btnRefresh_Click);
this.btnDelete.BackColor = Color.Transparent;
this.btnDelete.BackgroundImage = (Image) manager.GetObject("btnDelete.BackgroundImage");
this.btnDelete.set_BackgroundImageLayout(2);
this.btnDelete.DisabledBackgroundImage = (Image) manager.GetObject("btnDelete.DisabledBackgroundImage");
this.btnDelete.get_FlatAppearance().set_BorderSize(0);
this.btnDelete.FlatStyle = FlatStyle.Flat;
this.btnDelete.Font = new Font("Microsoft Sans Serif", 8f, FontStyle.Regular, GraphicsUnit.Point, 0);
this.btnDelete.HoverBackgroundImage = (Image) manager.GetObject("btnDelete.HoverBackgroundImage");
this.btnDelete.Location = new System.Drawing.Point(3, 3);
this.btnDelete.Name = "btnDelete";
this.btnDelete.NormalBackgroundImage = (Image) manager.GetObject("btnDelete.NormalBackgroundImage");
this.btnDelete.PushedBackgroundImage = (Image) manager.GetObject("btnDelete.PushedBackgroundImage");
this.btnDelete.Size = new Size(0x68, 0x30);
this.btnDelete.TabIndex = 0;
this.btnDelete.Text = "删除记录";
this.btnDelete.TextAlign = ContentAlignment.MiddleRight;
this.btnDelete.set_UseVisualStyleBackColor(false);
this.btnDelete.Click += new EventHandler(this.btnDelete_Click);
this.llLast.set_AutoSize(true);
this.llLast.LinkColor = Color.Green;
this.llLast.Location = new System.Drawing.Point(0x296, 0x31);
this.llLast.Name = "llLast";
this.llLast.Size = new Size(0x1f, 13);
this.llLast.TabIndex = 2;
this.llLast.TabStop = true;
this.llLast.Text = "末页";
this.llLast.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llLast_LinkClicked);
this.lMessageInfo.LinkColor = Color.Blue;
this.lMessageInfo.Location = new System.Drawing.Point(3, 0x3e);
this.lMessageInfo.Name = "lMessageInfo";
this.lMessageInfo.ShowBackgroundImage = false;
this.lMessageInfo.Size = new Size(0xbb, 13);
this.lMessageInfo.TabIndex = 1;
this.lMessageInfo.Text = "共有记录<font color=\"green\">xxxx</font>条";
this.lReceivers.set_AutoEllipsis(true);
this.lReceivers.Location = new System.Drawing.Point(0xac, 0x1a3);
this.lReceivers.Name = "lReceivers";
this.lReceivers.Size = new Size(0x16d, 14);
this.lReceivers.TabIndex = 13;
this.cmCopy.get_Items().AddRange(new ToolStripItem[] { this.miCopy });
this.cmCopy.Name = "cmCopy";
this.cmCopy.Size = new Size(0x65, 0x1a);
this.cmCopy.Text = "复制";
this.cmCopy.add_ItemClicked(new ToolStripItemClickedEventHandler(this, (IntPtr) this.cmCopy_ItemClicked));
this.miCopy.set_Name("miCopy");
this.miCopy.set_Size(new Size(100, 0x16));
this.miCopy.set_Text("复制");
this.cmTree.get_Items().AddRange(new ToolStripItem[] { this.miOpen, this.miRefresh, this.miDelete, this.miSplit, this.miOperation });
this.cmTree.Name = "cmTree";
this.cmTree.Size = new Size(0x86, 0x62);
this.cmTree.add_Closed(new ToolStripDropDownClosedEventHandler(this, (IntPtr) this.cmTree_Closed));
this.cmTree.add_Opening(new CancelEventHandler(this.cmTree_Opening));
this.cmTree.add_ItemClicked(new ToolStripItemClickedEventHandler(this, (IntPtr) this.cmTree_ItemClicked));
this.miOpen.set_Name("miOpen");
this.miOpen.set_Size(new Size(0x85, 0x16));
this.miOpen.set_Text("打开");
this.miRefresh.set_Name("miRefresh");
this.miRefresh.set_Size(new Size(0x85, 0x16));
this.miRefresh.set_Text("刷新");
this.miDelete.set_Name("miDelete");
this.miDelete.set_Size(new Size(0x85, 0x16));
this.miDelete.set_Text("删除记录...");
this.miSplit.set_Name("miSplit");
this.miSplit.set_Size(new Size(130, 6));
this.miOperation.set_Name("miOperation");
this.miOperation.set_Size(new Size(0x85, 0x16));
this.pProgress.BackColor = Color.LightGray;
this.pProgress.BorderStyle = BorderStyle.FixedSingle;
this.pProgress.Controls.Add(this.label1);
this.pProgress.Controls.Add(this.progressBar1);
this.pProgress.Location = new System.Drawing.Point(0x1f1, 0x303);
this.pProgress.Name = "pProgress";
this.pProgress.Size = new Size(200, 0x26);
this.pProgress.TabIndex = 2;
this.pProgress.Visible = false;
this.label1.set_AutoSize(true);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?