public MainWindow() { InitializeComponent(); CheckRunningOnce(); // Load(); // Heart = new Heart(Data, () => StartInspector()); Autorun = new Autorun(); Inspector = new Inspector(); // Projects = new ObservableCollection <Project>(Data.Projects); UpdateProjectsList(); // CreateTrayIcon(); BindWindowEvents(); Activate(); }
public MainWindow() { InitializeComponent(); CheckRunningOnce(); // _dataManager = new DataManager <ApplicationData>("ApplicationData.json"); // Load(); // _heart = new Heart(_appData, () => StartInspector()); _autorun = new Autorun(); _inspector = new Inspector(); // _projects = new ObservableCollection <Project>(_appData.Projects); UpdateProjectsList(); // CreateTrayIcon(); BindWindowEvents(); Activate(); }