private void MoveOrderOperation() { try { var tblId = showTableLbl.Text.ToInt(); var toTable = 0; using (var form = new TableNumsForm(tblId)) { form.ShowDialog(); if (form.Action == Enums.UserAction.Submitted) { toTable = form.ToTable; } } OrderingService.MoveOrder(tblId, toTable); } catch (Exception x) { x.ShowException(); } }