private void File_Load(object sender, EventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.ShowDialog(); fileName = openFileDialog.FileName; FileWrapper.SetFileName(fileName); textBox1.Text = FileWrapper.OpenFile(); }