示例#1
0
 //Load事件
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     volumeTxt.Text = GcManage.readYinliangValue();
     lklTxt.Text    = SysStateParam.lklSignInfo;
     wtTxt.Text     = SysStateParam.wtSignInfo;
     onlineTxt.Text = "正在查询...";
     new Thread(delegate() { onlineTxt.Dispatcher.Invoke(new isOnlineDelegate(isOnline), onlineTxt, new TerminalAccess().isOnline()); }).Start();
 }