zoukankan      html  css  js  c++  java
  • WebGroupBox[Aspx控件]

         最近一直在学习.netWeb控件开发,以前在C/s中用习惯了GroupBox控件,在如今的asp.net中也想使用这样的现成控件,只不过一直以来没有找到;于是前几天就在想为何自己不写一个这样的控件来使用,今天完成了这个控件,贴出来和大家一起分享和学习。
         详细代码如下:
       
    Code
       控件样式枚举类:
         
    using System;
    using System.Collections.Generic;
    using System.Text;

    namespace MyWebControls
    {
        
    public enum WebGroupStyleColor
        
    {
            nocolor,
            green,
            red,
            Blue,
            Black,
            Yellow,
            SlateGray,
            RosyBrown,
            RoyalBlue,
            SaddleBrown,
            Salmon,
            SeaGreen,
            Sienna,
            Silver,
            SlateBlue,
            SpringGreen,
            Transparent,
            YellowGreen
        }

    }

     1using System;
     2using System.Collections.Generic;
     3using System.Text;
     4
     5namespace MyWebControls
     6{
     7    /// <summary>
     8    /// 定义枚举类型控件样式
     9    /// </summary>

    10    public enum Align
    11    {
    12        /// <summary>
    13        /// center of Align
    14        /// </summary>

    15        center,
    16
    17        /// <summary>
    18        /// left of Align
    19        /// </summary>

    20        left,
    21        /// <summary>
    22        /// right of Align
    23        /// </summary>

    24        right
    25    }

    26}

    27
      我已经做好了被拍砖的心里准备。
  • 相关阅读:
    pyqt中使用matplotlib绘制动态曲线 – pythonic
    pyqt开发教程-搭建环境和开发示例
    QPointer很大程度上避免了野指针(使用if语句判断即可,类似于dynamic_cast),而且使用非常方便 good
    qt5集成libcurl实现tftp和ftp的方法一:搭建环境(五篇文章)
    终于懂了:两个UI组件同时在操作是不可能实现的
    c/s 自动升级(WebService)
    web form中自定义HttpHandler仿mvc
    eclipse plugin 导出插件包
    TaskTracker执行map或reduce任务的过程2
    Jquery多级菜单插件Slimmenu使用说明
  • 原文地址:https://www.cnblogs.com/ziyan22/p/1118654.html
Copyright © 2011-2022 走看看