Ejemplo n.º 1
0
 public ItemCheckBox()
 {
     this.m_ThreeState = true;
     this.m_checkBoxLocation = RescoCheckBoxLocation.Left;
     this.m_ia = new ImageAttributes();
     Color white = Color.White;
     this.m_ia.SetColorKey(white, white);
 }
Ejemplo n.º 2
0
 public ItemCheckBox(string Label)
 {
     this.m_ThreeState = true;
     this.m_checkBoxLocation = RescoCheckBoxLocation.Left;
     this.Label = Label;
     this.m_ia = new ImageAttributes();
     Color pixel = ((Bitmap) Resco.Controls.DetailView.DetailView.BmpCheckTrue).GetPixel(0, 0);
     this.m_ia.SetColorKey(pixel, pixel);
 }
Ejemplo n.º 3
0
        public ItemCheckBox()
        {
            this.m_ThreeState       = true;
            this.m_checkBoxLocation = RescoCheckBoxLocation.Left;
            this.m_ia = new ImageAttributes();
            Color white = Color.White;

            this.m_ia.SetColorKey(white, white);
        }
Ejemplo n.º 4
0
        public ItemCheckBox(string Label)
        {
            this.m_ThreeState       = true;
            this.m_checkBoxLocation = RescoCheckBoxLocation.Left;
            this.Label = Label;
            this.m_ia  = new ImageAttributes();
            Color pixel = ((Bitmap)Resco.Controls.DetailView.DetailView.BmpCheckTrue).GetPixel(0, 0);

            this.m_ia.SetColorKey(pixel, pixel);
        }
Ejemplo n.º 5
0
 public ItemCheckBox(Item toCopy)
     : base(toCopy)
 {
     this.m_ThreeState = true;
     this.m_checkBoxLocation = RescoCheckBoxLocation.Left;
     if (toCopy is ItemCheckBox)
     {
         this.ThreeState = ((ItemCheckBox) toCopy).ThreeState;
         this.CheckState = ((ItemCheckBox) toCopy).CheckState;
         this.QuickChange = ((ItemCheckBox) toCopy).QuickChange;
     }
     base.m_Text = toCopy.Text;
     this.m_ia = new ImageAttributes();
     Color pixel = ((Bitmap) Resco.Controls.DetailView.DetailView.BmpCheckTrue).GetPixel(0, 0);
     this.m_ia.SetColorKey(pixel, pixel);
 }
Ejemplo n.º 6
0
        public ItemCheckBox(Item toCopy) : base(toCopy)
        {
            this.m_ThreeState       = true;
            this.m_checkBoxLocation = RescoCheckBoxLocation.Left;
            if (toCopy is ItemCheckBox)
            {
                this.ThreeState  = ((ItemCheckBox)toCopy).ThreeState;
                this.CheckState  = ((ItemCheckBox)toCopy).CheckState;
                this.QuickChange = ((ItemCheckBox)toCopy).QuickChange;
            }
            base.m_Text = toCopy.Text;
            this.m_ia   = new ImageAttributes();
            Color pixel = ((Bitmap)Resco.Controls.DetailView.DetailView.BmpCheckTrue).GetPixel(0, 0);

            this.m_ia.SetColorKey(pixel, pixel);
        }