private void CreateHTML_Click(object sender, RoutedEventArgs e) { HTMLFactory html = new HTMLFactory(); html.createGUI(listItems); Reset(); }