public void SetUp() { FileLoader fileLoader = new FileLoader(); pollingVenues = fileLoader.GetPollingVenues(@"IO\TestInput.xml", ((o, e) => { })); path = Directory.CreateDirectory("Test").FullName; fileSaver = new FileSaver(path, "TestVenue"); }
/// <summary> /// Loads the polling venues and invoke the change event on the table overview /// </summary> /// <param name="path"></param> private void SetPollingVenues(string path) { FileLoader fl = new FileLoader(); pollingVenues = fl.GetPollingVenues(path, this.ErrorLoadFileDialog); if (pollingVenues != null) { this.UpdateTable(); Changed.Invoke(); } }