Ejemplo n.º 1
0
        public creatForm()
        {
            InitializeComponent();
            order = new OrderManagementSystem.Order();

            dataGridView1.DataSource = order.itemList;

            item = new OrderManagementSystem.OrderItem();
            goodsIDtxt.DataBindings.Add("Text", item, "ID");
            goodsPricetxt.DataBindings.Add("Text", item, "Price");
            goodsAmountxt.DataBindings.Add("Text", item, "Amount");
        }
Ejemplo n.º 2
0
 public creatForm(int ID) : this()
 {
     order = new Order(ID);
 }