Hi guys im creating this cryptography program. And was wondering how to connect three conditions together. I got a place where i can input a key and confirm the key. a combobox to choose the type of encryption and the Encrypt buton to give the order to encrypt

I dont know how to go about and conect everything together. Can someone help me please?

Im not sure what you think is so difficult with this, assuming you have already figured out how to do the encryption. Simplest way to do it is to have a Click event for the button to start the encryption and validate the key from inside that function, or call another function from inside it to validate the key then run your encryption algorithim