29 lines
748 B
C#
29 lines
748 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using JD.Reflection.Attributes;
|
|
using JD.TeaBoxAddinSystem.Bootstrap;
|
|
using JD.Timeline.Plugin;
|
|
using JD.Timeline.View.SnipeView;
|
|
using TeaBox.Bootstrap;
|
|
using TeaBox.ObjectModel;
|
|
|
|
namespace DanceEditor
|
|
{
|
|
[Export(typeof(IBootstrapCommand))]
|
|
public class BootstrapPlugin : IBootstrapCommand
|
|
{
|
|
public void Execute()
|
|
{
|
|
TimelinePlugin.Instance = new DanceEditorPlugin();
|
|
DanceEditorPlugin.Instance.Start();
|
|
Application.Main.Quitted += Main_Quitted;
|
|
}
|
|
|
|
void Main_Quitted(object sender, System.EventArgs e)
|
|
{
|
|
DanceEditorPlugin.Instance.Dispose();
|
|
}
|
|
}
|
|
}
|