private void Process_MethodCbx_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (ViewModel != null)
     {
         ViewModel.ConversionMode = Process_MethodCbx.ExtGetSelectedValue <WaifuConvertMode>();
     }
 }
        public SettingsWindow()
        {
            InitializeComponent();

            Res_CbResMode.ExtSetMappings(StringResizeModeMap);

            Process_MethodCbx.ExtSetMappings(StringConvertModeMap);

            Process_PriorityCbx.ExtSetMappings(StringProcessPriorityMap);

            //Process_CbGifMode.ExtSetMappings(StringGifModeMap);
            //Process_CbGifCompatibilityMode.ExtSetMappings(StringGifCompatibilityModeMap);



            InputFolderPathInput.InputPathType  = PathInput.PathType.Folder;
            OutputFolderPathInput.InputPathType = PathInput.PathType.Folder;
            WaifuFolderPathInput.InputPathType  = PathInput.PathType.Folder;
            FfmpegFilePathInput.InputPathType   = PathInput.PathType.Folder;



            this.Closing += SettingsWindow_Closing;
        }