public CSMTPProfSMTP() : base() { this.Name = "SMTP"; _lServer = new Label(); _lServer.Name = "lServer"; _lServer.Location = new Point(lDescription.Left + ControlProperties.ButtonWidth, lDescription.Bottom + ControlProperties.ControlSpacing); _lServer.Size = ControlProperties.TextCtlSize(); _eServer = new CExtendedTextBox(); _eServer.Name = "eServer"; _eServer.Location = new Point(_lServer.Left, _lServer.Bottom); _eServer.Size = ControlProperties.TextCtlSize(); _lPort = new Label(); _lPort.Name = "lPort"; _lPort.Location = new Point(lDescription.Left + ControlProperties.ButtonWidth, _eServer.Bottom + ControlProperties.HeaderSpacing); _lPort.Size = ControlProperties.TextCtlSize(); _ePort = new CExtendedTextBox(); _ePort.Name = "ePort"; _ePort.Location = new Point(_lPort.Left, _lPort.Bottom); _ePort.Size = ControlProperties.TextCtlSize(); this.Controls.Add(_lServer); this.Controls.Add(_eServer); this.Controls.Add(_lPort); this.Controls.Add(_ePort); }
public CSMTPProfUser() : base() { this.Name = "Personal"; _lName = new Label(); _lName.Name = "lName"; _lName.Location = new Point(lDescription.Left + ControlProperties.ButtonWidth, lDescription.Bottom + ControlProperties.ControlSpacing); _lName.Size = ControlProperties.TextCtlSize(); _eName = new CExtendedTextBox(); _eName.Name = "eName"; _eName.Location = new Point(_lName.Left, _lName.Bottom); _eName.Size = ControlProperties.TextCtlSize(); _lEmail = new Label(); _lEmail.Name = "lEmail"; _lEmail.Location = new Point(lDescription.Left + ControlProperties.ButtonWidth, _eName.Bottom + ControlProperties.HeaderSpacing); _lEmail.Size = ControlProperties.TextCtlSize(); _eEmail = new CExtendedTextBox(); _eEmail.Name = "eEmail"; _eEmail.Location = new Point(_lEmail.Left, _lEmail.Bottom); _eEmail.Size = ControlProperties.TextCtlSize(); this.Controls.Add(_lName); this.Controls.Add(_eName); this.Controls.Add(_lEmail); this.Controls.Add(_eEmail); }
public CSMTPProfSec() : base() { this.Name = "Security"; _ctlAuth = new CheckBox(); _ctlAuth.Name = "ctlAuth"; _ctlAuth.Size = ControlProperties.TextCtlSize(); _ctlAuth.Location = new Point(lDescription.Left + ControlProperties.ButtonWidth, lDescription.Bottom + ControlProperties.ControlSpacing); _lUserName = new Label(); _lUserName.Name = "lUserName"; _lUserName.Location = new Point(_ctlAuth.Left, _ctlAuth.Bottom + ControlProperties.ControlSpacing); _lUserName.Size = ControlProperties.TextCtlSize(); _eUserName = new CExtendedTextBox(); _eUserName.Name = "eUserName"; _eUserName.Location = new Point(_lUserName.Left, _lUserName.Bottom); _eUserName.Size = ControlProperties.TextCtlSize(); _lPassword = new Label(); _lPassword.Name = "lPasswd"; _lPassword.Location = new Point(lDescription.Left + ControlProperties.ButtonWidth, _eUserName.Bottom + ControlProperties.HeaderSpacing); _lPassword.Size = ControlProperties.TextCtlSize(); _ePassword = new CExtendedTextBox(); _ePassword.Name = "ePasswd"; _ePassword.Location = new Point(_lPassword.Left, _lPassword.Bottom); _ePassword.Size = ControlProperties.TextCtlSize(); _ePassword.Font = CReportSmartCore.Core.PasswordFont; _ePassword.PasswordChar = '—'; _ctlSSL = new CheckBox(); _ctlSSL.Name = "ctlSSL"; _ctlSSL.Size = ControlProperties.TextCtlSize(); _ctlSSL.Location = new Point(lDescription.Left + ControlProperties.ButtonWidth, _ePassword.Bottom + ControlProperties.HeaderSpacing); _ctlAuth.Click += new EventHandler(EH_AuthClick); this.Controls.Add(_lUserName); this.Controls.Add(_eUserName); this.Controls.Add(_lPassword); this.Controls.Add(_ePassword); this.Controls.Add(_ctlAuth); this.Controls.Add(_ctlSSL); }
public CSMTPProfGlobal() : base() { this.Name = "Global"; this.SuspendLayout(); _lProfileName = new Label(); _lProfileName.Name = "lProfileName"; _lProfileName.Location = new Point(lDescription.Left + ControlProperties.ButtonWidth, lDescription.Bottom + ControlProperties.ControlSpacing); _lProfileName.Size = ControlProperties.TextCtlSize(); _eProfileName = new CExtendedTextBox(); _eProfileName.Name = "eProfileName"; _eProfileName.Location = new Point(_lProfileName.Left, _lProfileName.Bottom); _eProfileName.Size = ControlProperties.TextCtlSize(); this.Controls.Add(_lProfileName); this.Controls.Add(_eProfileName); this.ResumeLayout(); }