| | |
| | | actionRefresh = () => { |
| | | btnFunctionName.Text = btnFunctionName_Out.Text = fan.name; |
| | | btnFromFloor_Out.Text = btnFromFoorAndRoom.Text = fan.GetRoomListName(); |
| | | //fan.SaveFunctionData(true); |
| | | }; |
| | | } |
| | | |
| | |
| | | void LoadCollectionEvent() |
| | | { |
| | | btnCollection.MouseUpEventHandler += (sender, e) => { |
| | | btnCollection.IsSelected = fan.collection = btnCollection_Out.IsSelected = !btnCollection.IsSelected; |
| | | fan.SaveFunctionData(); |
| | | btnCollection.IsSelected = fan.collect = btnCollection_Out.IsSelected = !btnCollection.IsSelected; |
| | | fan.SaveFunctionData(true); |
| | | }; |
| | | } |
| | | |