问题描述
我很敏感; m无法粘贴.gif图像Microsoftw Expression Blend 4.0 + Sketchflow(在这种情况下是sketchflow中的一个项目)。当我粘贴JPNG图像时,我没有问题,但是当我尝试粘贴图像时.gif并不敏感; t显示给我,
出现在我的proyect中,但屏幕上没有。
Hi, I´m Having trouble to paste .gif images Microsoftw Expression Blend 4.0 + Sketchflow (in this case is a proyect in sketchflow). And When i paste a JPNG image i have no problem, BUT when i try to paste an image .gif doesn´t show it to me and appear in my proyect but no in the screen.
非常感谢你:)
推荐答案
我使用这种方法在你的xaml中用
$
$
<! - [if gte mso 10]> < MCE:风格>
i use this method
in your xaml
<!-- [if gte mso 10]> <mce:style>
xmlns:wfi =" clr-namespace:System.Windows.Forms.Integration; assembly = WindowsFormsIntegration"
xmlns:winForms =" clr-namespace:System.Windows.Forms; assembly = System.Windows.Forms"
这将添加一个图片框以显示gif
<! - [if gte mso 10]> < MCE:风格>
< wfi:WindowsFormsHost HorizontalAlignment = QUOT;右"宽度= QUOT; 283"保证金=" 0,57,33,209.5>>
< winForms:PictureBox x:名称=" pictureBox">
< / winForms:PictureBox>
This will then add a picture box to display gif
<!-- [if gte mso 10]> <mce:style> <wfi:WindowsFormsHost HorizontalAlignment="Right" Width="283" Margin="0,57,33,209.5">
<winForms:PictureBox x:Name="pictureBox">
</winForms:PictureBox>
private
void Button_Click(对象发件人,
RoutedEventArgs e)
privatevoid Button_Click(object sender,RoutedEventArgs e)
{
{
pictureBox.ImageLocation = @" C:\Documents and Settings\081950G\Desktop\example.gif" ;
pictureBox.ImageLocation = @"C:\Documents and Settings\081950G\Desktop\example.gif" ;
}
这篇关于表达混合没有显示我.GIF图像!!!!!请帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!