public ChartForm() { InitializeComponent(); _dataLogging = new DataLogging(); _dataLogging.Setup(this); }