typo: pulizia commenti

This commit is contained in:
Samuele E. Locatelli
2019-10-04 17:11:36 +02:00
parent bcf80ac6d3
commit adbe235b31
4 changed files with 0 additions and 47 deletions
-9
View File
@@ -148,11 +148,6 @@ namespace SteamWare
// single click --> edit
e.Row.Attributes["ondblclick"] = Page.ClientScript.GetPostBackClientHyperlink(grView, "Edit$" + e.Row.RowIndex);
e.Row.Attributes["style"] = "cursor:pointer";
#if false
// single click --> select
e.Row.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(grView, "Select$" + e.Row.RowIndex);
e.Row.Attributes["style"] = "cursor:pointer";
#endif
}
}
/// <summary>
@@ -167,10 +162,6 @@ namespace SteamWare
{
grView.UpdateRow(grView.EditIndex, false);
}
#if false
grView.EditIndex = e.NewEditIndex;
this.DataBind();
#endif
}
-15
View File
@@ -220,21 +220,6 @@ namespace SteamWare
newLogfileName();
// scrivo thread safe
fatto = WriteToFileThreadSafe(_logfileName, _testo);
#if false
// aggiunge in append...
StreamWriter sw = new StreamWriter(_logfileName, true);
try
{
sw.WriteLine(_testo);
sw.Flush();
sw.Close();
fatto = true;
}
catch
{
fatto = false;
}
#endif
return fatto;
}
-6
View File
@@ -1848,12 +1848,6 @@ namespace SteamWare
catch
{ }
}
#if false
else
{
lg.Error("Server REDIS non disponibile (redSaveHashList)");
}
#endif
return answ;
}
/// <summary>
-17
View File
@@ -619,23 +619,6 @@ namespace SteamWare
port = memLayer.ML.CRI("_PortSSL");
}
#if false
var mailer = new MimeMailer(_smtpCli, port);
mailer.User = _username;
mailer.Password = _password;
if (memLayer.ML.CRB("_enableSSL"))
{
mailer.SslType = SslMode.Tls;
//mailer.SslType = SslMode.Ssl;
}
mailer.AuthenticationMode = AuthenticationType.PlainText;
//mailer.AuthenticationMode = AuthenticationType.Base64;
//Set a delegate function for call back
mailer.SendCompleted += compEvent;
mailer.SendMailAsync(mymessage);
#endif
var emailer = new SmtpSocketClient();
emailer.Host = _smtpCli;
emailer.Port = port;