Exemplo n.º 1
0
        //------------------------------------------------------------------------------

        private void butWinWatchSend_Click(object sender, RoutedEventArgs e)
        {
            if (_myWinWatch != null)
            {
                _myWinWatch.Send("Now", DateTime.Now.ToString("HH:mm:ss:fff"));
            }
        }
Exemplo n.º 2
0
        //--------------------------------------------------------------------------------------------

        private void butSendWinWatches_Click(object sender, System.EventArgs e)
        {
            if (MyWinWatch != null)
            {
                MyWinWatch.Send("Now", DateTime.Now.ToString("HH:mm:ss:fff"));
            }
        }
Exemplo n.º 3
0
 public void WriteWatch(string name, object obj)
 {
     if (watch != null)
     {
         watch.Send(name, obj);
     }
 }
Exemplo n.º 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"));
        }
    }