public TimeSeriesWindow(TimeSeries ts, CatalogProperties catalogProperties, DssFile dssFile)
 {
     InitializeComponent();
     DataContext  = new DssDataTableVM(ts, catalogProperties);
     this.Title   = ts.Path.FullPath;
     TsSaveEvent += dssFile.TsSave;
 }
        public PairedDataWindow(PairedData pd, CatalogProperties catalogProperties, DssFile dssFile)
        {
            InitializeComponent();
            DataContext = new DssDataTableVM(pd, catalogProperties);
            this.Title  = pd.Path;

            PdSaveEvent += dssFile.PdSave;
        }