using BPASmartClient.FoodStationTest.Model; using System.Windows.Controls; namespace BPASmartClient.FoodStationTest.View { /// /// RecipeSettingsView.xaml 的交互逻辑 /// public partial class RecipeReceiveView : UserControl { public RecipeReceiveView() { InitializeComponent(); this.IsUseStockBin.Click += (o, e) => { GVL_SmallStation.GetInstance.IsUseLocalRecipe = (bool)IsUseStockBin.IsChecked; }; this.NotUseSmallDosing.Click += (o, e) => { GVL_SmallStation.GetInstance.NotUseSmallStation = (bool)NotUseSmallDosing.IsChecked; }; } } }