... public delegate string MySound(string sound); //声明一个委托 class Program //应用程序主类 public delegate void MyDel(string message); //声明一个委托 ...
基于16个网页-相关网页
第一个参数是应用程序的名称,第三个参数是应用程序主类的完全限定类名。
The first parameter is the name of the application, and the third is the fully qualified class name of the application's main class.
现在开始定义框架类,它代表应用程序中的主窗口。
Now, define a frame class, which will represent the main window of your application.
幸运的是,模拟J VM在运行应用程序的主类时所做的工作是相当容易的。
Fortunately, it's pretty easy to emulate the work done by the JVM in running the main class of your application.
应用推荐