public static DialogResult ShowDialog(IWin32Window owner, string filename, Stream stream) { var form = new DDSViewer(filename, stream); return(form.ShowDialog(owner)); }
public static void Show(IWin32Window owner, string filename, Stream stream) { var form = new DDSViewer(filename, stream); form.Show(owner); }