void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.patternGrid = ((PatternAssociator.UserControls.PatternGrid)(target)); return; case 2: this.Pattern = ((System.Windows.Controls.Primitives.UniformGrid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.PatternGrid = ((PatternAssociator.UserControls.PatternGrid)(target)); return; case 2: this.QueryButton = ((System.Windows.Controls.Button)(target)); return; case 3: this.ToTrainingButton = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }