private void PanelSettings_Load(object sender, EventArgs e) { this.propertyGridSettings.SelectedObject = MainForm.Settings; }