void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.scv = ((System.Windows.Controls.ScrollViewer)(target)); return; case 3: this.gt = ((MisiekPodejscieNrJeden.GeneticTree)(target)); return; } this._contentLoaded = true; }