Пример #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     tssDate.Text          = "Date : " + DateTime.Now.ToString("MM-dd-yyyy hh:mm:ss");
     isLocalConnected      = (cf.checkDBConnection("Local") ? true : false);
     tssDBLocalStatus.Text = "Local: " + (isLocalConnected == true ? "Connected":"Disconnected");
 }