private void MiDeserializar_Click(object sender, EventArgs e) { try { richDeserializar.Text = ClsSerializacion.deserializar(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void MiSerializar_Click(object sender, EventArgs e) { try { ClsSerializacion.serializar(richSerializar.Text); richSerializar.Text = string.Empty; } catch (Exception ex) { MessageBox.Show(ex.Message); } }