private void ReadFileBtn_Click(object sender, EventArgs e) { if (OpenDialog.ShowDialog() == DialogResult.OK) { settings = (Settings)Savior.ReadFromFile(OpenDialog.FileName); this.GetSettings(); } }