public void Display(Kernel.Domain.TableSaveIssue tablesavesssue) { if (tablesavesssue == null) { return; } this.tableSaveIssue = tablesavesssue; this.ValueCell.Text = tableSaveIssue.excelCellValue; if (String.IsNullOrEmpty(tableSaveIssue.tableName)) { this.TableName.Visibility = System.Windows.Visibility.Collapsed; this.dateLabel.Visibility = System.Windows.Visibility.Collapsed; this.TableLabel.Visibility = System.Windows.Visibility.Collapsed; this.Title = "Target save issues"; } else { this.TableName.Text = tableSaveIssue.tableName; } this.UploadTable.Visibility = System.Windows.Visibility.Visible; this.Display(); }
public void Display(InputTableService service, Kernel.Domain.TableSaveIssue tableSaveIssue) { this.InputTableService = service; this.tableSaveIssue = tableSaveIssue; Display(tableSaveIssue); }