//opens a new window with the card information
        private void binderbutton_Click(object sender, RoutedEventArgs e)
        {
            string name, imagepath;
            int f, b, h, s;
            name = namebox.Text;
            imagepath = imagepathbox.Text;
            f = Int32.Parse(friendbox.Text);
            b = Int32.Parse(bravebox.Text);
            h = Int32.Parse(humorbox.Text);
            s = Int32.Parse(starbox.Text);

            DBconn conn = new DBconn();

            conn.createCard(name, imagepath, f, b, h, s);
        }