예제 #1
0
        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;
            }
        }
예제 #2
0
        private void ChooseValuset_Load(object sender, EventArgs e)
        {
            lbValuePools.DataSource = VariableFacade.GetValuePools();
            if (!String.IsNullOrEmpty(selectedValuePool))
            {
                lbValuePools.SelectedValue = selectedValuePool;
            }
            if (!String.IsNullOrEmpty(selectedValueset))
            {
                lbValuesets.SelectedValue = selectedValueset;
            }
            valuePresComboBox.DataSource = Option.GetOptions("ValuePres");

            SelectedValue = (PxValue)dgwValues.SelectedRows[0].DataBoundItem;
        }
예제 #3
0
 private void RefreshValuePool()
 {
     valuePoolComboBox.DataSource = VariableFacade.GetValuePools();
     pxValueSetBindingSource.CurrencyManager.Refresh();
 }