Exemplo n.º 1
0
        private void btnOrderInfo_Click(object sender, EventArgs e)
        {
            var orderId = CheckAndGetOrder().OrderId;

            if (orderId != 0)
            {
                FrmOrder objFrm = new FrmOrder(orderId, false);
                objFrm.ShowDialog();
            }
        }
Exemplo n.º 2
0
        private void BtnOrderEdit_Click(object sender, EventArgs e)
        {
            var dgvOrderListCurrentRow = this.dgvOrderlist.CurrentRow;

            if (dgvOrderListCurrentRow != null)
            {
                FrmOrder frmOrder     = new FrmOrder(((OrderEditDto)dgvOrderListCurrentRow.DataBoundItem).OrderId);
                var      dialogResult = frmOrder.ShowDialog();

                if (dialogResult == DialogResult.OK)
                {
                    MultiThreadingBindingOrderData(_currentPage, _orderState);
                }
            }
        }
Exemplo n.º 3
0
        private void btnAddOrder_Click(object sender, EventArgs e)
        {
            FrmOrder objFrm = new FrmOrder();

            OpenForm(objFrm);
        }