Exemplo n.º 1
0
 public TouchDTPRenderer(Control aParent)
 {
     this.m_RollerItems               = new RollerItemCollection();
     this.KWindowFrameRoundSize       = new Size(20, 20);
     this.m_ColorDefaultText          = Color.FromArgb(0x33, 0x33, 0x33);
     this.m_ColorInvertedText         = Color.White;
     this.m_ColorCalendarFrameColor   = KWindowFrameColor;
     this.m_ColorActualItemForeColor  = Color.FromArgb(0x21, 0x58, 0xff);
     this.m_CursorTransparentKeyColor = Color.Magenta;
     this.m_ParentTransparentKeyColor = Color.Pink;
     this.KMargin            = 7;
     this.KSeparatorPenWidth = 1f;
     this.m_CursorLocation   = new Point(0, 0);
     this.m_ShowDayInfo      = true;
     this.m_DayInfoText      = "Monday";
     this.m_DayInfoTextFont  = new Font("Tahoma", 11f, FontStyle.Bold);
     this.m_DayInfoForeColor = Color.White;
     this.m_DayInfoHeight    = 30;
     this.m_Parent           = aParent;
 }
Exemplo n.º 2
0
 public TouchDTPRenderer(Control aParent)
 {
     this.m_RollerItems = new RollerItemCollection();
     this.KWindowFrameRoundSize = new Size(20, 20);
     this.m_ColorDefaultText = Color.FromArgb(0x33, 0x33, 0x33);
     this.m_ColorInvertedText = Color.White;
     this.m_ColorCalendarFrameColor = KWindowFrameColor;
     this.m_ColorActualItemForeColor = Color.FromArgb(0x21, 0x58, 0xff);
     this.m_CursorTransparentKeyColor = Color.Magenta;
     this.m_ParentTransparentKeyColor = Color.Pink;
     this.KMargin = 7;
     this.KSeparatorPenWidth = 1f;
     this.m_CursorLocation = new Point(0, 0);
     this.m_ShowDayInfo = true;
     this.m_DayInfoText = "Monday";
     this.m_DayInfoTextFont = new Font("Tahoma", 11f, FontStyle.Bold);
     this.m_DayInfoForeColor = Color.White;
     this.m_DayInfoHeight = 30;
     this.m_Parent = aParent;
 }