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