private void ShowFile(RawDataFile file) { Cursor.Current = Cursors.WaitCursor; var form = new FileContentsForm(file.Contents.ToArray(), file.FileName); Cursor.Current = Cursors.Default; form.Show(this); }