//------------------------------------------------------------------------------ private void butWinWatchSend_Click(object sender, RoutedEventArgs e) { if (_myWinWatch != null) { _myWinWatch.Send("Now", DateTime.Now.ToString("HH:mm:ss:fff")); } }
//-------------------------------------------------------------------------------------------- private void butSendWinWatches_Click(object sender, System.EventArgs e) { if (MyWinWatch != null) { MyWinWatch.Send("Now", DateTime.Now.ToString("HH:mm:ss:fff")); } }
public void WriteWatch(string name, object obj) { if (watch != null) { watch.Send(name, obj); } }
//-------------------------------------------------------------------------------------------- protected void butSendWinWatches_Click(object sender, EventArgs e) { MyWinWatch = (WinWatch)Session.Contents["MyWinWatch"]; if (MyWinWatch != null) { MyWinWatch.Send("Now", DateTime.Now.ToString("HH:mm:ss:fff")); } }