using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Data;
|
using System.Drawing;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using System.Windows.Forms;
|
|
namespace LB_VisionControl.ScriptEditControl.FastColorTextBox
|
{
|
public partial class GoToForm : Form
|
{
|
public int SelectedLineNumber { get; set; }
|
public int TotalLineCount { get; set; }
|
|
public GoToForm()
|
{
|
InitializeComponent();
|
}
|
protected override void OnLoad(EventArgs e)
|
{
|
base.OnLoad(e);
|
this.lb_LineInput.Text = String.Format("Line number (1 - {0}):", this.TotalLineCount);
|
this.txt_LineInput.DataBindings.Add("Text", this, "SelectedLineNumber", true, DataSourceUpdateMode.OnPropertyChanged);
|
}
|
}
|
}
|