/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.edtPassword = new System.Windows.Forms.TextBox(); this.edtUser = new System.Windows.Forms.TextBox(); this.edtServer = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.edtPort = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.cbUseTLS = new System.Windows.Forms.CheckBox(); this.btnLogout = new System.Windows.Forms.Button(); this.btnLogin = new System.Windows.Forms.Button(); this.tvFolders = new System.Windows.Forms.ListBox(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.lvMessages = new System.Windows.Forms.ListView(); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.label7 = new System.Windows.Forms.Label(); this.edtFrom = new System.Windows.Forms.TextBox(); this.edtSubject = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.memBody = new System.Windows.Forms.TextBox(); this.imap41 = new CleverComponents.InetSuite.Imap4(); this.mailMessage1 = new CleverComponents.InetSuite.MailMessage(); ((System.ComponentModel.ISupportInitialize)(this.imap41)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).BeginInit(); this.SuspendLayout(); // // edtPassword // this.edtPassword.Location = new System.Drawing.Point(312, 72); this.edtPassword.Name = "edtPassword"; this.edtPassword.PasswordChar = '*'; this.edtPassword.Size = new System.Drawing.Size(104, 20); this.edtPassword.TabIndex = 5; this.edtPassword.Text = "clevertester"; // // edtUser // this.edtUser.Location = new System.Drawing.Point(60, 72); this.edtUser.Name = "edtUser"; this.edtUser.Size = new System.Drawing.Size(124, 20); this.edtUser.TabIndex = 4; this.edtUser.Text = "CleverTester"; // // edtServer // this.edtServer.Location = new System.Drawing.Point(60, 16); this.edtServer.Name = "edtServer"; this.edtServer.Size = new System.Drawing.Size(356, 20); this.edtServer.TabIndex = 1; this.edtServer.Text = "localhost"; // // label3 // this.label3.Location = new System.Drawing.Point(252, 75); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(54, 16); this.label3.TabIndex = 8; this.label3.Text = "Password"; // // label2 // this.label2.Location = new System.Drawing.Point(16, 75); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 7; this.label2.Text = "User"; // // label1 // this.label1.Location = new System.Drawing.Point(16, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 16); this.label1.TabIndex = 6; this.label1.Text = "Server"; // // edtPort // this.edtPort.Location = new System.Drawing.Point(60, 40); this.edtPort.Name = "edtPort"; this.edtPort.Size = new System.Drawing.Size(68, 20); this.edtPort.TabIndex = 2; this.edtPort.Text = "993"; // // label4 // this.label4.Location = new System.Drawing.Point(16, 40); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 16); this.label4.TabIndex = 12; this.label4.Text = "Port"; // // cbUseTLS // this.cbUseTLS.Checked = true; this.cbUseTLS.CheckState = System.Windows.Forms.CheckState.Checked; this.cbUseTLS.Location = new System.Drawing.Point(312, 40); this.cbUseTLS.Name = "cbUseTLS"; this.cbUseTLS.Size = new System.Drawing.Size(104, 24); this.cbUseTLS.TabIndex = 3; this.cbUseTLS.Text = "Use SSL / TLS"; // // btnLogout // this.btnLogout.Location = new System.Drawing.Point(432, 48); this.btnLogout.Name = "btnLogout"; this.btnLogout.Size = new System.Drawing.Size(96, 23); this.btnLogout.TabIndex = 7; this.btnLogout.Text = "Logout"; this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click); // // btnLogin // this.btnLogin.Location = new System.Drawing.Point(432, 16); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(96, 23); this.btnLogin.TabIndex = 6; this.btnLogin.Text = "Login"; this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click); // // tvFolders // this.tvFolders.Location = new System.Drawing.Point(16, 128); this.tvFolders.Name = "tvFolders"; this.tvFolders.Size = new System.Drawing.Size(152, 264); this.tvFolders.TabIndex = 8; this.tvFolders.SelectedIndexChanged += new System.EventHandler(this.tvFolders_SelectedIndexChanged); // // label5 // this.label5.Location = new System.Drawing.Point(16, 104); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(80, 23); this.label5.TabIndex = 22; this.label5.Text = "Imap Folders"; // // label6 // this.label6.Location = new System.Drawing.Point(192, 104); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(64, 23); this.label6.TabIndex = 23; this.label6.Text = "Messages"; // // lvMessages // this.lvMessages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5 }); this.lvMessages.FullRowSelect = true; this.lvMessages.HideSelection = false; this.lvMessages.Location = new System.Drawing.Point(176, 128); this.lvMessages.Name = "lvMessages"; this.lvMessages.Size = new System.Drawing.Size(352, 104); this.lvMessages.TabIndex = 9; this.lvMessages.UseCompatibleStateImageBehavior = false; this.lvMessages.View = System.Windows.Forms.View.Details; this.lvMessages.SelectedIndexChanged += new System.EventHandler(this.lvMessages_SelectedIndexChanged); // // columnHeader2 // this.columnHeader2.Text = "Subject"; this.columnHeader2.Width = 100; // // columnHeader3 // this.columnHeader3.Text = "From"; this.columnHeader3.Width = 100; // // columnHeader4 // this.columnHeader4.Text = "Date"; this.columnHeader4.Width = 80; // // columnHeader5 // this.columnHeader5.Text = "Size"; // // label7 // this.label7.Location = new System.Drawing.Point(184, 248); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(48, 23); this.label7.TabIndex = 25; this.label7.Text = "From"; // // edtFrom // this.edtFrom.Location = new System.Drawing.Point(232, 248); this.edtFrom.Name = "edtFrom"; this.edtFrom.ReadOnly = true; this.edtFrom.Size = new System.Drawing.Size(296, 20); this.edtFrom.TabIndex = 10; // // edtSubject // this.edtSubject.Location = new System.Drawing.Point(232, 272); this.edtSubject.Name = "edtSubject"; this.edtSubject.ReadOnly = true; this.edtSubject.Size = new System.Drawing.Size(296, 20); this.edtSubject.TabIndex = 11; // // label8 // this.label8.Location = new System.Drawing.Point(184, 272); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(48, 23); this.label8.TabIndex = 27; this.label8.Text = "Subject"; // // memBody // this.memBody.Location = new System.Drawing.Point(184, 296); this.memBody.Multiline = true; this.memBody.Name = "memBody"; this.memBody.ReadOnly = true; this.memBody.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.memBody.Size = new System.Drawing.Size(344, 96); this.memBody.TabIndex = 12; // // imap41 // this.imap41.VerifyServer += new CleverComponents.InetSuite.VerifyPeerEventHandler(this.imap41_VerifyServer); // // mailMessage1 // this.mailMessage1.Date = new System.DateTime(2007, 1, 10, 13, 51, 45, 827); this.mailMessage1.From.Email = ""; this.mailMessage1.From.Name = ""; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(546, 408); this.Controls.Add(this.memBody); this.Controls.Add(this.edtSubject); this.Controls.Add(this.label8); this.Controls.Add(this.edtFrom); this.Controls.Add(this.label7); this.Controls.Add(this.lvMessages); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.tvFolders); this.Controls.Add(this.btnLogout); this.Controls.Add(this.btnLogin); this.Controls.Add(this.cbUseTLS); this.Controls.Add(this.edtPort); this.Controls.Add(this.label4); this.Controls.Add(this.edtPassword); this.Controls.Add(this.edtUser); this.Controls.Add(this.edtServer); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.Text = "IMAP4 Client with SSL / TLS support"; ((System.ComponentModel.ISupportInitialize)(this.imap41)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.edtServer = new System.Windows.Forms.TextBox(); this.edtUser = new System.Windows.Forms.TextBox(); this.edtPassword = new System.Windows.Forms.TextBox(); this.cbUseSPA = new System.Windows.Forms.CheckBox(); this.label4 = new System.Windows.Forms.Label(); this.edtPort = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.edtTimeOut = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.edtFirstUnseen = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.edtRecent = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.edtAll = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.edtSubscribed = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.lvMessages = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.tvFolders = new System.Windows.Forms.ListBox(); this.label10 = new System.Windows.Forms.Label(); this.memLog = new System.Windows.Forms.TextBox(); this.btnLogin = new System.Windows.Forms.Button(); this.btnLogout = new System.Windows.Forms.Button(); this.btnNewFolder = new System.Windows.Forms.Button(); this.btnDeleteFolder = new System.Windows.Forms.Button(); this.btnFind = new System.Windows.Forms.Button(); this.btnSubscribe = new System.Windows.Forms.Button(); this.btnUnsubscribe = new System.Windows.Forms.Button(); this.btnAppend = new System.Windows.Forms.Button(); this.btnCopy = new System.Windows.Forms.Button(); this.btnDelete = new System.Windows.Forms.Button(); this.btnPurge = new System.Windows.Forms.Button(); this.imap41 = new CleverComponents.InetSuite.Imap4(); this.mailMessage1 = new CleverComponents.InetSuite.MailMessage(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.imap41)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(16, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 16); this.label1.TabIndex = 0; this.label1.Text = "Server"; // // label2 // this.label2.Location = new System.Drawing.Point(16, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 1; this.label2.Text = "User"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 64); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 16); this.label3.TabIndex = 2; this.label3.Text = "Password"; // // edtServer // this.edtServer.Location = new System.Drawing.Point(80, 16); this.edtServer.Name = "edtServer"; this.edtServer.Size = new System.Drawing.Size(216, 20); this.edtServer.TabIndex = 3; this.edtServer.Text = "localhost"; // // edtUser // this.edtUser.Location = new System.Drawing.Point(80, 40); this.edtUser.Name = "edtUser"; this.edtUser.Size = new System.Drawing.Size(216, 20); this.edtUser.TabIndex = 4; this.edtUser.Text = "CleverTester"; // // edtPassword // this.edtPassword.Location = new System.Drawing.Point(80, 64); this.edtPassword.Name = "edtPassword"; this.edtPassword.PasswordChar = '*'; this.edtPassword.Size = new System.Drawing.Size(216, 20); this.edtPassword.TabIndex = 5; this.edtPassword.Text = "clevertester"; // // cbUseSPA // this.cbUseSPA.Location = new System.Drawing.Point(312, 16); this.cbUseSPA.Name = "cbUseSPA"; this.cbUseSPA.Size = new System.Drawing.Size(216, 24); this.cbUseSPA.TabIndex = 6; this.cbUseSPA.Text = "Use Secure Password Authentication"; // // label4 // this.label4.Location = new System.Drawing.Point(312, 40); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 16); this.label4.TabIndex = 8; this.label4.Text = "Port"; // // edtPort // this.edtPort.Location = new System.Drawing.Point(392, 40); this.edtPort.Name = "edtPort"; this.edtPort.Size = new System.Drawing.Size(128, 20); this.edtPort.TabIndex = 9; this.edtPort.Text = "143"; // // label5 // this.label5.Location = new System.Drawing.Point(312, 64); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(72, 16); this.label5.TabIndex = 10; this.label5.Text = "TimeOut, s"; // // edtTimeOut // this.edtTimeOut.Location = new System.Drawing.Point(392, 64); this.edtTimeOut.Name = "edtTimeOut"; this.edtTimeOut.Size = new System.Drawing.Size(128, 20); this.edtTimeOut.TabIndex = 11; this.edtTimeOut.Text = "60"; // // groupBox1 // this.groupBox1.Controls.Add(this.edtFirstUnseen); this.groupBox1.Controls.Add(this.label9); this.groupBox1.Controls.Add(this.edtRecent); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.edtAll); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.edtSubscribed); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Location = new System.Drawing.Point(184, 96); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(336, 80); this.groupBox1.TabIndex = 13; this.groupBox1.TabStop = false; this.groupBox1.Text = "Folder Details"; // // edtFirstUnseen // this.edtFirstUnseen.Location = new System.Drawing.Point(256, 48); this.edtFirstUnseen.Name = "edtFirstUnseen"; this.edtFirstUnseen.Size = new System.Drawing.Size(64, 20); this.edtFirstUnseen.TabIndex = 7; // // label9 // this.label9.Location = new System.Drawing.Point(152, 48); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(88, 16); this.label9.TabIndex = 6; this.label9.Text = "First Unseen"; // // edtRecent // this.edtRecent.Location = new System.Drawing.Point(256, 24); this.edtRecent.Name = "edtRecent"; this.edtRecent.Size = new System.Drawing.Size(64, 20); this.edtRecent.TabIndex = 5; // // label8 // this.label8.Location = new System.Drawing.Point(152, 24); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(96, 16); this.label8.TabIndex = 4; this.label8.Text = "Recent Messages"; // // edtAll // this.edtAll.Location = new System.Drawing.Point(80, 48); this.edtAll.Name = "edtAll"; this.edtAll.Size = new System.Drawing.Size(64, 20); this.edtAll.TabIndex = 3; // // label7 // this.label7.Location = new System.Drawing.Point(8, 48); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(72, 16); this.label7.TabIndex = 2; this.label7.Text = "All Messages"; // // edtSubscribed // this.edtSubscribed.Location = new System.Drawing.Point(80, 24); this.edtSubscribed.Name = "edtSubscribed"; this.edtSubscribed.Size = new System.Drawing.Size(64, 20); this.edtSubscribed.TabIndex = 1; // // label6 // this.label6.Location = new System.Drawing.Point(8, 24); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(64, 16); this.label6.TabIndex = 0; this.label6.Text = "Subscribed"; // // lvMessages // this.lvMessages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4 }); this.lvMessages.FullRowSelect = true; this.lvMessages.HideSelection = false; this.lvMessages.Location = new System.Drawing.Point(184, 184); this.lvMessages.Name = "lvMessages"; this.lvMessages.Size = new System.Drawing.Size(336, 104); this.lvMessages.TabIndex = 14; this.lvMessages.UseCompatibleStateImageBehavior = false; this.lvMessages.View = System.Windows.Forms.View.Details; this.lvMessages.DoubleClick += new System.EventHandler(this.lvMessages_DoubleClick); // // columnHeader1 // this.columnHeader1.Text = "No"; this.columnHeader1.Width = 50; // // columnHeader2 // this.columnHeader2.Text = "Subject"; this.columnHeader2.Width = 100; // // columnHeader3 // this.columnHeader3.Text = "From"; this.columnHeader3.Width = 100; // // columnHeader4 // this.columnHeader4.Text = "Flags"; this.columnHeader4.Width = 80; // // tvFolders // this.tvFolders.Location = new System.Drawing.Point(16, 104); this.tvFolders.Name = "tvFolders"; this.tvFolders.Size = new System.Drawing.Size(152, 186); this.tvFolders.TabIndex = 12; this.tvFolders.SelectedIndexChanged += new System.EventHandler(this.tvFolders_SelectedIndexChanged); // // label10 // this.label10.Location = new System.Drawing.Point(16, 296); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(48, 16); this.label10.TabIndex = 15; this.label10.Text = "Log"; // // memLog // this.memLog.Location = new System.Drawing.Point(16, 312); this.memLog.Multiline = true; this.memLog.Name = "memLog"; this.memLog.ReadOnly = true; this.memLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.memLog.Size = new System.Drawing.Size(504, 72); this.memLog.TabIndex = 16; // // btnLogin // this.btnLogin.Location = new System.Drawing.Point(536, 16); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(96, 23); this.btnLogin.TabIndex = 17; this.btnLogin.Text = "Login"; this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click); // // btnLogout // this.btnLogout.Location = new System.Drawing.Point(536, 48); this.btnLogout.Name = "btnLogout"; this.btnLogout.Size = new System.Drawing.Size(96, 23); this.btnLogout.TabIndex = 18; this.btnLogout.Text = "Logout"; this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click); // // btnNewFolder // this.btnNewFolder.Location = new System.Drawing.Point(536, 96); this.btnNewFolder.Name = "btnNewFolder"; this.btnNewFolder.Size = new System.Drawing.Size(96, 23); this.btnNewFolder.TabIndex = 19; this.btnNewFolder.Text = "New Folder..."; this.btnNewFolder.Click += new System.EventHandler(this.btnNewFolder_Click); // // btnDeleteFolder // this.btnDeleteFolder.Location = new System.Drawing.Point(536, 128); this.btnDeleteFolder.Name = "btnDeleteFolder"; this.btnDeleteFolder.Size = new System.Drawing.Size(96, 23); this.btnDeleteFolder.TabIndex = 20; this.btnDeleteFolder.Text = "Delete Folder"; this.btnDeleteFolder.Click += new System.EventHandler(this.btnDeleteFolder_Click); // // btnFind // this.btnFind.Location = new System.Drawing.Point(536, 160); this.btnFind.Name = "btnFind"; this.btnFind.Size = new System.Drawing.Size(96, 23); this.btnFind.TabIndex = 21; this.btnFind.Text = "Find..."; this.btnFind.Click += new System.EventHandler(this.btnFind_Click); // // btnSubscribe // this.btnSubscribe.Location = new System.Drawing.Point(536, 192); this.btnSubscribe.Name = "btnSubscribe"; this.btnSubscribe.Size = new System.Drawing.Size(96, 23); this.btnSubscribe.TabIndex = 22; this.btnSubscribe.Text = "Subscribe"; this.btnSubscribe.Click += new System.EventHandler(this.btnSubscribe_Click); // // btnUnsubscribe // this.btnUnsubscribe.Location = new System.Drawing.Point(536, 224); this.btnUnsubscribe.Name = "btnUnsubscribe"; this.btnUnsubscribe.Size = new System.Drawing.Size(96, 23); this.btnUnsubscribe.TabIndex = 23; this.btnUnsubscribe.Text = "Unsubscribe"; this.btnUnsubscribe.Click += new System.EventHandler(this.btnUnsubscribe_Click); // // btnAppend // this.btnAppend.Location = new System.Drawing.Point(536, 264); this.btnAppend.Name = "btnAppend"; this.btnAppend.Size = new System.Drawing.Size(96, 23); this.btnAppend.TabIndex = 24; this.btnAppend.Text = "Append..."; this.btnAppend.Click += new System.EventHandler(this.btnAppend_Click); // // btnCopy // this.btnCopy.Location = new System.Drawing.Point(536, 296); this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new System.Drawing.Size(96, 23); this.btnCopy.TabIndex = 25; this.btnCopy.Text = "Copy"; this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // btnDelete // this.btnDelete.Location = new System.Drawing.Point(536, 328); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(96, 23); this.btnDelete.TabIndex = 26; this.btnDelete.Text = "Delete"; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnPurge // this.btnPurge.Location = new System.Drawing.Point(536, 360); this.btnPurge.Name = "btnPurge"; this.btnPurge.Size = new System.Drawing.Size(96, 23); this.btnPurge.TabIndex = 27; this.btnPurge.Text = "Purge Deleted"; this.btnPurge.Click += new System.EventHandler(this.btnPurge_Click); // // imap41 // this.imap41.CommandSent += new CleverComponents.InetSuite.TcpTextEventHandler(this.imap41_CommandSent); this.imap41.ResponseReceived += new CleverComponents.InetSuite.TcpListEventHandler(this.imap41_ResponseReceived); // // mailMessage1 // this.mailMessage1.Date = new System.DateTime(2006, 5, 4, 21, 9, 17, 733); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(648, 398); this.Controls.Add(this.btnPurge); this.Controls.Add(this.btnDelete); this.Controls.Add(this.btnCopy); this.Controls.Add(this.btnAppend); this.Controls.Add(this.btnUnsubscribe); this.Controls.Add(this.btnSubscribe); this.Controls.Add(this.btnFind); this.Controls.Add(this.btnDeleteFolder); this.Controls.Add(this.btnNewFolder); this.Controls.Add(this.btnLogout); this.Controls.Add(this.btnLogin); this.Controls.Add(this.memLog); this.Controls.Add(this.label10); this.Controls.Add(this.tvFolders); this.Controls.Add(this.lvMessages); this.Controls.Add(this.groupBox1); this.Controls.Add(this.edtTimeOut); this.Controls.Add(this.label5); this.Controls.Add(this.edtPort); this.Controls.Add(this.label4); this.Controls.Add(this.cbUseSPA); this.Controls.Add(this.edtPassword); this.Controls.Add(this.edtUser); this.Controls.Add(this.edtServer); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "IMAP Client"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.imap41)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.edtUser = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.btnLogout = new System.Windows.Forms.Button(); this.btnLogin = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.lvMessages = new System.Windows.Forms.ListView(); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.label7 = new System.Windows.Forms.Label(); this.edtFrom = new System.Windows.Forms.TextBox(); this.edtSubject = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.memBody = new System.Windows.Forms.TextBox(); this.imap = new CleverComponents.InetSuite.Imap4(); this.mailMessage = new CleverComponents.InetSuite.MailMessage(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.tvFolders = new System.Windows.Forms.ListBox(); this.oAuth = new CleverComponents.InetSuite.OAuth(); ((System.ComponentModel.ISupportInitialize)(this.imap)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // edtUser // this.edtUser.Location = new System.Drawing.Point(58, 95); this.edtUser.Name = "edtUser"; this.edtUser.Size = new System.Drawing.Size(124, 20); this.edtUser.TabIndex = 4; this.edtUser.Text = "*****@*****.**"; // // label2 // this.label2.Location = new System.Drawing.Point(12, 98); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 7; this.label2.Text = "User"; // // btnLogout // this.btnLogout.Location = new System.Drawing.Point(529, 91); this.btnLogout.Name = "btnLogout"; this.btnLogout.Size = new System.Drawing.Size(82, 26); this.btnLogout.TabIndex = 7; this.btnLogout.Text = "Logout"; this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click); // // btnLogin // this.btnLogin.Location = new System.Drawing.Point(436, 91); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(82, 26); this.btnLogin.TabIndex = 6; this.btnLogin.Text = "Login"; this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click); // // label5 // this.label5.Location = new System.Drawing.Point(12, 131); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(80, 17); this.label5.TabIndex = 22; this.label5.Text = "GMail Folders"; // // label6 // this.label6.Location = new System.Drawing.Point(193, 131); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(64, 17); this.label6.TabIndex = 23; this.label6.Text = "Messages"; // // lvMessages // this.lvMessages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5 }); this.lvMessages.FullRowSelect = true; this.lvMessages.HideSelection = false; this.lvMessages.Location = new System.Drawing.Point(196, 151); this.lvMessages.Name = "lvMessages"; this.lvMessages.Size = new System.Drawing.Size(415, 115); this.lvMessages.TabIndex = 9; this.lvMessages.UseCompatibleStateImageBehavior = false; this.lvMessages.View = System.Windows.Forms.View.Details; this.lvMessages.SelectedIndexChanged += new System.EventHandler(this.lvMessages_SelectedIndexChanged); // // columnHeader2 // this.columnHeader2.Text = "Subject"; this.columnHeader2.Width = 100; // // columnHeader3 // this.columnHeader3.Text = "From"; this.columnHeader3.Width = 100; // // columnHeader4 // this.columnHeader4.Text = "Date"; this.columnHeader4.Width = 80; // // columnHeader5 // this.columnHeader5.Text = "Size"; // // label7 // this.label7.Location = new System.Drawing.Point(193, 282); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(48, 23); this.label7.TabIndex = 25; this.label7.Text = "From"; // // edtFrom // this.edtFrom.Location = new System.Drawing.Point(247, 279); this.edtFrom.Name = "edtFrom"; this.edtFrom.ReadOnly = true; this.edtFrom.Size = new System.Drawing.Size(364, 20); this.edtFrom.TabIndex = 10; // // edtSubject // this.edtSubject.Location = new System.Drawing.Point(247, 306); this.edtSubject.Name = "edtSubject"; this.edtSubject.ReadOnly = true; this.edtSubject.Size = new System.Drawing.Size(364, 20); this.edtSubject.TabIndex = 11; // // label8 // this.label8.Location = new System.Drawing.Point(193, 309); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(48, 23); this.label8.TabIndex = 27; this.label8.Text = "Subject"; // // memBody // this.memBody.Location = new System.Drawing.Point(196, 335); this.memBody.Multiline = true; this.memBody.Name = "memBody"; this.memBody.ReadOnly = true; this.memBody.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.memBody.Size = new System.Drawing.Size(415, 106); this.memBody.TabIndex = 12; // // mailMessage // this.mailMessage.Date = new System.DateTime(2007, 1, 10, 13, 51, 45, 827); this.mailMessage.From.Email = ""; this.mailMessage.From.Name = ""; // // pictureBox1 // this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; this.pictureBox1.Image = global::GMailIMAP.Properties.Resources.background_net; this.pictureBox1.Location = new System.Drawing.Point(0, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(623, 78); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureBox1.TabIndex = 28; this.pictureBox1.TabStop = false; // // tvFolders // this.tvFolders.Location = new System.Drawing.Point(15, 151); this.tvFolders.Name = "tvFolders"; this.tvFolders.Size = new System.Drawing.Size(167, 290); this.tvFolders.TabIndex = 8; this.tvFolders.SelectedIndexChanged += new System.EventHandler(this.tvFolders_SelectedIndexChanged); // // oAuth // this.oAuth.AuthUrl = null; this.oAuth.ClientID = null; this.oAuth.ClientSecret = null; this.oAuth.Password = null; this.oAuth.RedirectUrl = null; this.oAuth.Scope = null; this.oAuth.State = null; this.oAuth.TokenUrl = null; this.oAuth.UserName = null; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(623, 452); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.memBody); this.Controls.Add(this.edtSubject); this.Controls.Add(this.label8); this.Controls.Add(this.edtFrom); this.Controls.Add(this.label7); this.Controls.Add(this.lvMessages); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.tvFolders); this.Controls.Add(this.btnLogout); this.Controls.Add(this.btnLogin); this.Controls.Add(this.edtUser); this.Controls.Add(this.label2); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.Text = "GMAIL IMAP client with OAuth - Sample"; ((System.ComponentModel.ISupportInitialize)(this.imap)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }