Example #1
0
    async Task Load_List(E_Build_type type)
    {
        List <Data_building> temp = await SQL_Manager.Select <Data_building>("Building");

        foreach (var d in temp)
        {
            if (d.Id_type == (int)type)
            {
                Data.Add(d);
            }
        }
    }
Example #2
0
    public async void Load_Content(E_Build_type type)
    {
        await Load_List(type);

        Refresh();
    }