void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((Testownik.AddEditQuestion)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((Testownik.AddEditQuestion)(target)); return; case 2: this.QuestionContent = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.answerListView = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }