private void EnableDisableActions()
 {
     IStock.BLL.Invoices invoice = new IStock.BLL.Invoices();
     invoice.GetDeliveryOrderInvoice(CurrentDeliveryOrder.DeliveryOrderID);
     if (invoice.RowCount == 0)
         uiPanelActions.Visible = true;
     else
         uiPanelActions.Visible = false;
 }