internal void ApplySettings(TableLayoutSettings settings)
 {
     if (settings.IsStub)
     {
         if (!this.IsStub)
         {
             settings._stub.ApplySettings(this);
         }
         else
         {
             this._stub = settings._stub;
         }
     }
 }
Exemple #2
0
 internal void ApplySettings(TableLayoutSettings settings)
 {
     if (settings.IsStub)
     {
         if (!this.IsStub)
         {
             settings._stub.ApplySettings(this);
         }
         else
         {
             this._stub = settings._stub;
         }
     }
 }
Exemple #3
0
 internal void ApplySettings(TableLayoutSettings settings)
 {
     if (settings.IsStub)
     {
         if (!IsStub)
         {
             // we're the real-live thing here, gotta walk through and touch controls
             settings._stub.ApplySettings(this);
         }
         else
         {
             // we're just copying another stub into us, just replace the member
             _stub = settings._stub;
         }
     }
 }
Exemple #4
0
 // used by TableLayoutSettingsTypeConverter
 internal TableLayoutSettings() : base(null)
 {
     _stub = new TableLayoutSettingsStub();
 }
 internal TableLayoutSettings() : base(null)
 {
     this._stub = new TableLayoutSettingsStub();
 }
 internal void ApplySettings(TableLayoutSettings settings) {
     if (settings.IsStub) {
         if (!IsStub) {
            // we're the real-live thing here, gotta walk through and touch controls
            settings._stub.ApplySettings(this);
         }
         else {
            // we're just copying another stub into us, just replace the member
            _stub = settings._stub;
         }
     }
    
 }