示例#1
0
    public Gui(IRepository repository,
               IAccessPoint accessPoint, 
               IWatchPool watchPool,
               IWatchDataSaver watchDataSaver,
               ISpreadsheetExporter spreadsheetExporter)
    {
        this.repository = repository;
        this.watchDataSaver = watchDataSaver;
        this.watchPool = watchPool;
        this.accessPoint = accessPoint;
        this.spreadsheetExporter = spreadsheetExporter;

        InitializeComponent();
    }
示例#2
0
    public Gui(IRepository repository,
               IAccessPoint accessPoint,
               IWatchPool watchPool,
               IWatchDataSaver watchDataSaver,
               ISpreadsheetExporter spreadsheetExporter)
    {
        this.repository          = repository;
        this.watchDataSaver      = watchDataSaver;
        this.watchPool           = watchPool;
        this.accessPoint         = accessPoint;
        this.spreadsheetExporter = spreadsheetExporter;

        InitializeComponent();
    }