惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
P
Proofpoint News Feed
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
A
About on SuperTechFans
T
Tenable Blog
M
MIT News - Artificial intelligence
IT之家
IT之家
I
Intezer
D
DataBreaches.Net
爱范儿
爱范儿
T
Threatpost
C
CERT Recently Published Vulnerability Notes
云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
K
Kaspersky official blog
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Y
Y Combinator Blog
Cyberwarzone
Cyberwarzone
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
Spread Privacy
Spread Privacy
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
AWS News Blog
AWS News Blog
博客园 - 聂微东
C
Check Point Blog
S
Securelist
有赞技术团队
有赞技术团队
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
D
Docker
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tailwind CSS Blog
L
Lohrmann on Cybersecurity
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog

博客园 - .net

软件项目获取用户需求的沟通技巧(摘自IT168技术频道) 软件项目进度控制要处理好四个问题(摘自IT168技术频道) 软件外包项目实施过程中的关键因素(摘自IT168技术频道) Struts学习心得之Struts流程篇(3) -示例 续 转载 Struts学习心得之Struts流程篇(3) -示例 转载 Struts学习心得之Struts流程篇(2) 转载 Struts学习心得之Struts流程篇(1)转载 初学Java Applet程序设计基础 将一个数据库添加到服务器中 datagrid中使用dropdownlist编辑模版时遇到问题 开发中的临时内容 开发个人财务管理系统(一)建数据库 SQL查询语句使用方法参考二 SQL查询语句使用方法参考一 用RichTextBox控件来做一个文本编辑器 .NET中如何获得IP地址和主机名 response.bufferoutput cookie的使用 测试cookie关键字是否存在
微软的一项Agent技术(动画小精灵)
.net · 2005-04-04 · via 博客园 - .net

  Agent 技术,通过运行该技术就可以在自己的程序中使用很有趣的精灵了。
Microsoft Agent核心组建 
Microsoft Agent的四个精灵:吉尼(Genie)、么林(Merlin)、罗比(Robby)以及皮蒂(Peedy)
//在创建程序的用户界面以前我们必须先导入Agent Control这个ActiveX控件,该控件在你安装好系统要求中的项后便有了。下面是导入的方法:选择菜单"工具->自定义工具箱",并选择Microsoft Agent Control 2.0组件// (vb.net中可能无需此步)
    Private agentController As AgentObjects.Agent
    Private agentCharacter As AgentObjects.IAgentCtlCharacter
    private IAgentCtlCharacterEx Character;(这就是我们要用到的精灵的对象)。

    Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
       ' The Agent object is used to open a connection to the Agent server,
        ' load the character, and then associate the character with the
        ' variable referencing the IAgentCtlCharacter interface. From then
        ' on you program against the agentCharacter.
        agentController = New AgentObjects.Agent()
        With agentController
            .Connected = True
            .Characters.Load("merlin", "merlin.acs")   /导入精灵么林(Merlin)
            agentCharacter = .Characters("merlin")
        End With

        ' 使用位置属性将精灵放置在窗体的左上角.
        With agentCharacter
            .MoveTo(CShort(Me.Location.X + 420), CShort(Me.Location.Y + 130))
            .Show()
            .Play("Announce")   // Announce 是精灵的一种行为“吹喇叭”
            .Speak("Hello, my name is Merlin. " & _
                "Welcome to the Office Automation Demo!")
            .Play("GestureRight")   // GestureRight是精灵的一种行为“请”
            .Play("wave")   // GestureRight是精灵的一种行为“招手”
           'You can make Merlin's speech sound more natural by inserting speech
            ' output tags like Pau (Pause), Chr (Character of the Voice),
            ' Emp (Emphasis) or Spd (Speed). Surround each name-value pair with a
            ' backslash character. 
            .Speak("Make me say something,\pau=300\or\pau=500\...")
            .MoveTo(CShort(Me.Location.X + 340), CShort(Me.Location.Y + 250))
            .Play("GestureRight")
            .Speak("...try out some of my animations.")
        End With

   End Sub