rawaccel/grapher/Models/Options/LUT/LUTPointOption.cs
2021-06-09 16:11:18 -07:00

39 lines
863 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace grapher.Models.Options.LUT
{
public class LUTPointOption
{
public LUTPointOption(Form form)
{
FieldX = new Field(new System.Windows.Forms.TextBox(), form, 0);
FieldY = new Field(new System.Windows.Forms.TextBox(), form, 0);
}
public double X { get => FieldX.Data; }
public double Y { get => FieldY.Data; }
public int Top
{
get
{
return FieldX.Top;
}
set
{
FieldX.Top = value;
FieldY.Top = value;
}
}
private Field FieldX { get; }
private Field FieldY { get; }
}
}