protected override void OnLoad(EventArgs e) { base.OnLoad(e); tbLineNumber.Text = SelectedLineNumber.ToString(); label.Text = String.Format("Line number (1 - {0}):", TotalLineCount); }