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

      if (alias.NotNull ()) {
        Locked = alias.Locked;
        Unlocked = alias.Unlocked;
        Distorted = alias.Distorted;
        Message = alias.Message;
      }
    }
示例#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);
      }
    }
示例#3
0
 public void SelectReport (TReportData reportData)
 {
   if (reportData.NotNull ()) {
     Select (reportData.Locked, reportData.Unlocked);
   }
 }