Esempio n. 1
0
        private void btnDetail_Click(object sender, EventArgs e)
        {
            frmOrderDetail _frmDetail = new frmOrderDetail(orderBindingSource.Current as Order);

            if (_frmDetail.ShowDialog() == DialogResult.Cancel)
            {
                orderTBBindingSource.DataSource = OrderBUS.getAll();
            }
        }
Esempio n. 2
0
 private void frmOrder_Load(object sender, EventArgs e)
 {
     orderTBBindingSource.DataSource = OrderBUS.getAll();
     orderBindingSource.DataSource   = new Order();
 }