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

📄 mainform.cs

📁 网络编程案例
💻 CS
📖 第 1 页 / 共 5 页
字号:
			// 
			this.statusBar.Location = new System.Drawing.Point(0, 627);
			this.statusBar.Name = "statusBar";
			this.statusBar.Size = new System.Drawing.Size(1024, 22);
			this.statusBar.TabIndex = 5;
			// 
			// toolBar
			// 
			this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
																					   this.tbbtnNew,
																					   this.tbbtnReceive,
																					   this.tbbtnSend,
																					   this.tbbtnDelete});
			this.toolBar.DropDownArrows = true;
			this.toolBar.ImageList = this.imageList1;
			this.toolBar.Location = new System.Drawing.Point(0, 0);
			this.toolBar.Name = "toolBar";
			this.toolBar.ShowToolTips = true;
			this.toolBar.Size = new System.Drawing.Size(1024, 42);
			this.toolBar.TabIndex = 4;
			this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
			// 
			// tbbtnNew
			// 
			this.tbbtnNew.ImageIndex = 2;
			this.tbbtnNew.Text = "新建";
			// 
			// tbbtnReceive
			// 
			this.tbbtnReceive.DropDownMenu = this.cmAccounts;
			this.tbbtnReceive.ImageIndex = 1;
			this.tbbtnReceive.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
			this.tbbtnReceive.Text = "接收邮件";
			// 
			// cmAccounts
			// 
			this.cmAccounts.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					   this.miReceiveAll,
																					   this.miLine});
			// 
			// miReceiveAll
			// 
			this.miReceiveAll.Index = 0;
			this.miReceiveAll.Text = "接收全部邮箱";
			this.miReceiveAll.Click += new System.EventHandler(this.miReceiveAll_Click);
			// 
			// miLine
			// 
			this.miLine.Index = 1;
			this.miLine.Text = "-";
			// 
			// tbbtnSend
			// 
			this.tbbtnSend.ImageIndex = 0;
			this.tbbtnSend.Text = "发送";
			// 
			// tbbtnDelete
			// 
			this.tbbtnDelete.ImageIndex = 3;
			this.tbbtnDelete.Text = "删除";
			// 
			// imageList1
			// 
			this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
			this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
			this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// pnlClient
			// 
			this.pnlClient.Controls.Add(this.pnlLeft);
			this.pnlClient.Dock = System.Windows.Forms.DockStyle.Fill;
			this.pnlClient.Location = new System.Drawing.Point(0, 42);
			this.pnlClient.Name = "pnlClient";
			this.pnlClient.Size = new System.Drawing.Size(1024, 585);
			this.pnlClient.TabIndex = 6;
			// 
			// pnlLeft
			// 
			this.pnlLeft.Controls.Add(this.pnlPreview);
			this.pnlLeft.Controls.Add(this.splListPreview);
			this.pnlLeft.Controls.Add(this.lvMailList);
			this.pnlLeft.Controls.Add(this.splitter1);
			this.pnlLeft.Controls.Add(this.tvBoxesList);
			this.pnlLeft.Dock = System.Windows.Forms.DockStyle.Fill;
			this.pnlLeft.Location = new System.Drawing.Point(0, 0);
			this.pnlLeft.Name = "pnlLeft";
			this.pnlLeft.Size = new System.Drawing.Size(1024, 585);
			this.pnlLeft.TabIndex = 7;
			// 
			// pnlPreview
			// 
			this.pnlPreview.Controls.Add(this.rtbContent);
			this.pnlPreview.Dock = System.Windows.Forms.DockStyle.Fill;
			this.pnlPreview.Location = new System.Drawing.Point(187, 100);
			this.pnlPreview.Name = "pnlPreview";
			this.pnlPreview.Size = new System.Drawing.Size(837, 485);
			this.pnlPreview.TabIndex = 5;
			// 
			// rtbContent
			// 
			this.rtbContent.Dock = System.Windows.Forms.DockStyle.Fill;
			this.rtbContent.Location = new System.Drawing.Point(0, 0);
			this.rtbContent.Name = "rtbContent";
			this.rtbContent.ReadOnly = true;
			this.rtbContent.Size = new System.Drawing.Size(837, 485);
			this.rtbContent.TabIndex = 8;
			this.rtbContent.Text = "";
			// 
			// splListPreview
			// 
			this.splListPreview.Dock = System.Windows.Forms.DockStyle.Top;
			this.splListPreview.Location = new System.Drawing.Point(187, 97);
			this.splListPreview.Name = "splListPreview";
			this.splListPreview.Size = new System.Drawing.Size(837, 3);
			this.splListPreview.TabIndex = 4;
			this.splListPreview.TabStop = false;
			// 
			// lvMailList
			// 
			this.lvMailList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																						 this.colSentName,
																						 this.colReceiveName,
																						 this.colTitle,
																						 this.colSentTime});
			this.lvMailList.Dock = System.Windows.Forms.DockStyle.Top;
			this.lvMailList.FullRowSelect = true;
			this.lvMailList.Location = new System.Drawing.Point(187, 0);
			this.lvMailList.MultiSelect = false;
			this.lvMailList.Name = "lvMailList";
			this.lvMailList.Size = new System.Drawing.Size(837, 97);
			this.lvMailList.TabIndex = 3;
			this.lvMailList.View = System.Windows.Forms.View.Details;
			this.lvMailList.DoubleClick += new System.EventHandler(this.lvMailList_DoubleClick);
			this.lvMailList.SelectedIndexChanged += new System.EventHandler(this.lvMailList_SelectedIndexChanged);
			// 
			// colSentName
			// 
			this.colSentName.Text = "发送人";
			this.colSentName.Width = 142;
			// 
			// colReceiveName
			// 
			this.colReceiveName.Text = "收件人";
			this.colReceiveName.Width = 126;
			// 
			// colTitle
			// 
			this.colTitle.Text = "标题";
			this.colTitle.Width = 468;
			// 
			// colSentTime
			// 
			this.colSentTime.Text = "发送时间";
			// 
			// splitter1
			// 
			this.splitter1.Location = new System.Drawing.Point(184, 0);
			this.splitter1.Name = "splitter1";
			this.splitter1.Size = new System.Drawing.Size(3, 585);
			this.splitter1.TabIndex = 2;
			this.splitter1.TabStop = false;
			// 
			// tvBoxesList
			// 
			this.tvBoxesList.Dock = System.Windows.Forms.DockStyle.Left;
			this.tvBoxesList.ImageIndex = -1;
			this.tvBoxesList.Location = new System.Drawing.Point(0, 0);
			this.tvBoxesList.Name = "tvBoxesList";
			this.tvBoxesList.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
																					new System.Windows.Forms.TreeNode("收件箱"),
																					new System.Windows.Forms.TreeNode("发件箱"),
																					new System.Windows.Forms.TreeNode("草稿箱"),
																					new System.Windows.Forms.TreeNode("垃圾箱"),
																					new System.Windows.Forms.TreeNode("已发送")});
			this.tvBoxesList.SelectedImageIndex = -1;
			this.tvBoxesList.Size = new System.Drawing.Size(184, 585);
			this.tvBoxesList.TabIndex = 1;
			this.tvBoxesList.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvBoxesList_AfterSelect);
			// 
			// oledbcntMyOutLookDB
			// 
			this.oledbcntMyOutLookDB.ConnectionString = @"Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB:Database Locking Mode=1;Data Source=""MyOutlookDB.mdb"";Mode=Share Deny None;Jet OLEDB:Engine Type=5;Provider=""Microsoft.Jet.OLEDB.4.0"";Jet OLEDB:System database=;Jet OLEDB:SFP=False;persist security info=False;Extended Properties=;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Create System Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;User ID=Admin;Jet OLEDB:Global Bulk Transactions=1";
			// 
			// oledbadpMailAccounts
			// 
			this.oledbadpMailAccounts.DeleteCommand = this.oleDbDeleteCommand1;
			this.oledbadpMailAccounts.InsertCommand = this.oleDbInsertCommand1;
			this.oledbadpMailAccounts.SelectCommand = this.oleDbSelectCommand1;
			this.oledbadpMailAccounts.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
																										   new System.Data.Common.DataTableMapping("Table", "MailAccounts", new System.Data.Common.DataColumnMapping[] {
																																																						   new System.Data.Common.DataColumnMapping("Account", "Account"),
																																																						   new System.Data.Common.DataColumnMapping("IncomingMailServer", "IncomingMailServer"),
																																																						   new System.Data.Common.DataColumnMapping("InPassword", "InPassword"),
																																																						   new System.Data.Common.DataColumnMapping("InPort", "InPort"),
																																																						   new System.Data.Common.DataColumnMapping("InUserID", "InUserID"),
																																																						   new System.Data.Common.DataColumnMapping("IsLeaveMessage", "IsLeaveMessage"),
																																																						   new System.Data.Common.DataColumnMapping("IsOutgoingAuthorized", "IsOutgoingAuthorized"),
																																																						   new System.Data.Common.DataColumnMapping("IsTheSameWithIncoming", "IsTheSameWithIncoming"),
																																																						   new System.Data.Common.DataColumnMapping("MailAccountID", "MailAccountID"),
																																																						   new System.Data.Common.DataColumnMapping("OutgoingMailServer", "OutgoingMailServer"),
																																																						   new System.Data.Common.DataColumnMapping("OutPassword", "OutPassword"),
																																																						   new System.Data.Common.DataColumnMapping("OutPort", "OutPort"),
																																																						   new System.Data.Common.DataColumnMapping("OutUserID", "OutUserID"),

⌨️ 快捷键说明

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