예제 #1
0
        public CompNumCheckSS(String txt, UIGroupNumChecks parent, int id) :
            base(txt, parent, id)
        {
            amTxtLabel.Visibility = Visibility.Collapsed;
            this.Width            = OUTWIDTH;
            this.Height           = OUTHEIGHT;
            this.BorderBrush      = new SolidColorBrush(Color.FromRgb(255, 255, 255));
            this.BorderThickness  = new Thickness(2.0);
            //this.BorderBrush = new SolidColorBrush(Color.FromRgb(0, 255, 0));
            amDigiLabel.Width  = OUTWIDTH;  //40;
            amDigiLabel.Height = OUTHEIGHT; //62;
            //amDigiLabel.BorderThickness = new Thickness(1.0);
            //amDigiLabel.BorderBrush = new SolidColorBrush(Color.FromRgb(0, 55, 0));
            amDigiLabel.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            amDigiLabel.VerticalAlignment   = System.Windows.VerticalAlignment.Top;
            amDigiLabel.FontSize            = 44;
            amDigiLabel.Padding             = new Thickness(0);
            amDigiLabel.Margin = DEF_MARGIN_THICKNESS;

            amBorder.BorderBrush = new SolidColorBrush(Color.FromRgb(0, 0, 0));
        }
예제 #2
0
 public CompNumCheckOS(String txt, UIGroupNumChecks parent, int id) : base(txt, parent, id)
 {
     //nothing need to be done
     amBorder.BorderThickness = new System.Windows.Thickness(2);
 }