public void Save(ThreadViewPage page) { var source = page.Viewmodel.SelectedItem; var data = source.Data; PageCount = data.LastPage; Title = source.Title; ThreadID = source.ThreadID; PageNumber = source.PageNumber; Html = source.Html; Posts = source.Posts; Draft = page.SavedDraft; bool saved = this.SaveToFile(SAVE_FILE); #if DEBUG MessageBox.Show("state saved: " + saved); #endif }