public static void HandleGetMonitorsResponse(Client client, GetMonitorsResponse packet) { if (client.Value == null || client.Value.FrmRdp == null) { return; } client.Value.FrmRdp.AddMonitors(packet.Number); }
public static void getMonitorsResponse(ClientMosaique client, GetMonitorsResponse packet) { int number = packet.number; if (client.value == null || client.value.frmRdp == null) { return; } client.value.frmRdp.cleanComboBox(); client.value.frmRdp.addScreens(number); }
private void Execute(ISender client, GetMonitorsResponse message) { OnDisplaysChanged(message.Number); }