private void buttonSave_Click(object sender, EventArgs e)
 {
     localInterface.conSettings.server   = textBoxServer.Text;
     localInterface.conSettings.database = textBoxDatabase.Text;
     localInterface.conSettings.username = textBoxUsername.Text;
     localInterface.conSettings.password = textBoxPassword.Text;
     localInterface.SaveSettings();
     this.Close();
 }