Beispiel #1
0
 public TestInheritence8(bool init)
 {
     derived2DC       = new Derived2DC(true);
     baseDC           = new BaseDC(true);
     baseDC.data      = derived2DC.data;
     derived2DC.Data  = "String1";
     baseDC.Data      = derived2DC.Data;
     baseDC.data      = derived2DC.data1;
     derived2DC.Data1 = "String2";
     baseDC.Data      = derived2DC.Data1;
 }
Beispiel #2
0
 public TestInheritence7(bool init)
 {
     baseDC          = new BaseDC(true);
     derived2DC      = new Derived2DC(true);
     derived2DC.data = baseDC.data;
     baseDC.Data     = "String1";
     derived2DC.Data = baseDC.Data;
     derived2DC.data = baseDC.data2;
     baseDC.Data2    = "String2";
     derived2DC.Data = baseDC.Data2;
 }
Beispiel #3
0
 public TestInheritence8(bool init)
 {
     derived2DC       = new Derived2DC(true);
     baseDC           = new BaseDC(true);
     baseDC.data      = derived2DC.data;
     derived2DC.Data  = new DateTime().ToLongTimeString();
     baseDC.Data      = derived2DC.Data;
     baseDC.data      = derived2DC.data1;
     derived2DC.Data1 = new DateTime().ToLongTimeString();
     baseDC.Data      = derived2DC.Data1;
 }
Beispiel #4
0
 public TestInheritence7(bool init)
 {
     baseDC          = new BaseDC(true);
     derived2DC      = new Derived2DC(true);
     derived2DC.data = baseDC.data;
     baseDC.Data     = new DateTime().ToLongTimeString();
     derived2DC.Data = baseDC.Data;
     derived2DC.data = baseDC.data2;
     baseDC.Data2    = new DateTime().ToLongTimeString();
     derived2DC.Data = baseDC.Data2;
 }
Beispiel #5
0
 public TestInheritence6(bool init)
 {
     baseDC           = new BaseDC(true);
     derivedDC        = new DerivedDC(true);
     derived2DC       = new Derived2DC(true);
     derived2DC.data  = derivedDC.data;
     derivedDC.Data   = "String1";
     derived2DC.Data  = derivedDC.Data;
     derived2DC.data  = derivedDC.data3;
     derivedDC.Data3  = "String2";
     derived2DC.Data  = derivedDC.Data3;
     derived2DC.data4 = derivedDC.data1;
     derivedDC.Data1  = "String3";
     derived2DC.Data4 = derivedDC.Data1;
     derived2DC.data1 = derived2DC.data2;
     derived2DC.Data2 = "String4";
     derived2DC.Data1 = derived2DC.Data2;
 }
Beispiel #6
0
 public TestInheritence6(bool init)
 {
     baseDC           = new BaseDC(true);
     derivedDC        = new DerivedDC(true);
     derived2DC       = new Derived2DC(true);
     derived2DC.data  = derivedDC.data;
     derivedDC.Data   = new DateTime().ToLongTimeString();
     derived2DC.Data  = derivedDC.Data;
     derived2DC.data  = derivedDC.data3;
     derivedDC.Data3  = new DateTime().ToLongTimeString();
     derived2DC.Data  = derivedDC.Data3;
     derived2DC.data4 = derivedDC.data1;
     derivedDC.Data1  = new DateTime().ToLongTimeString();
     derived2DC.Data4 = derivedDC.Data1;
     derived2DC.data1 = derived2DC.data2;
     derived2DC.Data2 = new DateTime().ToLongTimeString();
     derived2DC.Data1 = derived2DC.Data2;
 }