示例#1
0
 protected override void ShowForm()
 {
     this.FillCombo();
     HPS.BLL.InfractionGroupBLL.BLLInfractionGroup_TFactory InfractionGroupFactory = new HPS.BLL.InfractionGroupBLL.BLLInfractionGroup_TFactory();
     HPS.BLL.InfractionGroupBLL.BLLInfractionGroup_T        InfractionGroupEntity  = InfractionGroupFactory.GetBy((HPS.BLL.InfractionGroupBLL.BLLInfractionGroup_TKeys)Key);
     if (InfractionGroupEntity == null)
     {
         throw new HPS.Exceptions.InfractionGroupNotFound();
     }
     InfractionGroup_nvcTextBox.Text = Hepsa.Core.Common.PersentationController.GetEntityValue(InfractionGroupEntity.InfractionGroup_nvc, TypeCode.String).ToString();
     Active_bitCheckBox.Checked      = (Boolean)Hepsa.Core.Common.PersentationController.GetEntityValue(InfractionGroupEntity.Active_bit, TypeCode.Boolean);
 }