private void textBox_filepath_TextChanged(object sender, EventArgs e) { if (this.textBox_filepath.Lines.Length == 1) { log.Info(LabelName.Replace(":", "").Replace(":", "") + ",载入了: " + this.textBox_filepath.Text); } else { log.Info(LabelName.Replace(":", "").Replace(":", "") + ",载入 " + this.textBox_filepath.Lines.Length + " 条项目:\r\n" + this.textBox_filepath.Text + "\r\n" + this.textBox_filepath.Lines.Length + "条"); } }