/// <summary>
 /// Изменение общих настроек программы
 /// </summary>
 private void ApplyConfBtn_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         IniSettings.Edit("PathToLogFile", PathToLogFileTbx.Text);
         IniData["Main"]["PathToLogFile"] = IniSettings.GetValue("PathToLogFile");
         IniParser.WriteFile(DEFAULT_SETTINGS_PATH, IniData);
     }
     catch (Exception ex)
     {
         Logger.Log(ex.Message, RecordType.ERROR, Source.System);
     }
 }
 /// <summary>
 /// Изменение настроек парсера
 /// </summary>
 private void ApplyParserConfBtn_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         IniSettings.Edit("UrlController", UrlControllerTbx.Text);
         IniSettings.Edit("UrlProcedure", UrlProcedureTbx.Text);
         IniData["Main"]["UrlController"] = IniSettings.GetValue("UrlController");
         IniData["Main"]["UrlProcedure"]  = IniSettings.GetValue("UrlProcedure");
         IniParser.WriteFile(DEFAULT_SETTINGS_PATH, IniData);
     }
     catch (Exception ex)
     {
         Logger.Log(ex.Message, RecordType.ERROR, Source.Parser);
     }
 }
 /// <summary>
 /// Изменение настроек UDP прослушивателя
 /// </summary>
 private void ApplyUDPConfBtn_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         IniSettings.Edit("ListenAddress", ListenningAddressTbx.Text);
         IniSettings.Edit("ListenPort", ListenningPortTbx.Text);
         IniSettings.Edit("PathToUDPOutputFile", PathToUDPOutputFileTbx.Text);
         IniData["Main"]["ListenAddress"]       = IniSettings.GetValue("ListenAddress");
         IniData["Main"]["ListenPort"]          = IniSettings.GetValue("ListenPort");
         IniData["Main"]["PathToUDPOutputFile"] = IniSettings.GetValue("PathToUDPOutputFile");
         IniParser.WriteFile(DEFAULT_SETTINGS_PATH, IniData);
     }
     catch (Exception ex)
     {
         Logger.Log(ex.Message, RecordType.ERROR, Source.UDP);
     }
 }