如何在具有透明背景的 C# 中使用 .swf

How to use .swf in c# with Transparent background

is there's a way to use flash file inside WPF c# application with Transparent back ground ? i tried this

  public  Form1()
    {
        InitializeComponent();
        getdata();
        SetStyle(ControlStyles.SupportsTransparentBackColor, true);
        axShockwaveFlash1.Movie = @"c:\users\ahmed\documents\visual studio 2013\Projects\WindowsFormsApplication1\WindowsFormsApplication1\loading10.swf";
        axShockwaveFlash1.Play();


    }

and this

            axShockwaveFlash1.BackgroundColor =0;

and many below ! any idea ? i still get back color behind the file .

你不能在运行时通过代码来完成。

解决方案:通过组件设置(在 Designer 中)中的菜单设置 (WMode) 透明度。

找到与下图 VB 所示类似的选项: