如何编写插件程序 [英] How to write plugin program

查看:95
本文介绍了如何编写插件程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个支持插件的应用程序作为Adobe Photoshop。现在我正在编写简单的应用程序:

主程序具有求和,减法,除法等功能。

插件使用公式:(a + b)/ c。

它从主程序中调用函数。我不知道怎么做

I want to make an application that supports plugin as Adobe Photoshop.Now I'm writing the simple application:
the main program have functions such as sum,subtraction,division.
the plugin use a formula: (a+b)/c.
It call functions from the main program.I don't how to do that

推荐答案

开始学习托管可扩展性框架 [ ^ ] ...
Start learning Managed Extensibility Framework[^]...


这里有一个如何做到这一点的例子:

如何在C#中创建一个简单的插件系统 [ ^ ]
There is an example of how to do this here:
How to create an easy plugin-system in C#[^]


这篇关于如何编写插件程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