private void PrintMessage()
        {
            if (ResultDB == null)
            {
                return;
            }

            if (!SelectedNotEmpty())
            {
                messageTextBlock.Text = "";
            }

            if (!QuerySubmitted)
            {
                if (ResultDB.IsEmpty() && SelectedNotEmpty())
                {
                    messageTextBlock.Text = "No results containing all your search terms were found.";
                }
            }
            else
            {
                if (ResultDB.Count == 1)
                {
                    messageTextBlock.Text = "One row was found.";
                }
                else
                {
                    messageTextBlock.Text = $"{ResultDB.Count} rows were found.";
                }
            }
        }
        private bool SatisfyFields()
        {
            if (SelectedNotEmpty())
            {
                Customer userInput;
                if (companyNameBox.IsEnabled)
                {
                    userInput = new Customer("", companyNameBox.Text, contactNameBox.Text, phoneNumberBox.Text);
                }
                else
                {
                    userInput = new Customer(customerIdBox.Text, "", "", "");
                }

                ResultDB = _db.Select(userInput);
                return(!ResultDB.IsEmpty());
            }
            return(false);
        }