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