|
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace ListVisualizerTest
{
public partial class TestForm : Form
{
#region Constructor
public TestForm()
{
InitializeComponent();
}
#endregion
#region Initialization
private void TestForm_Load(object sender, EventArgs e)
{
Populate populate = new Populate();
populate.PopulateLists();
IList<string> stringList = populate.StringList;
IList<int> intList = populate.IntList;
IList<Person> personList = populate.PersonList;
IList<Car> carList = populate.CarList;
IDictionary<string, string> dictString = populate.DictString;
IDictionary<int, Car> dictIntObject = populate.DictIntObject;
IDictionary<Person, Car> dictObjects = populate.DictObjects;
//SET A BREAKPOINT HERE TO DEBUG THE VISUALIZER
}
#endregion
#region Debug Forms
private void btnList_Click(object sender, EventArgs e)
{
ListVisualizer listForm = new ListVisualizer();
listForm.Show();
}
private void btnDictionary_Click(object sender, EventArgs e)
{
DictionaryVisualizer dictForm = new DictionaryVisualizer();
dictForm.Show();
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I started development 37 years from now, since MSX basic. Started Windows programming with VB 2.0 and Web programming with ASP 3.0. Then I built Windows Forms, Web Applications, NT services and WPF applications using Microsoft.NET. I am MCP in Visual Basic 6.0, MCAD and MCSD.NET in Framework 1.1, MCPD Web in Framework 2.0, MCTS in .NET 3.5 workflow, MCTS in .NET 3.5 communication foundation, windows presentation foundation and MVC applications. Built MVC Web Application and WCF services using Micro Services architecture proposed by me. Working with AI projects to improve the business performance and customer experience. Besides programming I love running, swimming, reading and movies.