public StopListDishReason(StopListDish b) { Name = b.Name; Count = b.Count; BarCode = b.BarCode; Reason = b.Reason; }
public CtrStopListReasonChooser(StopListDishReason mDish, List <StopListService.StopListReasonT> Reasons) { InitializeComponent(); comboBox1.DropDownStyle = ComboBoxStyle.DropDownList; label1.Text = mDish.Name; mDish.mCtrStopListReasonChooser = this; Dish = mDish; FillReasons(Reasons); }