Exemple #1
0
    private void OnToggleActiveClicked(LaunchCommandElement widget, bool active)
    {
        var widgetData = widget.GetData();

        widgetData.Active = active;
        widget.SetData(widgetData);

        Save();
    }
Exemple #2
0
    private void Bind(LaunchCommandElement v, int index)
    {
        WidgetDataLaunchCommandElement widgetData = _widgetDatas[index];

        v.SetData(widgetData);
    }