Exemple #1
0
        public void Initialize(MainForm form)
        {
            this.form = form;

            appLog.Send("Woofy {0} (c) {1}", appInfo.Version.ToPrettyString(), appInfo.Company);
            appLog.Send(appSettings.HomePage);

            ThreadPool.QueueUserWorkItem(o => appController.Execute <AppUpdateCheck>());
            Comics = new BindingList <ComicViewModel>(
                comicStore
                .GetActiveComics()
                .Select <Comic, ComicViewModel>(mapper.MapToViewModel)
                .ToList()
                );
            appController.Execute <StartAllDownloads>();
        }
Exemple #2
0
 protected void Log(Context context, string messageFormat, params object[] args)
 {
     appLog.Send(new AppLogEntryAdded(messageFormat.FormatTo(args), ExpressionName, context.ComicId));
 }