public Form1() { InitializeComponent(); // look for the old data in temp direcotry Object oldData = DeserializeData(); if (oldData != null) { root = (Category)oldData; HasOldData = root.Children.Count > 0; currentMember = root.getNextUnprocessed(); hasUnfinishedData = currentMember != null; } else { NewSession(); } IsBusy = false; }
public DataOverviewForm(Category root) : this() { this.root = root; }
private void NewSession() { root = new Category("root", startUri, true); currentMember = root; HasOldData = false; HasUnfinishedData = false; }