Exemplo n.º 1
0
 private void BottleDetailForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     Validate();
     formclosed.Invoke();
 }
Exemplo n.º 2
0
 private void BottleDetailForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     Validate();
     ((Bottle)bottlesBindingSource.DataSource).wine = radioButtonRed.Checked ? Bottle.Wine.red : radioButtonWhite.Checked?Bottle.Wine.white : radioButtonRose.Checked ? Bottle.Wine.rose : Bottle.Wine.unspecified;
     formclosed.Invoke();
 }