<asp:TextBox ID="txtshow1" runat="server" ForeColor="Yellow"
FontStyle="Normal" Font-Names="微软雅黑" Text="" BackColor="Red"
ReadOnly="True" BorderStyle="None" style= "text-align:center "
Width="1440px"></asp:TextBox>
//其中BorderStyle="None" 就是可以去掉TextBox中边框中的效果的代码
//asp.net中实现行间距的代码
textBlock1.Padding = new Thickness(Int32.Parse(width1));
textBlock2.Padding = new Thickness(Int32.Parse(width2));
textBlock3.Padding = new Thickness(Int32.Parse(width3));
this.WindowStyle = WindowStyle.None;
this.WindowState = WindowState.Maximized;