private void AuthProgressForm_VisibleChanged(object sender, EventArgs e)
 {
     if (!Visible)
     {
         HiddenOrClosed?.Invoke(this, EventArgs.Empty);
     }
 }
 private void AuthProgressForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     HiddenOrClosed?.Invoke(this, EventArgs.Empty);
 }