C# Builder 实现POP3信箱的监视__教程 |
|
日期:2007-5-20 1:21:23 人气:178 [大 中 小] |
|
|
|
this.tB_server.Size = new System.Drawing.Size(176, 21); this.tB_server.TabIndex = 4; this.tB_server.Text = ""; this.tB_server.TextChanged += new System.EventHandler(this.tB_pwd_TextChanged); // // tB_user // this.tB_user.Location = new System.Drawing.Point(112, 60); this.tB_user.Name = "tB_user"; this.tB_user.Size = new System.Drawing.Size(176, 21); this.tB_user.TabIndex = 5; this.tB_user.Text = ""; this.tB_user.TextChanged += new System.EventHandler(this.tB_pwd_TextChanged); // // tB_pwd // this.tB_pwd.Location = new System.Drawing.Point(112, 91); this.tB_pwd.Name = "tB_pwd"; this.tB_pwd.PasswordChar = '*'; this.tB_pwd.Size = new System.Drawing.Size(176, 21); this.tB_pwd.TabIndex = 6; this.tB_pwd.Text = ""; this.tB_pwd.TextChanged += new System.EventHandler(this.tB_pwd_TextChanged); // // tB_status // this.tB_status.Location = new System.Drawing.Point(16, 208); this.tB_status.Multiline = true; this.tB_status.Name = "tB_status"; this.tB_status.Size = new System.Drawing.Size(328, 80); this.tB_status.TabIndex = 7; this.tB_status.Text = ""; // // notifyIcon1 // this.notifyIcon1.ContextMenu = this.contextMenu1; this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); this.notifyIcon1.Text = "邮件检测"; this.notifyIcon1.Visible = true; // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2, this.menuItem3}); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "设置&S"; this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Text = "-"; // // menuItem3 // this.menuItem3.Index = 2; this.menuItem3.Text = "退出&Q"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // button2 // this.button2.Location = new System.Drawing.Point(48, 176); this.button2.Name = "button2"; this.button2.TabIndex = 8; this.button2.Text = "最小化"; this.button2.Click += new System.EventHandler(this.button2_Click); // // timer1 // this.timer1.Interval = 5000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // tB_mins // this.tB_mins.Location = new System.Drawing.Point(112, 124); this.tB_mins.Name = "tB_mins"; this.tB_mins.Size = new System.Drawing.Size(144, 21); this.tB_mins.TabIndex = 10; this.tB_mins.Text = "20000"; this.tB_mins.TextChanged += new System.EventHandler(this.tB_pwd_TextChanged); // // label4 // this.label4.Location = new System.Drawing.Point(32, 128); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(72, 23); this.label4.TabIndex = 9; this.label4.Text = "时间间隔:"; |
|
出处:本站原创 作者:佚名 |
|
|