/// <summary>
        ///     Invoked when the lost password link is clicked.
        /// </summary>
        /// <param name="sender">Object that caused this event to be triggered.</param>
        /// <param name="e">Arguments explaining why this event occured.</param>
        private void lostPasswordLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            ResetPasswordWindow resetWindow = new ResetPasswordWindow();

            if (resetWindow.ShowDialog(this) == DialogResult.OK)
            {
                Close();
            }
        }
 /// <summary>
 ///     Invoked when the lost password link is clicked.
 /// </summary>
 /// <param name="sender">Object that caused this event to be triggered.</param>
 /// <param name="e">Arguments explaining why this event occured.</param>
 private void lostPasswordLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     ResetPasswordWindow resetWindow = new ResetPasswordWindow();
     if (resetWindow.ShowDialog(this) == DialogResult.OK)
         Close();
 }
 /// <summary>
 ///     Called when the lost password menu item is clicked.
 /// </summary>
 /// <param name="sender">Object that caused this event to be triggered.</param>
 /// <param name="e">Arguments explaining why this event occured.</param>
 private void lostPasswordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ResetPasswordWindow registerWindow = new ResetPasswordWindow();
     registerWindow.ShowDialog(this);
 }