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