le (-1 != sr.Peek())
{
strBuilder.Append(sr.ReadLine()+" ");
}
strResult = strBuilder.ToString();
}
catch(Exception exp)
{
strResult = "错误:" + exp.Message ;
}
return strResult ;
}
//退出
protected void mnuExit_Click (object sender, System.EventArgs e)
{
if (MessageBox.Show("真的退出吗?" , "退出系统" , MessageBox.YesNo) == DialogResult.Yes)
{
this.Close () ;
}
}
//主函数
public static void Main(string[] args)
{
Application.Run(new Form1());
}
}
}
{
strBuilder.Append(sr.ReadLine()+" ");
}
strResult = strBuilder.ToString();
}
catch(Exception exp)
{
strResult = "错误:" + exp.Message ;
}
return strResult ;
}
//退出
protected void mnuExit_Click (object sender, System.EventArgs e)
{
if (MessageBox.Show("真的退出吗?" , "退出系统" , MessageBox.YesNo) == DialogResult.Yes)
{
this.Close () ;
}
}
//主函数
public static void Main(string[] args)
{
Application.Run(new Form1());
}
}
}