- July 25, 2010
- 4,024
- 1,420
- Home Country
- Germany
I tried to play a bit more with the basic stuff of MPF and without the workflow models it is much easier^^
I changed the Themefiles of the default Skin while MP2 was running and there was no effect if I changed something
After a while I thought: "Okay lets restart MP2" and now I got an error. Is it possible that MP2 doesn't reload the theme files during the runtime like the skin files?
This should be the "magic" line (the first place in Button.xaml where "1,1,1,1" appears and like always in WPF it works fine, but not in MPF (I made already some changes to the WPF code to fit the MPF specifications):
But why does this line (original code from MP2 Button.xaml) work:
It is the same just another attribute...
Complete log + theme file [line 220] as attachment
P.S.
You should allow .xaml extension for upload
I changed the Themefiles of the default Skin while MP2 was running and there was no effect if I changed something
After a while I thought: "Okay lets restart MP2" and now I got an error. Is it possible that MP2 doesn't reload the theme files during the runtime like the skin files?
This should be the "magic" line (the first place in Button.xaml where "1,1,1,1" appears and like always in WPF it works fine, but not in MPF (I made already some changes to the WPF code to fit the MPF specifications):
Code:
<Border BorderBrush="#FFFFFFFF" BorderThickness="1,1,1,1" CornerRadius="4,4,4,4">
But why does this line (original code from MP2 Button.xaml) work:
Code:
<Grid x:Name="GrowControl" RenderTransformOrigin="0.5,0.5" Margin="0,2,0,2">
It is the same just another attribute...
Complete log + theme file [line 220] as attachment
P.S.
You should allow .xaml extension for upload