private void Res_CbResMode_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (ViewModel != null) { ViewModel.ResolutionMode = Res_CbResMode.ExtGetSelectedValue <ResolutionResolverMode>(); } }
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; }