Switch-Toolbox/Switch_FileFormatsMain/FileFormats/BCRES/Wrappers/CMDLWrapper.cs

37 lines
728 B
C#
Raw Normal View History

2019-05-09 18:49:11 +00:00
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Switch_Toolbox.Library;
using BcresLibrary;
namespace FirstPlugin
{
public class CMDLWrapper : STGenericModel
{
public CMDLWrapper()
{
ImageKey = "Model";
SelectedImageKey = "Model";
}
public CMDLWrapper(Model model) : base() { LoadModel(model); }
internal Model Model;
public override void OnClick(TreeView treeview)
{
}
public void LoadModel(Model model)
{
Model = model;
Text = model.Name;
}
}
}