Add debug constants and don't check updates in debug.
Refactored cell formatting Made GridEntry thread safe Moved PictureStorage set defaults into constructor.
This commit is contained in:
parent
ab82e7c99c
commit
2ef746a94c
7 changed files with 49 additions and 94 deletions
|
|
@ -48,13 +48,6 @@ namespace LibationWinForms
|
|||
this.Load += (_, __) => RestoreSizeAndLocation();
|
||||
this.Load += (_, __) => RefreshImportMenu();
|
||||
|
||||
// start background service
|
||||
this.Load += (_, __) => startBackgroundImageDownloader();
|
||||
}
|
||||
|
||||
private static void startBackgroundImageDownloader()
|
||||
{
|
||||
// load default/missing cover images. this will also initiate the background image downloader
|
||||
var format = System.Drawing.Imaging.ImageFormat.Jpeg;
|
||||
PictureStorage.SetDefaultImage(PictureSize._80x80, Properties.Resources.default_cover_80x80.ToBytes(format));
|
||||
PictureStorage.SetDefaultImage(PictureSize._300x300, Properties.Resources.default_cover_300x300.ToBytes(format));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue