Ejemplo n.º 1
0
 private void btnAddVariable_Click(object sender, EventArgs e)
 {
     SelectedVariable = new Model.PxVariable() {Variable = "New variable"};
        // lvVariables.Items.Add(SelectedVariable.Variable);
     pxVariableBindingSource.DataSource = SelectedVariable;
     lvVariables.Enabled = false;
 }
Ejemplo n.º 2
0
 private void lvVariables_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (lvVariables.SelectedIndices.Count == 1)
     {
         SelectedVariable = VariableFacade.GetVarible(lvVariables.SelectedItems[0].Text);
         pxVariableBindingSource.DataSource = SelectedVariable;
     }
 }
Ejemplo n.º 3
0
 private void lvVariables_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (lvVariables.SelectedIndices.Count == 1)
     {
         SelectedVariable = VariableFacade.GetVarible(lvVariables.SelectedItems[0].Text);
         pxVariableBindingSource.DataSource = SelectedVariable;
     }
 }
Ejemplo n.º 4
0
 private void btnAddVariable_Click(object sender, EventArgs e)
 {
     SelectedVariable = new Model.PxVariable()
     {
         Variable = "New variable"
     };
     // lvVariables.Items.Add(SelectedVariable.Variable);
     pxVariableBindingSource.DataSource = SelectedVariable;
     lvVariables.Enabled = false;
 }