public WkImportRequestViewModel(ImportModeViewModel parent) : base(parent) { _parent = (WkImportViewModel)parent; SkipOnPrevious = true; IsWorking = true; }
public CsvImportFileStepViewModel(ImportModeViewModel parentMode) : base(parentMode) { CsvSeparator = ";"; CsvQuote = "\""; BrowseCommand = new RelayCommand(OnBrowse); EncodingChangedCommand = new RelayCommand(OnEncodingChanged); Encodings = new string[] { "(Other...)", "UTF-8", "Shift-JIS" }; SelectedEncodingIndex = 1; OnEncodingChanged(); }
/// <summary> /// Event callback. Called when the current import mode is canceled. /// Returns the control to the home import view model. /// </summary> private void OnCurrentModeCanceled(object sender, EventArgs e) { _currentMode = null; UpdateStep(); }
public CsvImportColumnsStepViewModel(ImportModeViewModel parentMode) : base(parentMode) { _parent = (CsvImportViewModel)parentMode; NoTypeBehavior = CsvImportNoTypeBehavior.Auto; }
public ImportProgressViewModel(ImportModeViewModel parentMode) : base(parentMode) { _srsDao = new SrsEntryDao(); }
public ImportOverviewViewModel(ImportModeViewModel parentMode) : base(parentMode) { }
public ImportStepViewModel(ImportModeViewModel parentMode) { ParentMode = parentMode; }
public WkImportSettingsViewModel(ImportModeViewModel parent) : base(parent) { _parent = (WkImportViewModel)parent; }
/// <summary> /// Command callback. Called when selecting an import mode. /// </summary> /// <param name="vm">ViewModel for the selected import mode.</param> private void OnSelectImport(ImportModeViewModel vm) { _currentMode = vm; UpdateStep(); }