Ejemplo n.º 1
0
 /// <summary>
 /// Copy constructor. This method duplicate all the reference field (Image, Font, StringFormat) creating a new instance.
 /// </summary>
 /// <param name="p_Source"></param>
 public CheckBox(CheckBox p_Source) : base(p_Source)
 {
     m_CheckBoxAlignment = p_Source.m_CheckBoxAlignment;
     ElementCheckBox     = (DevAge.Drawing.VisualElements.ICheckBox)ElementCheckBox.Clone();
 }
Ejemplo n.º 2
0
 private void ElementCheckBox_Checked(object sender, RoutedEventArgs e)
 {
     ElementTextBox.IsEnabled = ElementCheckBox.IsChecked();
     OnCheckedChanged();
 }