public static void ShowModal(byte[] data, int flags) { using (var frm = new DataViewer(data, flags)) { frm.ShowDialog(); } }