Exemplo n.º 1
0
        public Test_PropertyParser()
        {
            ComplexProp = new ComplexClass1();
            InitializeComponent();
            List <PropertyInfo> props = PropertyParser.getParseableProperties(this.GetType());

            debugCombo.Items.AddRange(props.ToArray());
            debugCombo.SelectedIndex = 0;
        }
Exemplo n.º 2
0
 private void ClearFields()
 {
     IntArrayProp = new int[2];
     ComplexProp  = new ComplexClass1();
     CheckBox     = false;
     Lines        = new string[0];
     StringProp   = "";
     CompList.Clear(); CompList.Add(new ComplexClass2(4, 5)); CompList.Add(null); CompList.Add(new ComplexClass2(6, 7));
     BoolList.Clear(); BoolList.Add(true); BoolList.Add(false); BoolList.Add(true);
     SetDebugDisplays();
 }
Exemplo n.º 3
0
 public Test_PropertyParser()
 {
     ComplexProp = new ComplexClass1();
     InitializeComponent();
     List<PropertyInfo> props = PropertyParser.getParseableProperties(this.GetType());
     debugCombo.Items.AddRange(props.ToArray());
     debugCombo.SelectedIndex = 0;
 }
Exemplo n.º 4
0
 private void ClearFields()
 {
     IntArrayProp = new int[2];
     ComplexProp = new ComplexClass1();
     CheckBox = false;
     Lines = new string[0];
     StringProp = "";
     CompList.Clear(); CompList.Add(new ComplexClass2(4, 5)); CompList.Add(null); CompList.Add(new ComplexClass2(6, 7));
     BoolList.Clear(); BoolList.Add(true); BoolList.Add(false); BoolList.Add(true);
     SetDebugDisplays();
 }