public void onOK()
 {
     if (TaxPayerTypeEntity.Validate())
     {
         TaxPayerTypeEntity.DUpdate();
         TaxPayerTypeEntity.RaisALL();
         childWindow.DialogResult = true;
     }
 }
 public void onCancel()
 {
     TaxPayerTypeEntity.Update();
     TaxPayerTypeEntity.RaisALL();
     childWindow.DialogResult = false;
 }