Sort the RO values / Groups alphabetically

Don't sort the Multiple return values
Added logic to set the name of the error log file
This commit is contained in:
Rich
2012-07-25 21:45:04 +00:00
parent fab1e8935e
commit 66f9ef6f23
2 changed files with 13 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ namespace Volian.Controls.Library
{
public partial class frmSendErrorLog : Form
{
private string _ErrorLogPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\VEPROMS\ErrorLog.txt";
private string _ErrorLogPath;
public bool OutlookEmail
{
get { return rbOutlook.Checked; }
@@ -39,13 +39,14 @@ namespace Volian.Controls.Library
get { return tbUsername.Text; }
set { tbUsername.Text = value; }
}
public frmSendErrorLog(bool outlookEmail, string smtpServer, string smtpUser)
public frmSendErrorLog(bool outlookEmail, string smtpServer, string smtpUser, string errorlogpath)
{
InitializeComponent();
tbPassword.PasswordChar = '\u25CF';
OutlookEmail = outlookEmail;
SMTPServer = smtpServer;
SMTPUser = smtpUser;
_ErrorLogPath = errorlogpath;
}
private void emailSettingChanged(object sender, EventArgs e)