mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-12-25 04:13:07 +00:00
36 lines
728 B
C#
36 lines
728 B
C#
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;
|
|
}
|
|
}
|
|
}
|