private void searchbtn_Click(object sender, RoutedEventArgs e)
        {
            bool searchresult = false;

            try
            {
                Customer customer = new Customer();
                customer.UserName = txtValue.Text;

                CustomerBL Passvalidate = new CustomerBL();
                searchresult = Passvalidate.CustomerForget(customer.UserName);
                if (searchresult == true)
                {
                    MessageBox.Show("Username Found!");
                    this.Close();
                    CustomerChangePassword pass = new CustomerChangePassword();
                    pass.Show();
                }
                else
                {
                    MessageBox.Show("Username Not Found!");
                }
            }
            catch (RecipeIngredientSystemExceptions ex)     //
            {                                               //
                System.Windows.MessageBox.Show(ex.Message); //
            }//
        }
        private void changepassbtn_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            CustomerChangePassword changepasswordpage = new CustomerChangePassword();

            changepasswordpage.Show();
        }