home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
Skinning contest: One month to go
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FreakyJ" data-source="post: 681498" data-attributes="member: 106003"><p><strong>AW: Skinning contest: One month to go</strong></p><p></p><p>Hmm sorry, the error message doesn't say anything to me either and I can read German^^</p><p></p><p>the translation:</p><p></p><p>is</p><p></p><p></p><p></p><p></p><p>is</p><p></p><p></p><p>Maybe you can tell me more now <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>//Edit:</p><p>Yes, I also thought that this exception is the reason for the problem, but I can't find the root of the exception...</p><p>Another problem is that I can't debug with VS2010 because I don't have dokan installed and without dokan installed I get a break shortly after starting MP II^^</p><p></p><p>//Edit2:</p><p>I solved it by comment some unneeded stuff out...</p><p>But thanks for your help <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>Sorry that I have so much questions, but is there something special about timers?!</p><p></p><p>I have the following function:</p><p>[code]public void Window_Loaded()</p><p> {</p><p> for (int i = 0; i < NumberOfParticles; i++)</p><p> {</p><p> CreateParticle();</p><p> }</p><p></p><p> timer.Interval = TimeSpan.FromMilliseconds(33.33);</p><p> timer.Tick += new EventHandler(timer_Tick);</p><p> timer.Start();</p><p></p><p> logger.Info("HelloWorld: Window_Loaded() - timer started: " + timer.IsEnabled.ToString());</p><p> HelloString = "EXECUTED";</p><p> }[/code]</p><p>In the log I can see the message:</p><p></p><p>This mean the Timer should be active right?</p><p></p><p>But the next message doesn't appear:</p><p></p><p>[code]public void timer_Tick(object sender, EventArgs e)</p><p> {</p><p> logger.Info("HelloWorld: TimerTick");</p><p>//... other stuff</p><p>}[/code]</p><p></p><p>But this time there is no exception in the logs xD</p><p></p><p>All this is in the models.cs and I think the model is only under special circumstances active oO</p><p></p><p>But the good news is that I'm getting closer and closer to understand all this stuff <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p></blockquote><p></p>
[QUOTE="FreakyJ, post: 681498, member: 106003"] [b]AW: Skinning contest: One month to go[/b] Hmm sorry, the error message doesn't say anything to me either and I can read German^^ the translation: is is Maybe you can tell me more now :) //Edit: Yes, I also thought that this exception is the reason for the problem, but I can't find the root of the exception... Another problem is that I can't debug with VS2010 because I don't have dokan installed and without dokan installed I get a break shortly after starting MP II^^ //Edit2: I solved it by comment some unneeded stuff out... But thanks for your help ;) Sorry that I have so much questions, but is there something special about timers?! I have the following function: [code]public void Window_Loaded() { for (int i = 0; i < NumberOfParticles; i++) { CreateParticle(); } timer.Interval = TimeSpan.FromMilliseconds(33.33); timer.Tick += new EventHandler(timer_Tick); timer.Start(); logger.Info("HelloWorld: Window_Loaded() - timer started: " + timer.IsEnabled.ToString()); HelloString = "EXECUTED"; }[/code] In the log I can see the message: This mean the Timer should be active right? But the next message doesn't appear: [code]public void timer_Tick(object sender, EventArgs e) { logger.Info("HelloWorld: TimerTick"); //... other stuff }[/code] But this time there is no exception in the logs xD All this is in the models.cs and I think the model is only under special circumstances active oO But the good news is that I'm getting closer and closer to understand all this stuff :P [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
Skinning contest: One month to go
Contact us
RSS
Top
Bottom