Beispiel #1
0
 private void radioButtonNotSalling_CheckedChanged(object sender, EventArgs e)
 {
     if (radioButtonNotSalling.Checked)
     {
         IFactory notSallingFactory = new NotSallingFactory();
         var      property          = notSallingFactory.setProperty();
         tempFlat.Property = property.Property;
     }
 }
Beispiel #2
0
 private void radioButtonNotSalling_CheckedChanged(object sender, EventArgs e)
 {
     if (radioButtonNotSalling.Checked)
     {
         IFactory notSallingFactory = new NotSallingFactory();
         var      property          = notSallingFactory.setProperty();
         tempFlat.Property     = property.Property;
         labelState.Text       = FlatState.notsalling.ToString();
         textBoxCost.Enabled   = false;
         labelCostFlat.Enabled = false;
         labelBucks.Enabled    = false;
     }
     if (radioButtonNotSalling.Checked == false)
     {
         textBoxCost.Enabled   = true;
         labelCostFlat.Enabled = true;
         labelBucks.Enabled    = true;
     }
 }