private void btnShowData_Click(object sender, EventArgs e) { DataViewer.ShowModal(_data, _dataFlags); }
public static void ShowModal(byte[] data, int flags) { using (var frm = new DataViewer(data, flags)) { frm.ShowDialog(); } }