private void InitializeTimer()
{
///Obtaint or to défine the time by millisecondes
////// <summary>
/// Obtaint or to défine the time by millisecondes
/// </summary>
if (this.IntervalMinute.SelectedIndex != -1 && this.IntervalSecond.SelectedIndex != -1)
{
int time = (this.IntervalMinute.SelectedIndex * 60000) + (this.IntervalSecond.SelectedIndex * 1000);
if (time > 0)
timerAutoRefresh.Interval = time;
else
timerAutoRefresh.Stop();
}
}