mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-12-24 11:53:08 +00:00
37 lines
728 B
C#
37 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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|