Exemple #1
0
 private void SetValueProperty(object obj)
 {
     try
     {
         if (PropertyControl == null)
         {
             return;
         }
         if (GetSForm()?.CurrentControl == null)
         {
             return;
         }
         if (obj == null)
         {
             obj = new SReflection().ConvertProperty(PropertyControl);
         }
         PropertyControl.SetValue(GetSForm().CurrentControl, obj);
         ShootError(IsValid());
     }
     catch (Exception)
     {
         // Ignote
     }
 }