private void btnSaveComputersXML_Click(object sender, EventArgs e) { try { lblStatus.Text = string.Empty; lblStatus.ForeColor = Color.Blue; computerList.Save(); lblStatus.Text = "Saved " + computerList.Count + " computers..."; } catch (Exception ex) { lblStatus.Text = ex.Message; lblStatus.ForeColor = Color.Red; } }