void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindowHelpWdw = ((WordSearch.MainWindowHelp)(target)); return; case 2: this.sizeTitleLbl = ((System.Windows.Controls.Label)(target)); return; case 3: this.sizeTextLbl = ((System.Windows.Controls.Label)(target)); return; case 4: this.difficultyTitleLbl = ((System.Windows.Controls.Label)(target)); return; case 5: this.difficultyTextLbl = ((System.Windows.Controls.Label)(target)); return; case 6: this.generateTitleLbl = ((System.Windows.Controls.Label)(target)); return; case 7: this.generateTextLbl = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
private void getSizeHelpBtn_Click(object sender, RoutedEventArgs e) { MainWindowHelp helpWindow = new MainWindowHelp(); helpWindow.Show(); }