private void toolStripButtonDispatch_Click(object sender, EventArgs e)
        {
            frmDispatchItems Dispatch = new frmDispatchItems(CompanyID, WarehouseID,
                                                             int.Parse(dgOrder.CurrentRow.Cells["StockOrder_ID"].Value.ToString()),
                                                             dgOrder.CurrentRow.Cells["OrderReference"].Value.ToString());

            Dispatch.ShowDialog();
        }
        private void toolStripButtonDispatch_Click(object sender, EventArgs e)
        {
            DataSet ds = WS.SetStockOrder(0, WarehouseID, 1, 1, "RET" + StockMoveID.ToString(), CompanyID, "Sale",
                                          "City Couriers", "6 Koets Street", "Tygerberg Business Park", "Parow", "Bellville South", "7000",
                                          "Colibri Towelling (W/Cape) (PTY) LTD", "Colibri Towels", "17 Crompton Street", "Strand", "Strand", "7140",
                                          "RET" + StockMoveID.ToString(), "RET" + StockMoveID.ToString(), "");
            int OrderID = int.Parse(ds.Tables[0].Rows[0]["StockOrder_ID"].ToString());

            WS.SetStockOrderFromMove(StockMoveID, OrderID);

            frmDispatchItems Dispatch = new frmDispatchItems(CompanyID, WarehouseID, OrderID, "RET" + StockMoveID.ToString());

            Dispatch.ShowDialog();
        }