private void Main_Load(object sender, EventArgs e) { // Just to load some default values .. They will be editable .. simulation = new QueuingSystem(); comboBox1.SelectedIndex = 0; simulation.serverSelectionMode = 0; }
private void Main_Load(object sender, EventArgs e) { // Just to load some default values .. They will be editable .. systemDataGridView.Rows.Add(new string[] { "1", "0.25" }); systemDataGridView.Rows.Add(new string[] { "2", "0.40" }); systemDataGridView.Rows.Add(new string[] { "3", "0.2" }); systemDataGridView.Rows.Add(new string[] { "4", "0.15" }); servrersDataGridView.Rows.Add(new string[] { "2", "0.3" }); servrersDataGridView.Rows.Add(new string[] { "3", "0.28" }); servrersDataGridView.Rows.Add(new string[] { "4", "0.25" }); servrersDataGridView.Rows.Add(new string[] { "5", "0.17" }); simulation = new QueuingSystem(); selectionMethodComboBox.SelectedIndex = 0; simulation.serverSelectionMode = 0; }