using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Media; namespace CryptExample { //Form 1 public partial class cryptMsg : Form { public cryptMsg() { InitializeComponent(); } private void pictureBox3_Click(object sender, EventArgs e) { cryptUnlock showDecrypt = new cryptUnlock(); showDecrypt.Show(); } private void label2_Click(object sender, EventArgs e) { cryptUnlock showDecrypt = new cryptUnlock(); showDecrypt.Show(); } } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Security; using System.Security.Cryptography; using System.IO; using System.Net; using Microsoft.Win32; using System.Runtime.InteropServices; using System.Text.RegularExpressions; namespace CryptExample { //Form 2 public partial class cryptUnlock : Form { public cryptUnlock() { InitializeComponent(); //Add in decryption stuff later } } }
ShowDialog()
Show()
public cryptUnlock() { InitializeComponent(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)