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); }
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); }
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); }
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); }
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); }