void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wndEditor = (wndThemeEditor)target; return; case 2: this.cbEditorType = (ComboBox)target; this.cbEditorType.SelectionChanged += new SelectionChangedEventHandler(this.cbEditorType_SelectionChanged); return; case 3: this.lvGames = (ListView)target; return; case 4: this.gvcSerial = (GridViewColumn)target; return; case 5: this.spEditor = (StackPanel)target; return; } this._contentLoaded = true; }
void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wndEditor = (wndThemeEditor) target; return; case 2: this.cbEditorType = (ComboBox) target; this.cbEditorType.SelectionChanged += new SelectionChangedEventHandler(this.cbEditorType_SelectionChanged); return; case 3: this.lvGames = (ListView) target; return; case 4: this.gvcSerial = (GridViewColumn) target; return; case 5: this.spEditor = (StackPanel) target; return; } this._contentLoaded = true; }