private void CreateAndAddEncryptionView() { EncryptionView ev = new EncryptionView(); this.cryptoPanel.Controls.Clear(); ev.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; this.cryptoPanel.Controls.Add(ev); }
public EncryptionEvents(EncryptionView encryptionView) { this.EncryptionView = encryptionView; this.Documents = new Dictionary <int, Document>(); this.DelegateInvokes = new DelegateInvokes(this.EncryptionView); }
/// <summary> /// Initializes a new instance of the <see cref="DelegateInvokes"/> class. /// </summary> public DelegateInvokes(EncryptionView encryptionView) { this.EncryptionView = encryptionView; }