示例#1
0
 private void SendInitialState()
 {
     // if there is an app currently open then
     // send it's restore state to the client
     if (currentApp != null)
     {
         DebugLog.AddEntry("send initial state for " + currentApp.GetName());
         var bytes = currentApp.GetRestoreState();
         SendMessage(bytes);
     }
 }