JD2022-TU1/main/tools/framework/JD.Timeline/View/ClipView/Widgets/SoundwichClipWithIdWidget.cs

24 lines
569 B
C#

using System.Windows.Forms;
using JD.Serialization;
namespace JD.Timeline.View.ClipView.Widgets
{
class SoundwichClipWithIdWidget : ClipWidget
{
public SoundwichClipWithIdWidget(SoundwichClipWithId model)
: base(model)
{
}
public new SoundwichClipWithId Model
{
get { return (SoundwichClipWithId)base.Model; }
}
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
DrawText(e.Graphics, "", Model.ToString(), 0);
}
}
}