You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
704 B
26 lines
704 B
using OpenDBDiff.Abstractions.Schema.Model;
|
|
using System;
|
|
|
|
namespace OpenDBDiff.Abstractions.Ui
|
|
{
|
|
public class OptionControl : System.Windows.Forms.UserControl
|
|
{
|
|
public event OptionEventHandler OptionSaved;
|
|
public delegate void OptionEventHandler(IOption option);
|
|
public new virtual void Load(IOption option)
|
|
{
|
|
throw new NotImplementedException("Load option not implemented");
|
|
}
|
|
|
|
public virtual void Save()
|
|
{
|
|
throw new NotImplementedException("Save not implemented");
|
|
}
|
|
|
|
protected virtual void FireOptionChanged(IOption option)
|
|
{
|
|
OptionSaved?.Invoke(option);
|
|
}
|
|
}
|
|
}
|