private void btnCreateValuePool_Click(object sender, EventArgs e) { CreateValuePoolDialog dlg = new CreateValuePoolDialog(); if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { RefreshValuePool(); valuePoolComboBox.SelectedValue = dlg.SelectedValuePool.ValuePool; } }
private void btnNewValuepool_Click(object sender, EventArgs e) { CreateValuePoolDialog dlg = new CreateValuePoolDialog(); if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { lbValuePools.DataSource = VariableFacade.GetValuePools(); lbValuePools.SelectedValue = dlg.SelectedValuePool.ValuePool; } }