private void pnlSettings_Clicked(object sender, EventArgs e) { MainSettings settings = new MainSettings(); settings.ShowDialog(); }