private void LoginPageControl_HandleDestroyed(object sender, EventArgs e) { _loginController.PropertyChanged -= _loginController_PropertyChanged; _loginController.Dispose(); }