コード例 #1
0
        public KimSoftWebCalendar()
        {
            IsChinese = true;
            BeginYear = 1900;
            EndYear   = DateTime.Now.Year + 100;

            CurWord     = ContorlCommon.ColorStringToColor("#FFFFFF");
            CurBg       = ContorlCommon.ColorStringToColor("#00FF00");
            SunWord     = ContorlCommon.ColorStringToColor("#FF0000");
            SatWord     = ContorlCommon.ColorStringToColor("#0000FF");
            TdWordLight = ContorlCommon.ColorStringToColor("#333333");
            TdWordDark  = ContorlCommon.ColorStringToColor("#CCCCCC");
            TdBgOut     = ContorlCommon.ColorStringToColor("#EFEFEF");
            TdBgOver    = ContorlCommon.ColorStringToColor("#FFCC00");
            TrWord      = ContorlCommon.ColorStringToColor("#FFFFFF");
            TrBg        = ContorlCommon.ColorStringToColor("#666666");
            InputBorder = ContorlCommon.ColorStringToColor("#CCCCCC");
            InputBg     = ContorlCommon.ColorStringToColor("#EFEFEF");
            this.Width  = 100;
            this.Height = 20;
            InitTextControl();

            // ((WebControl)this.Page.FindControl(this.ID)).Height = 20;
        }