jeudi 28 mars 2019

WPF checkbox event is not firing when I install my program in some Windows environment

Until now, There are many times I installed this program. checkbox event firing well in all Window 10 environment. But, in recent environment, checkbox not firing. Recent Enviroment is also Window 10. why checkbox event not firing?

  • xaml.cs

    private void checkBox1_Checked(object sender, RoutedEventArgs e)
    {
        //code..
    }
    
    
  • xaml

    <CheckBox Content="test1" Foreground="White" Height="16" 
    HorizontalAlignment="Left" Margin="459,-29,0,0"
    Name="checkBox1" 
    VerticalAlignment="Top" 
    IsThreeState="True" 
    Checked="checkBox1_Checked" Unchecked ="checkBox1_Unchecked" 
    Indeterminate="checkBox1_Indeterminate"/>
    
    



Aucun commentaire:

Enregistrer un commentaire