blob: 6afee4f22f30e9c5537e50ab38806483f6020498 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
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; }
}
}
|