public TimespansTabView()
        {
            var manager = new TimespanUnitManager();

            manager.LoadDefault();
            var model = new TimespansTabModel(manager);

            this.DataContext = new TimespansTabViewModel(model);

            InitializeComponent();
        }
 internal void LoadDefaults()
 {
     TimespansUnitManager.LoadDefault();
 }
示例#3
0
        // month length
        // year length

        public Calendar()
        {
            timeUnits = new TimespanUnitManager();
            timeUnits.LoadDefault();
        }