private void ToolstripFileOpen(object sender, EventArgs e) { OpenFileDialog openFile = new OpenFileDialog() { Filter = "Power Plant Config File|*.json" }; if (openFile.ShowDialog() == DialogResult.OK) { currentSavePath = openFile.FileName; ProjectConfig projectConfig = ProjectConfig.Open(openFile.FileName); ProjectConfig.ApplyInstance(this, projectConfig); // The ViewConfig screen should refresh in the case of loading new camera values. ViewConfig.UpdateValues(); } }