private void ExtractMessageButton_Click_1(object sender, EventArgs e)
        {
            if (bmp != (Bitmap)MainPictureBox.Image)
            {
                bmp = (Bitmap)MainPictureBox.Image;
            }

            string SecretMessage = Stegnography.extractText(bmp);

            SecretMessageBox.Text = SecretMessage;
        }
        private void HideMessageButton_Click_1(object sender, EventArgs e)
        {
            bmp = (Bitmap)MainPictureBox.Image;

            string SecretMessage = SecretMessageBox.Text;

            if (SecretMessage.Equals(""))
            {
                MessageBox.Show("Please First Insert the Text and Image \nYou wish  to Combine", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

                return;
            }

            bmp = Stegnography.embedText(SecretMessage, bmp);

            MessageBox.Show("Your Text is now Hidden in the Image.\nUse the Save Image Option from Menu.", "Thank You");
        }
        private void HideMessageButton_Click(object sender, EventArgs e)
        {
            bmp = (Bitmap)MainPictureBox.Image;

            string SecretMessage = SecretMessageBox.Text;

            if (SecretMessage.Equals(""))
            {
                MessageBox.Show("Please Enter Some Text You Want to Hide.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Error);

                return;
            }

            bmp = Stegnography.embedText(SecretMessage, bmp);

            MessageBox.Show("Your Text is now Hidden in the Image.\nUse the Save Image option from Menu.", "Done");
        }