internal void Logout()
        {
            var newDialog = MessageBox.Show(@"Are you sure you want to log out?", @"Logout", MessageBoxButtons.YesNo);
            if (newDialog != DialogResult.Yes)
            {
                return;
            }
            var loginForm = new Login();

            var positionOptions = new PositionOptions();
            positionOptions.Dispose();
            loginForm.BringToFront();
            loginForm.Show();
        }
 private void BackgroundFormLoad(object sender, EventArgs e)
 {
     var loginForm = new Login();
     loginForm.Show();
     this.Visible = false;
 }