Пример #1
0
        //------------------------------------------------------------------------------

        private void butWinWatchSend_Click(object sender, RoutedEventArgs e)
        {
            if (_myWinWatch != null)
            {
                _myWinWatch.Send("Now", DateTime.Now.ToString("HH:mm:ss:fff"));
            }
        }
Пример #2
0
        //--------------------------------------------------------------------------------------------

        private void butSendWinWatches_Click(object sender, System.EventArgs e)
        {
            if (MyWinWatch != null)
            {
                MyWinWatch.Send("Now", DateTime.Now.ToString("HH:mm:ss:fff"));
            }
        }
Пример #3
0
 public void WriteWatch(string name, object obj)
 {
     if (watch != null)
     {
         watch.Send(name, obj);
     }
 }
Пример #4
0
    //--------------------------------------------------------------------------------------------

    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"));
        }
    }