-
September 28th, 2013, 04:26 PM
#1
Storyboard
hi All,
Simple quest, why does this -- see below-- not work.
It starts the storyboard in window_activated.
But it does not stop it in deactivated.
Code:
Storyboard board;
public MainWindow()
{
InitializeComponent();
board = (Storyboard)TryFindResource("Storyboard1");
}
private void window1_Activated(object sender, EventArgs e)
{
this.Right = this.Left + this.ActualWidth;
this.Bottom = this.Top + this.ActualHeight;
board.Begin(this);
}
private void window1_Deactivated(object sender, EventArgs e)
{
board.Stop(this);
}
regards,
Ger
-
September 29th, 2013, 12:40 AM
#2
Re: Storyboard
Starting with the basics, are you sure that xxx_Deactivate method is getting called?
-
September 29th, 2013, 04:13 AM
#3
Re: Storyboard
@Arjay,
Yep!
I put a debug breakpoint in the method to check if it will be called.
regards,
Ger
-
September 29th, 2013, 01:27 PM
#4
Re: Storyboard
What version of .Net are you using and which (namespace) of StoryBoard?
Also, do you have a sample app you can zip and attach?
-
September 29th, 2013, 02:52 PM
#5
Re: Storyboard
@Arjay,
Here you go !!
regards,
G.
Last edited by TBBW; September 30th, 2013 at 08:30 AM.
-
September 29th, 2013, 07:44 PM
#6
Re: Storyboard
My SmartScreen filter told me the rar file is unsafe to download.
-
September 30th, 2013, 08:32 AM
#7
Re: Storyboard
@Arjay,
Uploaded the attached file again.
see above.
Find it strange, there is nothing suspicious in it ....
Let me know if things go wrong !!
Regards,
G.
-
September 30th, 2013, 09:44 AM
#8
Re: Storyboard
Still can't open it. Can you zip it?
-
September 30th, 2013, 01:32 PM
#9
Re: Storyboard
Here is the zipper !!
regards,
Ger
-
September 30th, 2013, 01:41 PM
#10
Re: Storyboard
here is the project in rar with password
hope this will work
password: gerwin
regards,
G
-
September 30th, 2013, 01:45 PM
#11
-
September 30th, 2013, 01:46 PM
#12
-
September 30th, 2013, 02:10 PM
#13
-
September 30th, 2013, 02:10 PM
#14
-
September 30th, 2013, 03:32 PM
#15
Re: Storyboard
Trying on a different computer. Where is the zip file?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|