Exemplo n.º 1
0
 internal FileEncrypterForm(RsaManager rsaManager)
 {
     InitializeComponent();
     RsaManager = rsaManager;
     publicKeysCb.DataSource    = new BindingSource(rsaManager.PublicKeys, null); ////klicky
     publicKeysCb.DisplayMember = "Key";
     publicKeysCb.ValueMember   = "Value";
 }
Exemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            RsaManager rsaManager = new RsaManager();

            Application.Run(new FileEncrypterForm(rsaManager));
        }