private void LoadSettings() { try { PropertyParser.ReadObjectFromXml(fileBrowserBox.Filename, this); } catch (Exception ex) { MessageBox.Show("Failed to parse property file\n" + ex + "\nInner: \n" + ex.InnerException); } SetDebugDisplays(); }