JOHN JOHNNNY

JOHN JOHNNNY

  • NA
  • 190
  • 140.7k

Semantic Zooming

Jul 24 2014 1:41 PM
Good day

I am developing an app that uses stream reader to read a text file from a list box

-how can i add a feature that permits the user to increase or decrease the font size of the text when reading

--can i add semantic zooming to the text in the list box
 
-How to use one click event for multiple buttons

These are the lines of codes

......................................

HYMNINDEX.XAML

<phone:PhoneApplicationPage
    x:Class="RCCGHymn.HymnIndex"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" >
        <Grid.Background>
            <ImageBrush ImageSource="/Assets/bg.jpg" Stretch="UniformToFill" />
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Text="RCCG Hymn" Style="{StaticResource PhoneTextNormalStyle}" FontSize="30" Foreground="Black"/>
            <TextBlock Text="Hymn Index 1-812" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" FontSize="50" Foreground="Black"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">

            <StackPanel Background="#27394d" Height="300" Margin="0,0,0,303">
                <ListBox x:Name="lbx1" Height="300" ></ListBox>
            </StackPanel>
            <ScrollViewer  Margin="0,305,0,-397" >
                <StackPanel Height="14000" Orientation="Vertical" Width="456">
                    <Grid Height="14000" >
                        <Button Content="1" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d"  Click="Hymn1"/>
                        <Button Content="2" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,10,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn2"/>
                        <Button Content="3" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,10,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn3"/>
                        <Button Content="4" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,10,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn4"/>
                        <Button Content="5" Width="105" Height="105" HorizontalAlignment="Right" Margin="150,10,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn5"/>
                        <Button Content="6" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,100,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn6"/>
                        <Button Content="7" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,100,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn7"/>
                        <Button Content="8" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,100,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn8"/>
                        <Button Content="9" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,100,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn9"/>
                        <Button Content="10" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,100,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn10"/>
                        <Button Content="11" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,190,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn11"/>
                        <Button Content="12" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,190,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn12"/>
                        <Button Content="13" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,190,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn13"/>
                        <Button Content="14" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,190,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn14"/>
                        <Button Content="15" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,190,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn15"/>
                        <Button Content="16" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,280,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn16"/>
                        <Button Content="17" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,280,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn17"/>
                        <Button Content="18" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,280,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn18"/>
                        <Button Content="19" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,280,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn19"/>
                        <Button Content="20" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,280,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn20"/>
                        <Button Content="21" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,370,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn21"/>
                        <Button Content="22" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,370,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn22"/>
                        <Button Content="23" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,370,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn23"/>
                        <Button Content="24" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,370,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn24"/>
                        <Button Content="25" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,370,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn25"/>
                        <Button Content="26" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,460,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn26"/>
                        <Button Content="27" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,460,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn27"/>
                        <Button Content="28" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,460,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn28"/>
                        <Button Content="29" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,460,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn29"/>
                        <Button Content="30" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,460,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn30"/>
                        <Button Content="31" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,550,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn31"/>
                        <Button Content="32" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,550,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn32"/>
                        <Button Content="33" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,550,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn33"/>
                        <Button Content="34" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,550,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn34"/>
                        <Button Content="35" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,550,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn35"/>
                        <Button Content="36" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,640,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn36"/>
                        <Button Content="37" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,640,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn37"/>
                        <Button Content="38" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,640,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn38"/>
                        <Button Content="39" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,640,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn39"/>
                        <Button Content="40" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,640,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn40"/>
                        <Button Content="41" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,730,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn41"/>
                        <Button Content="42" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,730,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn42"/>
                        <Button Content="43" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,730,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn43"/>
                        <Button Content="44" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,730,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn44"/>
                        <Button Content="45" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,730,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn45"/>
                        <Button Content="46" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,820,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn46"/>
                        <Button Content="47" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,820,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn47"/>
                        <Button Content="48" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,820,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn48"/>
                        <Button Content="49" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,820,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn49"/>
                        <Button Content="50" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,820,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn50"/>
                        <Button Content="51" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,910,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn51"/>
                        <Button Content="52" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,910,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn52"/>
                        <Button Content="53" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,910,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn53"/>
                        <Button Content="54" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,910,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn54"/>
                        <Button Content="55" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,910,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn55"/>
                        <Button Content="56" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1000,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn56"/>
                        <Button Content="57" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1000,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn57"/>
                        <Button Content="58" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1000,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn58"/>
                        <Button Content="59" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1000,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn59"/>
                        <Button Content="60" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1000,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn60"/>
                        <Button Content="61" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1090,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn61"/>
                        <Button Content="62" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1090,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn62"/>
                        <Button Content="63" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1090,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn63"/>
                        <Button Content="64" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1090,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn64"/>
                        <Button Content="65" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1090,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn65"/>
                        <Button Content="66" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1180,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn66"/>
                        <Button Content="67" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1180,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn67"/>
                        <Button Content="68" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1180,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn68"/>
                        <Button Content="69" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1180,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn69"/>
                        <Button Content="70" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1180,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn70"/>
                        <Button Content="71" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1270,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn71"/>
                        <Button Content="72" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1270,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn72"/>
                        <Button Content="73" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1270,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn73"/>
                        <Button Content="74" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1270,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn74"/>
                        <Button Content="75" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1270,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn75"/>
                        <Button Content="76" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1360,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn76"/>
                        <Button Content="77" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1360,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn77"/>
                        <Button Content="78" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1360,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn78"/>
                        <Button Content="79" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1360,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn79"/>
                        <Button Content="80" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1360,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn80"/>
                        <Button Content="81" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1450,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn81"/>
                        <Button Content="82" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1450,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn82"/>
                        <Button Content="83" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1450,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn83"/>
                        <Button Content="84" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1450,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn84"/>
                        <Button Content="85" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1450,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn85"/>
                        <Button Content="86" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1540,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn86"/>
                        <Button Content="87" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1540,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn87"/>
                        <Button Content="88" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1540,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn88"/>
                        <Button Content="89" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1540,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn89"/>
                        <Button Content="90" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1540,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn90"/>
                        <Button Content="91" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1630,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn91"/>
                        <Button Content="92" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1630,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn92"/>
                        <Button Content="93" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1630,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn93"/>
                        <Button Content="94" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1630,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn94"/>
                        <Button Content="95" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1630,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn95"/>
                        <Button Content="96" Width="105" Height="105" HorizontalAlignment="Left" Margin="0,1720,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn96"/>
                        <Button Content="97" Width="105" Height="105" HorizontalAlignment="Left" Margin="88,1720,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn97"/>
                        <Button Content="98" Width="105" Height="105" HorizontalAlignment="Left" Margin="175,1720,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn98"/>
                        <Button Content="99" Width="105" Height="105" HorizontalAlignment="Left" Margin="263,1720,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn99"/>
                        <Button Content="100" Width="105" Height="105" HorizontalAlignment="Right" Margin="263,1720,0,0" VerticalAlignment="Top" BorderThickness="0" Background="#27394d" Click="Hymn100"/>
                       



                    </Grid>
                </StackPanel>
            </ScrollViewer>

        </Grid>
    </Grid>

