本帖最后由 a154365682 于 2011-06-27 23:12:38 编辑

解决方案 »

  1.   

    this.BackgroundImage=_normlImage;这句放在
     MakeTransprent(_normlImage);
                MakeTransprent(_moveImage);
                MakeTransprent(_downImage);
    下面了,会不会这个原因呢?
    动手调试一下吧
      

  2.   

    图片所在位置:改成下面这样也不行 public void Button3()
            {
                this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer,true);
                //默认的是自带的图片样式,如果使用该按钮则必须手工指定当前按钮你想要的背景图片 
                _normlImage=Image.FromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream(@"button3.borde.btnnomal.bmp"));
                _moveImage = Image.FromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream(@"button3.borde.btnfore.bmp"));
                _downImage = Image.FromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream(@"button3.borde.btndown.bmpp"));
                this.BackgroundImage = _normlImage;
                MakeTransprent(_normlImage);
                MakeTransprent(_moveImage);
                MakeTransprent(_downImage);
                InitializeComponent();
                        }
      

  3.   

    是我把路径写错了!(@"button3.borde.btnnomal.bmp  应该是(@"button3.border.btnnomal.bmp
    另外在LOAD事件执行button3g事件就可以了!~ - -!
      

  4.   

    http://topic.csdn.net/u/20090521/12/9506ef67-be36-4e26-b86c-3a8825cc5944.html
    ASP.NET  http://apps.hi.baidu.com/share/detail/32900885JS获取fileupload文件路径 http://apps.hi.baidu.com/share/detail/22920001
    http://www.cnblogs.com/RobotTech/archive/2007/09/14/893001.html