<commit_before>﻿<UserControl x:Class="PokerLeagueManager.UI.Wpf.Views.PlayerGamesView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
             mc:Ignorable="d" 
             MinHeight="100" MinWidth="100" d:DesignWidth="300" d:DesignHeight="400">
    <Grid Margin="0,0,0,0">
        <Label Content="Player Name:" HorizontalAlignment="Left" Margin="32,10,0,0" VerticalAlignment="Top" Height="25"/>
        <TextBox x:Name="PlayerNameTextBox" Text="{Binding PlayerName, FallbackValue='<NAME>'}" HorizontalAlignment="Stretch" Height="23" Margin="117,10,10,0" TextWrapping="NoWrap" VerticalAlignment="Top" IsReadOnly="True" Background="#FFDDDDDD" VerticalContentAlignment="Center" />
        <Label Content="New Player Name:" HorizontalAlignment="Left" Margin="10,40,0,0" VerticalAlignment="Top" Height="25"/>
        <TextBox x:Name="NewPlayerNameTextBox" Text="{Binding NewPlayerName, FallbackValue='The Rock'}" HorizontalAlignment="Stretch" Height="23" Margin="117,40,10,0" TextWrapping="NoWrap" VerticalAlignment="Top" VerticalContentAlignment="Center" />
        <Button x:Name="RenamePlayerButton" Command="{Binding RenamePlayerCommand}" Content="Rename Player" HorizontalAlignment="Stretch" Margin="10,70,10,10" Height="40" VerticalAlignment="Top"/>
        <ListBox x:Name="GamesListBox" ItemsSource="{Binding Games}" SelectedIndex="{Binding Path=SelectedGameIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" Margin="10,115,10,60" VerticalAlignment="Stretch"/>
        <Button x:Name="CloseButton" Command="{Binding CloseCommand}" Content="Close" HorizontalAlignment="Stretch" Margin="10,0,10,10" Height="40" VerticalAlignment="Bottom"/>
    </Grid>
</UserControl>
<commit_msg>Updated data-binding so Rename Player button enables/disables while you type ***NO_CI***<commit_after>﻿<UserControl x:Class="PokerLeagueManager.UI.Wpf.Views.PlayerGamesView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
             mc:Ignorable="d" 
             MinHeight="100" MinWidth="100" d:DesignWidth="300" d:DesignHeight="400">
    <Grid Margin="0,0,0,0">
        <Label Content="Player Name:" HorizontalAlignment="Left" Margin="32,10,0,0" VerticalAlignment="Top" Height="25"/>
        <TextBox x:Name="PlayerNameTextBox" Text="{Binding PlayerName, FallbackValue='<NAME>'}" HorizontalAlignment="Stretch" Height="23" Margin="117,10,10,0" TextWrapping="NoWrap" VerticalAlignment="Top" IsReadOnly="True" Background="#FFDDDDDD" VerticalContentAlignment="Center" />
        <Label Content="New Player Name:" HorizontalAlignment="Left" Margin="10,40,0,0" VerticalAlignment="Top" Height="25"/>
        <TextBox x:Name="NewPlayerNameTextBox" Text="{Binding NewPlayerName, FallbackValue='The Rock', UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" HorizontalAlignment="Stretch" Height="23" Margin="117,40,10,0" TextWrapping="NoWrap" VerticalAlignment="Top" VerticalContentAlignment="Center" />
        <Button x:Name="RenamePlayerButton" Command="{Binding RenamePlayerCommand}" Content="Rename Player" HorizontalAlignment="Stretch" Margin="10,70,10,10" Height="40" VerticalAlignment="Top"/>
        <ListBox x:Name="GamesListBox" ItemsSource="{Binding Games}" SelectedIndex="{Binding Path=SelectedGameIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" Margin="10,115,10,60" VerticalAlignment="Stretch"/>
        <Button x:Name="CloseButton" Command="{Binding CloseCommand}" Content="Close" HorizontalAlignment="Stretch" Margin="10,0,10,10" Height="40" VerticalAlignment="Bottom"/>
    </Grid>
</UserControl>

{'fraction_non_alphanumeric': 0.15363321799307958, 'fraction_numerical': 0.044290657439446365, 'mean_word_length': 5.80690737833595, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6885833', 'n_tokens_mistral': 1439, 'n_tokens_neox': 1242, 'n_words': 184}