Beispiel #1
0
    public void CopyFrom (TReportData alias)
    {
      Clean ();

      if (alias.NotNull ()) {
        Locked = alias.Locked;
        Unlocked = alias.Unlocked;
        Distorted = alias.Distorted;
        Message = alias.Message;
      }
    }
Beispiel #2
0
    public void SelectReport (TReportData reportData)
    {
      if (reportData.NotNull ()) {
        Distorted = reportData.Distorted;

        DistortedVisibility = Distorted ? Visibility.Visible : Visibility.Collapsed;
        IsEnabledApply = Distorted ? false : string.IsNullOrEmpty (Name.Trim ()).IsFalse ();

        ExtensionModel.SelectReport (reportData);
      }
    }
 public void SelectReport (TReportData reportData)
 {
   if (reportData.NotNull ()) {
     Select (reportData.Locked, reportData.Unlocked);
   }
 }