private void BUT_commitToFlash_Click(object sender, EventArgs e) { try { if (!_can.SaveConfig(_node)) { CustomMessageBox.Show("Failed to save"); } } catch { CustomMessageBox.Show("Invalid command"); return; } CustomMessageBox.Show("Parameters committed to non-volatile memory"); return; }