Sunday, April 4, 2010

VISUAL CRYPTOGRAPHY SOURCE CODE DOWNLOAD IN C# .NET

Visual Cryptography project is developed in C#.net language and this software helps you to hide you personal data in two image and this data only is visible when you take out prints of two image and keep the print papers back to back to see the original content.

To download this project click here

namespace VisualCryptography
{
partial class FormMain
{
///


/// Required designer variable.
///

private System.ComponentModel.IContainer components = null;

///
/// Clean up any resources being used.
///

/// true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}

#region Windows Form Designer generated code

///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.textBoxInput = new System.Windows.Forms.TextBox();
this.buttonGenerate = new System.Windows.Forms.Button();
this.panelCanvas = new System.Windows.Forms.Panel();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.contextMenuStrip1.SuspendLayout();
this.SuspendLayout();
//
// textBoxInput
//
this.textBoxInput.Location = new System.Drawing.Point(12, 14);
this.textBoxInput.Name = "textBoxInput";
this.textBoxInput.Size = new System.Drawing.Size(357, 20);
this.textBoxInput.TabIndex = 0;
//
// buttonGenerate
//
this.buttonGenerate.Location = new System.Drawing.Point(375, 12);
this.buttonGenerate.Name = "buttonGenerate";
this.buttonGenerate.Size = new System.Drawing.Size(75, 23);
this.buttonGenerate.TabIndex = 1;
this.buttonGenerate.Text = "Generate";
this.buttonGenerate.UseVisualStyleBackColor = true;
this.buttonGenerate.Click += new System.EventHandler(this.buttonGenerate_Click);
//
// panelCanvas
//
this.panelCanvas.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panelCanvas.ContextMenuStrip = this.contextMenuStrip1;
this.panelCanvas.Location = new System.Drawing.Point(13, 41);
this.panelCanvas.Name = "panelCanvas";
this.panelCanvas.Size = new System.Drawing.Size(437, 399);
this.panelCanvas.TabIndex = 2;
this.panelCanvas.Paint += new System.Windows.Forms.PaintEventHandler(this.panelCanvas_Paint);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveAsToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(137, 26);
//
// saveAsToolStripMenuItem
//
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
this.saveAsToolStripMenuItem.Text = "Save As...";
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click);
//
// saveFileDialog1
//
this.saveFileDialog1.Filter = "PNG|*.png";
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(462, 452);
this.Controls.Add(this.panelCanvas);
this.Controls.Add(this.buttonGenerate);
this.Controls.Add(this.textBoxInput);
this.Name = "FormMain";
this.Text = "Visual Cryptography";
this.contextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();

}

#endregion

private System.Windows.Forms.TextBox textBoxInput;
private System.Windows.Forms.Button buttonGenerate;
private System.Windows.Forms.Panel panelCanvas;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
}
}

using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace VisualCryptography
{
static class Program
{
///
/// The main entry point for the application.
///

[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormMain());
}
}
}


For Further Reading,
VB .NET, Visual CryptoGraphy

1 comments:

Élvio ;¬) on August 31, 2012 at 8:19 AM said...

The download link does not work. Can u send to elvio.desenvolvimento@gmail.com . Thanks

Post a Comment