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

📄 messagehistoryform.cs

📁 飞信的收发使用csharp进行开发
💻 CS
📖 第 1 页 / 共 4 页
字号:
            this.bindingNavigatorMovePreviousItem = new ToolStripButton();
            this.bindingNavigatorMoveNextItem = new ToolStripButton();
            this.bindingNavigatorMoveLastItem = new ToolStripButton();
            this.bindingNavigatorSeparator2 = new ToolStripSeparator();
            this.btnRefresh = new ToolStripButton();
            this.bindingNavigatorDeleteItem = new ToolStripButton();
            this.btnDeleteAll = new ToolStripButton();
            this.lblNavigatePageInfo = new ToolStripLabel();
            this.toolStripSeparator1 = new ToolStripSeparator();
            this.toolStripLabel1 = new ToolStripLabel();
            this.tsSearchContent = new ToolStripTextBox();
            this.tsSearch = new ToolStripButton();
            this.pnlMain = new Panel();
            this.xSplitContainer1.Panel1.SuspendLayout();
            this.xSplitContainer1.Panel2.SuspendLayout();
            this.xSplitContainer1.SuspendLayout();
            this.xSplitContainer2.Panel1.SuspendLayout();
            this.xSplitContainer2.Panel2.SuspendLayout();
            this.xSplitContainer2.SuspendLayout();
            ((ISupportInitialize) this.gdHistory).BeginInit();
            this.dgMenu.SuspendLayout();
            ((ISupportInitialize) this.sourceMessages).BeginInit();
            this.panel2.SuspendLayout();
            this.panel1.SuspendLayout();
            this.bindingNavigator.BeginInit();
            this.bindingNavigator.SuspendLayout();
            this.pnlMain.SuspendLayout();
            base.SuspendLayout();
            base.menubar.Location = new Point(3, 30);
            this.xSplitContainer1.BackColor = Color.Transparent;
            this.xSplitContainer1.Dock = DockStyle.Fill;
            this.xSplitContainer1.FixedPanel = FixedPanel.Panel1;
            this.xSplitContainer1.Location = new Point(0, 30);
            this.xSplitContainer1.Name = "xSplitContainer1";
            this.xSplitContainer1.Panel1.BackColor = Color.FromArgb(0xa4, 170, 220);
            this.xSplitContainer1.Panel1.Controls.Add(this.treeNavigate);
            this.xSplitContainer1.Panel1.Padding = new Padding(1);
            this.xSplitContainer1.Panel2.BackColor = Color.Transparent;
            this.xSplitContainer1.Panel2.Controls.Add(this.xSplitContainer2);
            this.xSplitContainer1.Size = new Size(0x30e, 0x1f5);
            this.xSplitContainer1.SplitterDistance = 0xc6;
            this.xSplitContainer1.TabIndex = 0;
            this.xSplitContainer1.SplitterMoved += new SplitterEventHandler(this.xSplitContainer1_SplitterMoved);
            this.treeNavigate.BorderStyle = BorderStyle.None;
            this.treeNavigate.Dock = DockStyle.Fill;
            this.treeNavigate.HideSelection = false;
            this.treeNavigate.ImageIndex = 0;
            this.treeNavigate.ImageList = this.imageList;
            this.treeNavigate.ItemHeight = 0x1a;
            this.treeNavigate.Location = new Point(1, 1);
            this.treeNavigate.Name = "treeNavigate";
            node.BackColor = Color.White;
            node.Name = "nodeContacts";
            node.Text = "联系人";
            this.treeNavigate.Nodes.AddRange(new TreeNode[] { node });
            this.treeNavigate.SelectedImageIndex = 0;
            this.treeNavigate.ShowNodeToolTips = true;
            this.treeNavigate.Size = new Size(0xc4, 0x1f3);
            this.treeNavigate.TabIndex = 0;
            this.treeNavigate.AfterCollapse += new TreeViewEventHandler(this.treeNavigate_AfterCollapse);
            this.treeNavigate.AfterSelect += new TreeViewEventHandler(this.treeNavigate_AfterSelect);
            this.treeNavigate.AfterExpand += new TreeViewEventHandler(this.treeNavigate_AfterExpand);
            this.imageList.ImageStream = (ImageListStreamer) manager.GetObject("imageList.ImageStream");
            this.imageList.TransparentColor = Color.Transparent;
            this.imageList.Images.SetKeyName(0, "NewFolderHS");
            this.imageList.Images.SetKeyName(1, "OpenfolderHS");
            this.xSplitContainer2.BackColor = Color.Transparent;
            this.xSplitContainer2.Dock = DockStyle.Fill;
            this.xSplitContainer2.Location = new Point(0, 0);
            this.xSplitContainer2.Name = "xSplitContainer2";
            this.xSplitContainer2.Orientation = Orientation.Horizontal;
            this.xSplitContainer2.Panel1.BackColor = Color.FromArgb(0xa4, 170, 220);
            this.xSplitContainer2.Panel1.Controls.Add(this.gdHistory);
            this.xSplitContainer2.Panel1.Padding = new Padding(1);
            this.xSplitContainer2.Panel2.BackColor = Color.Transparent;
            this.xSplitContainer2.Panel2.Controls.Add(this.panel2);
            this.xSplitContainer2.Panel2.Controls.Add(this.lblMessageInfo);
            this.xSplitContainer2.Size = new Size(580, 0x1f5);
            this.xSplitContainer2.SplitterDistance = 0x199;
            this.xSplitContainer2.TabIndex = 0;
            this.xSplitContainer2.SplitterMoved += new SplitterEventHandler(this.xSplitContainer2_SplitterMoved);
            this.gdHistory.AllowUserToAddRows = false;
            this.gdHistory.AllowUserToDeleteRows = false;
            this.gdHistory.AllowUserToResizeRows = false;
            this.gdHistory.AutoGenerateColumns = false;
            this.gdHistory.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            this.gdHistory.BackgroundColor = Color.White;
            this.gdHistory.BorderStyle = BorderStyle.None;
            this.gdHistory.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.gdHistory.Columns.AddRange(new DataGridViewColumn[] { this.fromDataGridViewTextBoxColumn, this.dateDataGridViewTextBoxColumn, this.timeDataGridViewTextBoxColumn, this.To, this.contentDataGridViewTextBoxColumn });
            this.gdHistory.ContextMenuStrip = this.dgMenu;
            this.gdHistory.DataSource = this.sourceMessages;
            this.gdHistory.Dock = DockStyle.Fill;
            this.gdHistory.Location = new Point(1, 1);
            this.gdHistory.Name = "gdHistory";
            this.gdHistory.RowHeadersVisible = false;
            this.gdHistory.RowHeadersWidth = 30;
            this.gdHistory.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing;
            this.gdHistory.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            this.gdHistory.ShowEditingIcon = false;
            this.gdHistory.Size = new Size(0x242, 0x197);
            this.gdHistory.TabIndex = 1;
            this.gdHistory.KeyDown += new KeyEventHandler(this.gdHistory_KeyDown);
            this.gdHistory.RowEnter += new DataGridViewCellEventHandler(this.gdHistory_RowEnter);
            this.gdHistory.CellFormatting += new DataGridViewCellFormattingEventHandler(this.gdHistory_CellFormatting);
            this.fromDataGridViewTextBoxColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
            this.fromDataGridViewTextBoxColumn.DataPropertyName = "From";
            this.fromDataGridViewTextBoxColumn.FillWeight = 114.5701f;
            this.fromDataGridViewTextBoxColumn.HeaderText = "发信人";
            this.fromDataGridViewTextBoxColumn.MinimumWidth = 50;
            this.fromDataGridViewTextBoxColumn.Name = "fromDataGridViewTextBoxColumn";
            this.fromDataGridViewTextBoxColumn.ReadOnly = true;
            this.fromDataGridViewTextBoxColumn.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.fromDataGridViewTextBoxColumn.Width = 70;
            this.dateDataGridViewTextBoxColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
            this.dateDataGridViewTextBoxColumn.DataPropertyName = "Date";
            this.dateDataGridViewTextBoxColumn.FillWeight = 93.59824f;
            this.dateDataGridViewTextBoxColumn.HeaderText = "日期";
            this.dateDataGridViewTextBoxColumn.MinimumWidth = 50;
            this.dateDataGridViewTextBoxColumn.Name = "dateDataGridViewTextBoxColumn";
            this.dateDataGridViewTextBoxColumn.ReadOnly = true;
            this.dateDataGridViewTextBoxColumn.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.dateDataGridViewTextBoxColumn.Width = 70;
            this.timeDataGridViewTextBoxColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
            this.timeDataGridViewTextBoxColumn.DataPropertyName = "Time";
            this.timeDataGridViewTextBoxColumn.FillWeight = 96.40015f;
            this.timeDataGridViewTextBoxColumn.HeaderText = "时间";
            this.timeDataGridViewTextBoxColumn.MinimumWidth = 50;
            this.timeDataGridViewTextBoxColumn.Name = "timeDataGridViewTextBoxColumn";
            this.timeDataGridViewTextBoxColumn.ReadOnly = true;
            this.timeDataGridViewTextBoxColumn.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.timeDataGridViewTextBoxColumn.Width = 70;
            this.To.DataPropertyName = "To";
            this.To.HeaderText = "收信人";
            this.To.Name = "To";
            this.To.ReadOnly = true;
            this.contentDataGridViewTextBoxColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            this.contentDataGridViewTextBoxColumn.DataPropertyName = "Content";
            this.contentDataGridViewTextBoxColumn.FillWeight = 95.43148f;
            this.contentDataGridViewTextBoxColumn.HeaderText = "内容";
            this.contentDataGridViewTextBoxColumn.MinimumWidth = 50;
            this.contentDataGridViewTextBoxColumn.Name = "contentDataGridViewTextBoxColumn";
            this.contentDataGridViewTextBoxColumn.ReadOnly = true;
            this.contentDataGridViewTextBoxColumn.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.dgMenu.Items.AddRange(new ToolStripItem[] { this.dgMenuSelectAll, this.dgMenuCopy, this.dgMenuDelete });
            this.dgMenu.Name = "dgMenu";
            this.dgMenu.Size = new Size(0x63, 70);
            this.dgMenu.Opening += new CancelEventHandler(this.dgMenu_Opening);
            this.dgMenuSelectAll.Name = "dgMenuSelectAll";
            this.dgMenuSelectAll.Size = new Size(0x62, 0x16);
            this.dgMenuSelectAll.Text = "全选";
            this.dgMenuSelectAll.Click += new EventHandler(this.dgMenuSelectAll_Click);
            this.dgMenuCopy.Name = "dgMenuCopy";
            this.dgMenuCopy.Size = new Size(0x62, 0x16);
            this.dgMenuCopy.Text = "复制";
            this.dgMenuCopy.Click += new EventHandler(this.dgMenuCopy_Click);
            this.dgMenuDelete.Name = "dgMenuDelete";
            this.dgMenuDelete.Size = new Size(0x62, 0x16);
            this.dgMenuDelete.Text = "删除";
            this.dgMenuDelete.Click += new EventHandler(this.dgMenuDelete_Click);
            this.sourceMessages.DataSource = typeof(Imps.Client.Pc.Message);
            this.panel2.BackColor = Color.FromArgb(0xa4, 170, 220);
            this.panel2.Controls.Add(this.rtfContent);
            this.panel2.Dock = DockStyle.Fill;
            this.panel2.Location = new Point(0, 0x1a);
            this.panel2.Name = "panel2";
            this.panel2.Padding = new Padding(1);
            this.panel2.Size = new Size(580, 0x3e);
            this.panel2.TabIndex = 1;
            this.rtfContent.BackColor = SystemColors.Window;
            this.rtfContent.BorderColor = Color.Empty;
            this.rtfContent.BorderStyle = BorderStyle.None;
            this.rtfContent.Dock = DockStyle.Fill;
            this.rtfContent.Location = new Point(1, 1);
            this.rtfContent.Name = "rtfContent";
            this.rtfContent.ReadOnly = true;
            this.rtfContent.Size = new Size(0x242, 60);
            this.rtfContent.TabIndex = 1;
            this.rtfContent.Text = "";
            this.lblMessageInfo.BackColor = Color.Transparent;
            this.lblMessageInfo.BorderColor = Color.Empty;
            this.lblMessageInfo.ButtonBorderStyle = ButtonBorderStyle.None;
            this.lblMessageInfo.Dock = DockStyle.Top;
            this.lblMessageInfo.Location = new Point(0, 0);
            this.lblMessageInfo.Name = "lblMessageInfo";
            this.lblMessageInfo.Size = new Size(580, 0x1a);
            this.lblMessageInfo.TabIndex = 0;
            this.lblMessageInfo.TextAlign = ContentAlignment.MiddleLeft;
            this.panel1.BackColor = Color.Transparent;
            this.panel1.Controls.Add(this.bindingNavigator);
            this.panel1.Dock = DockStyle.Top;
            this.panel1.Location = new Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new Size(0x30e, 30);
            this.panel1.TabIndex = 2;
            this.bindingNavigator.AddNewItem = null;
            this.bindingNavigator.BackColor = Color.Transparent;
            this.bindingNavigator.CountItem = null;
            this.bindingNavigator.DeleteItem = null;
            this.bindingNavigator.Items.AddRange(new ToolStripItem[] { this.bindingNavigatorMoveFirstItem, this.bindingNavigatorSeparator, this.bindingNavigatorMovePreviousItem, this.bindingNavigatorMoveNextItem, this.bindingNavigatorMoveLastItem, this.bindingNavigatorSeparator2, this.btnRefresh, this.bindingNavigatorDeleteItem, this.btnDeleteAll, this.lblNavigatePageInfo, this.toolStripSeparator1, this.toolStripLabel1, this.tsSearchContent, this.tsSearch });
            this.bindingNavigator.Location = new Point(0, 0);
            this.bindingNavigator.MoveFirstItem = null;
            this.bindingNavigator.MoveLastItem = null;
            this.bindingNavigator.MoveNextItem = null;
            this.bindingNavigator.MovePreviousItem = null;
            this.bindingNavigator.Name = "bindingNavigator";
            this.bindingNavigator.PositionItem = null;
            this.bindingNavigator.RenderMode = ToolStripRenderMode.System;
            this.bindingNavigator.ShowItemToolTips = false;
            this.bindingNavigator.Size = new Size(0x30e, 0x19);
            this.bindingNavigator.TabIndex = 1;
            this.bindingNavigatorMoveFirstItem.Image = (Image) manager.GetObject("bindingNavigatorMoveFirstItem.Image");
            this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
            this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
            this.bindingNavigatorMoveFirstItem.Size = new Size(0x33, 0x16);
            this.bindingNavigatorMoveFirstItem.Text = "首页";
            this.bindingNavigatorMoveFirstItem.Click += new EventHandler(this.bindingNavigatorMoveFirstItem_Click);
            this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
            this.bindingNavigatorSeparator.Size = new Size(6, 0x19);
            this.bindingNavigatorMovePreviousItem.Image = (Image) manager.GetObject("bindingNavigatorMovePreviousItem.Image");
            this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
            this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
            this.bindingNavigatorMovePreviousItem.Size = new Size(0x3f, 0x16);
            this.bindingNavigatorMovePreviousItem.Text = "上一页";
            this.bindingNavigatorMovePreviousItem.Click += new EventHandler(this.bindingNavigatorMovePreviousItem_Click);
            this.bindingNavigatorMoveNextItem.Image = (Image) manager.GetObject("bindingNavigatorMoveNextItem.Image");
            this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
            this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
            this.bindingNavigatorMoveNextItem.Size = new Size(0x3f, 0x16);
            this.bindingNavigatorMoveNextItem.Text = "下一页";
            this.bindingNavigatorMoveNextItem.Click += new EventHandler(this.bindingNavigatorMoveNextItem_Click);
            this.bindingNavigatorMoveLastItem.Image = (Image) manager.GetObject("bindingNavigatorMoveLastItem.Image");
            this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
            this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
            this.bindingNavigatorMoveLastItem.Size = new Size(0x33, 0x16);
            this.bindingNavigatorMoveLastItem.Text = "尾页";
            this.bindingNavigatorMoveLastItem.Click += new EventHandler(this.bindingNavigatorMoveLastItem_Click);
            this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
            this.bindingNavigatorSeparator2.Size = new Size(6, 0x19);
            this.btnRefresh.Image = (Image) manager.GetObject("btnRefresh.Image");
            this.btnRefresh.ImageTransparentColor = Color.Magenta;
            this.btnRefresh.Name = "btnRefresh";
            this.btnRefresh.Size = new Size(0x33, 0x16);
            this.btnRefresh.Text = "刷新";
            this.btnRefresh.Click += new EventHandler(this.btnRefresh_Click);
            this.bindingNavigatorDeleteItem.Image = (Image) manager.GetObject("bindingNavigatorDeleteItem.Image");
            this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
            this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
            this.bindingNavigatorDeleteItem.Size = new Size(0x33, 0x16);
            this.bindingNavigatorDeleteItem.Text = "删除";
            this.bindingNavigatorDeleteItem.Click += new EventHandler(this.bindingNavigatorDeleteItem_Click);
            this.btnDeleteAll.Image = (Image) manager.GetObject("btnDeleteAll.Image");
            this.btnDeleteAll.Name = "btnDeleteAll";
            this.btnDeleteAll.RightToLeftAutoMirrorImage = true;
            this.btnDeleteAll.Size = new Size(0x4b, 0x16);
            this.btnDeleteAll.Text = "删除所有";
            this.btnDeleteAll.Click += new EventHandler(this.btnDeleteAll_Click);

⌨️ 快捷键说明

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