</phone:PhoneApplicationPage>

.....................................

HYMNINDEX.XAML.CS

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.IO;

namespace RCCGHymn
{
    public partial class HymnIndex : PhoneApplicationPage
    {
        public HymnIndex()
        {
            InitializeComponent();
        }

        private void Hymn1(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn1.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn2(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn2.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn3(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn3.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn4(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn3.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn5(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn5.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn6(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn6.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn7(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn7.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn8(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn8.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn9(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn9.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn10(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn10.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn11(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn11.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn12(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn12.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn13(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn13.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn14(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn14.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn15(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn15.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn16(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn16.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn17(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn17.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn18(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn18.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn19(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn19.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn20(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn20.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn21(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn21.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn22(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn22.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn23(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn23.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn24(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn24.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn25(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn25.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn26(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn26.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn27(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn27.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn28(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn28.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn29(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn29.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn30(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn30.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn31(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn31.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn32(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn32.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn33(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn33.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn34(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn34.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn35(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn35.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn36(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn36.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn37(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn37.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn38(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn38.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn39(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn39.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn40(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn40.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn41(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn41.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn42(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn42.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn43(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn43.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn44(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn44.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn45(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn45.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn46(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn46.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn47(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn47.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn48(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn48.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn49(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn49.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn50(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn50.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn51(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn51.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn52(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn52.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn53(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn53.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn54(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn54.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn55(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn55.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn56(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn56.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn57(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn57.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn58(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn58.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn59(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn59.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn60(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn60.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn61(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn61.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn62(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn62.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn63(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn63.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn64(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn64.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn65(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn65.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn67(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn67.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn66(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn66.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn68(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn68.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn69(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn69.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn70(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn70.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn71(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn71.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn72(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn72.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn73(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn73.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn74(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn74.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn75(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn75.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn76(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn76.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn77(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn77.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn78(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn78.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn79(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn79.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn80(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn80.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn81(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn81.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn82(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn82.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn83(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn83.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn84(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn84.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn85(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn85.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn86(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn86.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn87(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn87.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn88(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn88.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn89(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn88.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn90(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn90.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn91(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn91.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn92(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn92.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn93(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn93.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn94(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn94.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn95(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn95.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn96(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn96.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn97(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn97.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn98(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn98.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn99(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn99.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

        private void Hymn100(object sender, RoutedEventArgs e)
        {
            var str = Application.GetResourceStream(new Uri("Hymn100.txt", UriKind.Relative));
            StreamReader sReader = new StreamReader(str.Stream);
            lbx1.Items.Add(sReader.ReadToEnd());
        }

}
}

Reply soon thank you in advance

Answers (1)