public PasswordConfirmation(string login, OnConfirmEvent onConfirm) { InitializeComponent(); OnConfirm = onConfirm; AdminLogin = login; }
/// <summary> /// A handler that will called when the form will be confirmed. /// Handle the stored data. /// </summary> public virtual void OnConfirm() { OnConfirmEvent?.Invoke(this); }