void ReleaseDesignerOutlets()
        {
            if (HashCode != null)
            {
                HashCode.Dispose();
                HashCode = null;
            }

            if (AllowancePopup != null)
            {
                AllowancePopup.Dispose();
                AllowancePopup = null;
            }

            if (ActivityIndicator != null)
            {
                ActivityIndicator.Dispose();
                ActivityIndicator = null;
            }

            if (ViewUsageButton != null)
            {
                ViewUsageButton.Dispose();
                ViewUsageButton = null;
            }
        }
        // Shared initialization code
        private void Initialize()
        {
            var hashCode = SettingsManager.GetSetting(SettingsManager.KeyHashCode);
            var usage    = SettingsManager.GetSetting(SettingsManager.KeyAllowance);

            if (!string.IsNullOrWhiteSpace(hashCode))
            {
                HashCode.StringValue = hashCode;
            }

            if (!string.IsNullOrWhiteSpace(usage))
            {
                var usageString = usage + " GB";
                AllowancePopup.SelectItem(((IList <string>)UsageStrings).IndexOf(usageString));
            }
        }