Пример #1
0
 void OnChannelFileWatcherChanged(object sender, System.IO.FileSystemEventArgs e)
 {
     log.WriteInfo("Channel File Watcher Fired");
     Heartbeat.SendAndReceiveImmediately();
 }
Пример #2
0
 private void AddLoginCmdGlobalCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_AddLoginCmdGlobal + command);
     Heartbeat.SendAndReceiveImmediately();
 }
Пример #3
0
 private void KillAllClientsCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_KillAllClients);
     Heartbeat.SendAndReceiveImmediately();
 }
Пример #4
0
 private void UnlockWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_UnlockWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions are unlocked, moving windows will now save their position.");
 }
Пример #5
0
 private void LockWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_LockWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions are saved and will no longer be modified.");
 }
Пример #6
0
 private void DisableWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_DisableWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions will no longer be saved or restored.");
 }