http://microsoft.com/msagent/downloads.htm可以下载Microsoft Agent的四个精灵!在创建程序的用户界面以前先导入Agent Control这个ActiveX控件。

解决方案 »

  1.   

    那东西其实就是一个被切割的怪异形状窗体;
    和Windows Media Player的那些皮肤是一个道理的!
    只不过是变换切割(有动作吗!) 还要把它定位到你的主窗体上 
    C#帮助里有说明!
    不过还是下载一个比较容易:下面是一个简单的动画窗体:using System;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.Windows.Forms;
    using System.Data;
    using System.Drawing.Drawing2D;namespace ShapedForm
    {
    /// <summary>
    /// Summary description for Form1.
    /// </summary>
    public class Form1 : System.Windows.Forms.Form
    {
    private System.Windows.Forms.Timer timer1;
    private System.ComponentModel.IContainer components;private float f;public Form1()
    {
    //
    // Required for Windows Form Designer support
    //
    InitializeComponent();//
    // TODO: Add any constructor code after InitializeComponent call
    //
    }/// <summary>
    /// Clean up any resources being used.
    /// </summary>
    protected override void Dispose( bool disposing )
    {
    if( disposing )
    {
    if (components != null) 
    {
    components.Dispose();
    }
    }
    base.Dispose( disposing );
    }#region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
    this.components = new System.ComponentModel.Container();
    this.timer1 = new System.Windows.Forms.Timer(this.components);
    // 
    // timer1
    // 
    this.timer1.Interval = 50;
    this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
    // 
    // Form1
    // 
    this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
    this.ClientSize = new System.Drawing.Size(292, 273);
    this.Name = "Form1";
    this.Text = "Form1";
    this.Load += new System.EventHandler(this.Form1_Load);}
    #endregion/// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main() 
    {
    Application.Run(new Form1());
    }protected override void OnPaint(PaintEventArgs e) 
    {
    GraphicsPath gp = new GraphicsPath();
    gp.AddEllipse(20,20,110,110);Matrix RotationTransform = new Matrix(1,0, 0,1,1,1);  // 旋转矩形
    PointF TheRotationPoint = new PointF(110.0f, 110.0f);  // 旋转点// 矩形旋转f度
    RotationTransform.RotateAt(f, TheRotationPoint);   // 转换图形位置
    gp.Transform(RotationTransform);
    e.Graphics.DrawPath(Pens.Red, gp);
    f=f+10;// 设置区域(可见部分)
    this.Region=new Region(gp);
    }private void timer1_Tick(object sender, System.EventArgs e)
    {
    this.Refresh();
    }private void Form1_Load(object sender, System.EventArgs e)
    {}
    }
    }
      

  2.   

    使用MSAgent,装了.net应该就有了。
      

  3.   

    还是自己写的好 精灵控件?那东西不太Cool在说谁都 不爱穿满大街都有人穿的衣服吧? (没有恶意!)
    不过C#编过于复杂的 不规则窗体. 好像很慢!简单点的还好
    有个朋友编一个随音乐跳舞的小人简直象蜗牛(后来还是改用VC了!)
    便这东西如果比较复杂的!建议用VC 不是托管的阿!
    不然和C#的速度没什么区别!