public TimespansTabView() { var manager = new TimespanUnitManager(); manager.LoadDefault(); var model = new TimespansTabModel(manager); this.DataContext = new TimespansTabViewModel(model); InitializeComponent(); }
internal void LoadDefaults() { TimespansUnitManager.LoadDefault(); }
// month length // year length public Calendar() { timeUnits = new TimespanUnitManager(); timeUnits.LoadDefault(); }