private void loadConfigurationToolStripMenuItem_Click(object sender, EventArgs e) { try { //loadXMLDoc(); LoadDataFromFileToDBConfiguration(); //--We need a load function here } catch (Exception ex) { MessageBox.Show(ex.Message); } }