예제 #1
0
    public void Refresh()
    {
        if (refreshing)
        {
            return;
        }

        refreshing           = true;
        refreshedAtLeastOnce = true;

        savesList.QueueFreeChildren();

        loadingItem.Visible = true;
        readSavesList       = new Task <List <string> >(() => SaveHelper.CreateListOfSaves());
        TaskExecutor.Instance.AddTask(readSavesList);
    }