Ejemplo n.º 1
0
        private void playthree(object sender, MouseButtonEventArgs e)
        {
            var       plays = new Plays();
            TextBlock text  = new TextBlock();

            text.Margin        = new Thickness(50, 50, 0, 0);
            text.Height        = 200;
            text.Width         = 220;
            text.TextAlignment = TextAlignment.Center;
            text.Text          = "Fold-N";
            plays.Content      = text;
            plays.FontSize     = 75;
            plays.WindowState  = WindowState.Maximized;
            plays.Show();
            WindowState = WindowState.Minimized;
        }
Ejemplo n.º 2
0
        private void playfive(object sender, MouseButtonEventArgs e)
        {
            var       plays = new Plays();
            TextBlock text  = new TextBlock();

            text.Margin        = new Thickness(50, 50, 0, 0);
            text.Height        = 200;
            text.Width         = 220;
            text.TextAlignment = TextAlignment.Center;
            text.Text          = "None";
            plays.Content      = text;
            plays.FontSize     = 75;
            plays.Background   = Brushes.AliceBlue;
            plays.WindowState  = WindowState.Maximized;
            plays.Show();
            WindowState = WindowState.Minimized;
        }
Ejemplo n.º 3
0
        private void OpenFile(object sender, MouseButtonEventArgs e)
        {
            string  text   = File.ReadAllText("bbHalftime.info");
            var     output = text;
            var     plays  = new Plays();
            TextBox Notes  = new TextBox();

            Notes.Margin        = new Thickness(50, 50, 0, 0);
            Notes.Height        = 500;
            Notes.Width         = 1000;
            Notes.TextAlignment = TextAlignment.Center;
            Notes.Text          = output;
            Notes.MaxLines      = 5;
            plays.Content       = Notes;
            plays.FontSize      = 35;
            plays.Background    = Brushes.AliceBlue;
            plays.WindowState   = WindowState.Maximized;
            plays.Show();
            WindowState = WindowState.Minimized;
        }
Ejemplo n.º 4
0
        private void Writegoals(object sender, MouseButtonEventArgs e)
        {
            string  text    = File.ReadAllText("bbgoals.Goals");
            var     output  = text;
            var     plays   = new Plays();
            TextBox Options = new TextBox();

            Options.Margin        = new Thickness(50, 50, 0, 0);
            Options.Height        = 500;
            Options.Width         = 1000;
            Options.TextAlignment = TextAlignment.Center;
            Options.Text          = output;
            Options.MaxLines      = 5;
            Options.Background    = Brushes.Gold;
            plays.Content         = Options;
            plays.FontSize        = 35;
            plays.Background      = Brushes.AliceBlue;
            plays.WindowState     = WindowState.Maximized;
            plays.Show();
            WindowState = WindowState.Minimized;
        }