<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Report a Silverlight Bug</title><link>http://forums.silverlight.net/forums/28.aspx</link><description>Found a bug in Silverlight? Use this forum to describe the bug and the code or steps to reproduce it.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Re: DispatcherTimer doesn't allow event subscription after timer is started</title><link>http://forums.silverlight.net/forums/thread/41615.aspx</link><pubDate>Thu, 27 Mar 2008 10:37:37 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:41615</guid><dc:creator>fkruesch</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/41615.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=41615</wfw:commentRss><description>&lt;p&gt;It is confusing, because in WPF proper you &lt;strong&gt;&lt;em&gt;can &lt;/em&gt;&lt;/strong&gt;attach an event handler once &lt;br /&gt;the timer is running!&lt;/p&gt;</description></item><item><title>Re: DispatcherTimer doesn't allow event subscription after timer is started</title><link>http://forums.silverlight.net/forums/thread/41581.aspx</link><pubDate>Thu, 27 Mar 2008 08:24:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:41581</guid><dc:creator>Allen Chen – MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/41581.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=41581</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Thanks for reproting this issue and sorry for confusing you so much. But it&amp;#39;s by design and from the msdn we can see the example also attach the event before calling Start method:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/system.windows.threading.dispatchertimer.aspx"&gt;http://msdn2.microsoft.com/en-us/library/system.windows.threading.dispatchertimer.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; However it&amp;#39;s very kind of you to point it out, which may save other&amp;#39;s time.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;</description></item><item><title>DispatcherTimer doesn't allow event subscription after timer is started</title><link>http://forums.silverlight.net/forums/thread/40976.aspx</link><pubDate>Tue, 25 Mar 2008 21:21:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40976</guid><dc:creator>fkruesch</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40976.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=40976</wfw:commentRss><description>&lt;font size="2"&gt;
&lt;p&gt;In the following code snippet. the _timer_Tick event will never be called. Obviously&lt;br /&gt;Silverlight doesn&amp;#39;t allow to subscribe to a DispatcherTimer once it runs.&lt;/p&gt;
&lt;p&gt;_timer = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;DispatcherTimer&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;();&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;_timer.Interval = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;TimeSpan&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.FromSeconds(0.5); &lt;br /&gt;_timer.Start();&lt;br /&gt;_timer.Tick += &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;EventHandler&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(_timer_Tick);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;This is quite confusing until you figure it out...&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;Florian&lt;/font&gt;&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>