private void EditOrderButton_Click(object sender, EventArgs e)
        {
            //TODO: Edit existing order in order form
            Order selectedOrder = GvOperations.GetSelectedOrder(gvOrders);

            if (selectedOrder != null)
            {
                EditOrder editOrderForm = new EditOrder(selectedOrder);
                editOrderForm.ShowDialog();
            }
        }
 private void btnSubmit_Click(object sender, EventArgs e)
 {
     _order             = new Order();
     _order.Id          = "new";
     _order.Destination = (OrderDestination)cbDishType.SelectedItem;
     if (ValidateTextBox())
     {
         _order.TableNumber = Int32.Parse(textBox1.Text);
         EditOrder editOrderForm = new EditOrder(_order);
         this.Hide();
         editOrderForm.ShowDialog();
         _order = editOrderForm.GetCreatedOrder();
     }
     else
     {
         MessageBox.Show("Table number should be a numeric value.");
     }
 }