Ejemplo n.º 1
0
 private void B_decode_Click(object sender, EventArgs e)
 {
     try
     {
         string msg       = BitmapDecoder.decodeMessage(image);
         uint   msglenght = BitmapDecoder.decodeMessageLenght(image);
         RichTextBox.Text = msg;
         LabelSize.Text   = "Current size: " + msglenght.ToString() + " B";
     }
     catch
     {
         StatusLabel.Text = "No message is encoded!";
     }
 }