SVN r1064
SVN-Revision: r1064
This commit is contained in:
@@ -477,40 +477,4 @@ namespace AfkDataService
|
||||
// try
|
||||
// {
|
||||
// MySqlHelper._connection.Close();
|
||||
// MySqlHelper._connection.Dispose();
|
||||
// }
|
||||
// catch (Exception)
|
||||
// {
|
||||
// }
|
||||
// MySqlHelper._connection = null;
|
||||
// }
|
||||
// try
|
||||
// {
|
||||
// MySqlHelper._connection = new MySqlConnection(connStr);
|
||||
// MySqlHelper._connection.Open();
|
||||
// return true;
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// Console.WriteLine(ex.Message);
|
||||
// }
|
||||
// return false;
|
||||
//}
|
||||
#endregion
|
||||
public void SendMessage(TextBox textBox, string message)
|
||||
{
|
||||
if (textBox.InvokeRequired)
|
||||
{
|
||||
textBox.Invoke(new Action(() =>
|
||||
{
|
||||
textBox.AppendText(message);
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
textBox.AppendText(message);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
//
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user