private void PreviewBlp(string fullName) { var stream = cascHandler.OpenFile(fullName, LocaleFlags.All); var blp = new BlpFile(stream); var bitmap = blp.GetBitmap(0); var form = new ImagePreviewForm(bitmap); form.Show(); }
private void PreviewBlp(CASCFile file) { using (var stream = _casc.OpenFile(file.Hash)) { var blp = new BlpFile(stream); var bitmap = blp.GetBitmap(0); var form = new ImagePreviewForm(bitmap); form.Show(); } }
private void PreviewBlp(CASCFile file) { using (var stream = _casc.OpenFile(file.Hash)) { var blp = new BlpFile(stream); var bitmap = blp.GetBitmap(0); var form = new ImagePreviewForm(bitmap); form.Show(); } }
private void PreviewBlp(string fullName) { var stream = cascHandler.OpenFile(fullName, LocaleFlags.All); var blp = new BlpFile(stream); var bitmap = blp.GetBitmap(0); var form = new ImagePreviewForm(bitmap); form.Show(); }