zoukankan      html  css  js  c++  java
  • TextBox中去掉边框、asp.net中实现行间距的代码

      <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;

  • 相关阅读:
    集合框架
    hashtable
    测试3
    opcache的威力
    信息的信息
    php blog to explore
    BEHAT安装
    Failed to start: SocketListener0@0.0.0.0:4444
    模板方法设计模式
    mysqldump
  • 原文地址:https://www.cnblogs.com/QiuJL/p/4524342.html
Copyright © 2011-2022 走看看