Guest User

Untitled

a guest
Jul 20th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <Window>
  2. <i:Interaction.Triggers>
  3. <i:EventTrigger EventName="Loaded">
  4. <command:EventToCommand
  5. Command="{Binding RunListenerCommand}" />
  6. </i:EventTrigger>
  7. </i:Interaction.Triggers>
  8. ....
  9. </Window>
  10.  
  11. if(!DesignerProperties.GetIsInDesignMode(this))
  12. {
  13. // запускаем листенер
  14. }
Add Comment
Please, Sign In to add comment