WinForms View Image tool
FormImageViewUtils.Show(this.textBoxImagePath.Text);
byte[] bytes = File.ReadAllBytes(this.textBoxImagePath.Text);
string fileName = Path.GetFileName(this.textBoxImagePath.Text);
FormImageViewUtils.Show(fileName, bytes);
using FileStream fs = new FileStream(this.textBoxImagePath.Text, FileMode.Open, FileAccess.Read);
string fileName = Path.GetFileName(this.textBoxImagePath.Text);
FormImageViewUtils.Show(fileName, fs);