public OrderItemForm(FruitTypeForm.MODE mode, int orderId, string customer) { InitializeComponent(); this._mode = mode; this._orderId = orderId; this._customer = customer; this.customer.Text = this._customer; }
public FruitForm(FruitTypeForm.MODE mode, int fruitTypeId, string fruitTypeName) { InitializeComponent(); _mode = mode; _fruitTypeId = fruitTypeId; _fruitTypeName = fruitTypeName; this.fruitTypeName.Text = _fruitTypeName; }
public FruitPriceForm(FruitTypeForm.MODE mode, int fruitId, string fruitName) { InitializeComponent(); this._mode = mode; this._fruitId = fruitId; this._fruitName = fruitName; this.fruitName.Text = _fruitName; }
public FruitPriceForm(FruitTypeForm.MODE mode, int id, float minPrice, float maxPrice, string cdate) { InitializeComponent(); this._mode = mode; this._id = id; this._minPrice = minPrice; this._maxPrice = maxPrice; this._cdate = cdate; this.minPrice.Text = _minPrice.ToString(); this.maxPrice.Text = _maxPrice.ToString(); this.cdate.Text = _cdate; }
public OrderItemForm(FruitTypeForm.MODE mode, string customer, int orderItemId, string product, int quantity, float money, string comment) { InitializeComponent(); this._mode = mode; this._customer = customer; this._id = orderItemId; this._product = product; this._money = money; this._quantity = quantity; this._comment = comment; this.customer.Text = this._customer; this.product.Text = this._product; this.quantity.Value = this._quantity; this.money.Text = this._money.ToString(); this.comment.Text = this._comment; }
public OrderForm(FruitTypeForm.MODE mode, int orderId, string cdate, string customer, string earliest, string latest, string comment) { InitializeComponent(); this._mode = mode; this._id = orderId; this._cdate = cdate; this._customer = customer; this._earliest = earliest; this._latest = latest; this._comment = comment; this.customer.Text = this._customer; this.latest.Text = this._latest; this.earliest.Text = this._earliest; this.comment.Text = this._comment; this.cdate.Text = this._cdate; }
public FruitForm(FruitTypeForm.MODE mode, int id, string name, int level, string area, string unit, string description, float loss) { InitializeComponent(); this._mode = mode; this._id = id; this._name = name; this._level = level; this._area = area; this._unit = unit; this._description = description; this._loss = loss; this.name.Text = _name; this.level.Text = _level.ToString(); this.area.Text = _area; this.unit.Text = _unit; this.description.Text = _description; this.loss.Text = _loss.ToString(); }
public OrderForm(FruitTypeForm.MODE mode) { InitializeComponent(); this._mode = mode; }