private void ShowContentsButton_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; var form = new FileContentsForm(File.Contents.ToArray(), File.FileName); Cursor.Current = Cursors.Default; form.Show(this); }