private StackLayout FillHopup(string fullPath)
        {
            Label propertyTitle;
            Label property;
            Label compatibileWeaponsTitle;

            hopup1 = CreateHopupFromData(fullPath);
            string[,] hopupresults = hopup1.ReturnProperty();

            propertyTitle = new Label
            {
                Text = hopupresults[0, 0]
            };

            property = new Label
            {
                Text = hopupresults[0, 1]
            };

            compatibileWeaponsTitle = new Label
            {
                Text = hopupresults[1, 0]
            };

            stackLayout.Children.Add(SetTitleLabelProperties(propertyTitle));
            stackLayout.Children.Add(SetLabelProperties(property));
            stackLayout.Children.Add(SetTitleLabelProperties(compatibileWeaponsTitle));

            return(stackLayout);
        }
        private Hopup CreateHopupFromData(string resourcePath)
        {
            ResourceManager resourceManager = new ResourceManager(resourcePath, Assembly.GetExecutingAssembly());
            Hopup           result;

            string property           = resourceManager.GetString("property");
            string compatibileWeapons = resourceManager.GetString("compatibileWeapons");

            result = new Hopup(property, compatibileWeapons);

            return(result);
        }