sfApplication.cs
上传用户:lctyggxszx
上传日期:2022-06-30
资源大小:280k
文件大小:1k
- using System;
- using System.Collections;
- using System.ComponentModel;
- using System.Windows.Forms;
- using AxShockwaveFlashObjects;
- namespace SharpFlash
- {
- /// <summary>
- /// Summary description for sfApplication.
- /// </summary>
- public class sfApplication
- {
- //These libraries can be static for now.. depends on what their use is.
- public sfApplication()
- {
-
- }
- //Handles any command.. Will exist for any library - main library "loop"
- public static void Command(Form form, AxShockwaveFlash flashApp, string list, String method)
- {
- switch(method)
- {
- case "exit":
- sfApplication.exit();
- break;
- }
- }
- public static void exit()
- {
- Application.Exit();
- }
- }
- }