public ProcessTree() { InitializeComponent(); HardwareObserver observer = new HardwareObserver(UpdateValues); Globals.provider.Subscribe(observer); _procListTreeView = new ObservableCollection <ProcessEntry>(); }
public GeneralView(Window mainWindow) { InitializeComponent(); HardwareObserver observer = new HardwareObserver(UpdateValues); Globals.provider.Subscribe(observer); Applications = new ObservableCollection <ProcessEntry>(); mainWindowRef = mainWindow; }
public SummaryView(Window window) { InitializeComponent(); HardwareObserver observer = new HardwareObserver(UpdateValues); Globals.provider.Subscribe(observer); mainWindowRef = window; InitText(); InitGraphs(); }
public RealTime() { InitializeComponent(); HardwareObserver observer = new HardwareObserver(UpdateValues); Globals.provider.Subscribe(observer); _procListListView = new ObservableCollection <ProcessEntry>(); _procListTreeView = new ObservableCollection <ProcessEntry>(); _procListComboBox = new ObservableCollection <ProcessEntry>(); selectedProcessComboBox = system; this.DataContext = this; cbAll.IsChecked = true; liveGraph.connect(); }
public void StartLog() { mypayload.mystart = DateTime.Now; observer = new HardwareObserver(UpdateValues); Globals.provider.Subscribe(observer); }