public override void Result() { StringBuilder sb = new StringBuilder(); sb.AppendFormat("测试例案个数:{0}" + "\n" + "发现Bug个数:{1}" + "\n" + "需要工作日{2}", CodingLines.ToString(), Bugs.ToString(), WorkDay.ToString()); System.Windows.Forms.MessageBox.Show(sb.ToString()); }