How to stop an animation WPF?

后端 未结 2 1342
暖寄归人
暖寄归人 2021-01-06 12:47

How to stop an animation so it won\'t produce Completed event. Here\'s simple example



        
2条回答
  •  -上瘾入骨i
    2021-01-06 13:10

    you can use this:

    
                    
                        
                            
                                
                                    
                                
                            
                        
                        
                            
                        
                    
                
    

    and :

    private void com(object sender, EventArgs e)
            {
                MessageBox.Show("boom!");
            }
    

提交回复
热议问题