private void OnRemoveClicked(LaunchCommandElement obj) { _widgetDatas.Remove(obj.GetData()); _listView.Refresh(); Save(); }
private void OnToggleActiveClicked(LaunchCommandElement widget, bool active) { var widgetData = widget.GetData(); widgetData.Active = active; widget.SetData(widgetData); Save(); }