/// <summary>
        ///     Invoked when the register 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 registerLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            RegisterWindow registerWindow = new RegisterWindow();

            if (registerWindow.ShowDialog(this) == DialogResult.OK)
            {
                Close();
            }
        }
 /// <summary>
 ///     Invoked when the register 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 registerLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     RegisterWindow registerWindow = new RegisterWindow();
     if (registerWindow.ShowDialog(this) == DialogResult.OK)
         Close();
 }
 /// <summary>
 ///     Called when the register account 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 registerAccountToolStripMenuItem_Click(object sender, EventArgs e)
 {
     RegisterWindow registerWindow = new RegisterWindow();
     registerWindow.ShowDialog(this);
     SyncronizeWindow();
 }