예제 #1
0
        private void Ekle()
        {
            WayBillDetail wayBillDetail = new WayBillDetail()
            {
                Product     = (Product)cmbProduct.SelectedItem,
                Quantity    = (short)nudPcount.Value,
                Description = Convert.ToString(txtDesc.Text)
            };

            _wayBillDetail.Add(wayBillDetail);
        }
예제 #2
0
        private void btnListEkle_Click(object sender, EventArgs e)
        {
            WayBillDetail wayBillDetail = new WayBillDetail()
            {
                Product     = (Product)cmbProduct.SelectedItem,
                Quantity    = (short)nudPcount.Value,
                Description = txtDesc.ToString()
            };

            _wayBillDetail.Add(wayBillDetail);
            WayBillLoad();
        }