public StateKunde(VCBaseDetails vcDetails, CustomUITableViewController viewController)
        {
            // The data
            _viewController = viewController;
            _vcDetails = vcDetails;
            _person = BusinessLayer.Kunde.Create();
            _fragmentState =  new StateFragmentGeneral (_vcDetails, _viewController, Application._user,this);

            // Set the UI
            ResetControls ();
            _fragmentState.ResetControls ();
        }
        async public override Task BtnGeneralFragmentClickAsync( CustomUITableViewController viewController)
        {
            if (_fragmentState.GetType () == typeof(StateFragmentGeneral))
                return;

            _viewController = viewController;
            _fragmentState = new StateFragmentGeneral ( _vcDetails,  _viewController,Application._user , this);

            await _fragmentState.BtnGeneralFragmentClickAsync ();

            // Configure the buttons
            if (Application._user.NetworkStatus == DataAccessLayer.NetworkState.Disconnected)
                _vcDetails.ConfigureMenuButton(false);
            else
            {
                _vcDetails.ConfigureMenuButton(true);
                _vcDetails.CreateMenuButton();
            }

        }
        public override void BtnGeneralFragmentClick(ref CustomUITableViewController viewController)
        {
            if (_fragmentState.GetType () == typeof(StateFragmentGeneral))
                return;

            _viewController = viewController;
            _fragmentState = new StateFragmentGeneral ( _vcDetails,  _viewController,Application._user , this);

            _fragmentState.BtnGeneralFragmentClick ();

        }
        public override void BtnGeneralFragmentClick(ref CustomUITableViewController viewController)
        {
            // If we are in the fragment, don't load it again
            if (_fragmentState.GetType () == typeof(StateFragmentGeneral))
                return;

            _viewController = viewController;
            _fragmentState = new StateFragmentGeneral (_vcDetails,  _viewController, Application._user, this);
            _fragmentState.BtnGeneralFragmentClick ();

            // Configure the buttons
            if (Application._user.NetworkStatus == DataAccessLayer.NetworkState.Disconnected)
                _vcDetails.ConfigureMenuButton(false);
            else
            {
                _vcDetails.ConfigureMenuButton(true);
                _vcDetails.CreateMenuButton();
            }

        }