public void _loadLogInfo(Log log, bool WithBackup)
        {
            ESBackupServerAdminServiceClient client = new ESBackupServerAdminServiceClient();

            if (WithBackup)
            {
                this.groupBox_Log_LogsBackup.Visibility = Visibility.Visible;
                this.groupBox_Log_LogsClient.Visibility = Visibility.Hidden;
                this.groupBox_Log_Logins.Visibility     = Visibility.Hidden;

                this.textBox_Log_LogsBackup_Client.Text         = client.GetClientByID(log.IDClient).Name;
                this.textBox_Log_LogsBackup_Backup.Text         = client.GetBackupByID((long)log.IDBackup).Name;
                this.comboBox_Log_LogsBackup_Type.SelectedIndex = log.LogType;
                this.dateTimePicker_Log_LogsBackup_Time.Value   = log.UTCTime;
                this.textBox_Log_LogsBackup_Value.Text          = this._formatLogValue(log.Value);
            }
            else
            {
                this.groupBox_Log_LogsClient.Visibility = Visibility.Visible;
                this.groupBox_Log_LogsBackup.Visibility = Visibility.Hidden;
                this.groupBox_Log_Logins.Visibility     = Visibility.Hidden;

                this.textBox_Log_LogsClient_Client.Text         = client.GetClientByID(log.IDClient).Name;
                this.comboBox_Log_LogsClient_Type.SelectedIndex = log.LogType;
                this.dateTimePicker_Log_LogsClient_Time.Value   = log.UTCTime;
                this.textBox_Log_LogsClient_Value.Text          = this._formatLogValue(log.Value);
            }

            client.Close();
        }
        public void _loadLoginInfo(Login login)
        {
            ESBackupServerAdminServiceClient client = new ESBackupServerAdminServiceClient();

            this.textBox_Log_Login_Client.Text        = client.GetClientByID(login.IDClient).Name;
            this.dateTimePicker_Log_Logins_Time.Value = login.UTCTime;
            this.textBox_Log_Login_IP.Text            = login.IP;

            client.Close();
        }