Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window>
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Loaded">
- <command:EventToCommand
- Command="{Binding RunListenerCommand}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
- ....
- </Window>
- if(!DesignerProperties.GetIsInDesignMode(this))
- {
- // запускаем листенер
- }
Add Comment
Please, Sign In to add comment