/// <summary>
 /// Инициализация экземпляра окна
 /// </summary>
 /// <returns></returns>
 public static AlgorithmParametersWindow InitializeAlgorithmParametersWindow()
 {
     AlgorithmParametersWindow algorithmParametersWindow = new AlgorithmParametersWindow();
     algorithmParametersWindow.capitalText.Background = (System.Windows.Media.Brush)Application.Current.MainWindow.FindResource("Brush8B4789");
     algorithmParametersWindow.capitalText.Padding = new Thickness(ALGORITM_PARAMS_WINDOW_HEADER_TEXT_PADDING_DEFAULT,
                                                         ALGORITM_PARAMS_WINDOW_HEADER_TEXT_PADDING_DEFAULT,
                                                         ALGORITM_PARAMS_WINDOW_HEADER_TEXT_PADDING_DEFAULT,
                                                         ALGORITM_PARAMS_WINDOW_HEADER_TEXT_PADDING_DEFAULT);
     return algorithmParametersWindow;
 }
 public AlgorithmParametersViewModel(AlgorithmParametersWindow window)
 {
     if (window == null)
         throw new ArgumentNullException("Null window in ctor AlgorithmParametersViewModel");
     this.window = window;
 }