private void Logs_Load(object sender, EventArgs e) { // Textbox settings for "txtLogFile" txtLogFile.ReadOnly = true; txtLogFile.Text = SimpleLog.GetFileName(DateTime.Now); txtLogFile.Focus(); txtLogFile.SelectionStart = txtLogFile.Text.Length; populate_List(); }