void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DeleteFavoritesPage = ((УП_Ver2.DeleteFavorites_page)(target)); return; case 2: this.DeleteFavorites_Textbox = ((System.Windows.Controls.TextBox)(target)); #line 55 "..\..\DeleteFavorites_page.xaml" this.DeleteFavorites_Textbox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DeleteFavorites_Textbox_PreviewTextInput); #line default #line hidden return; case 3: this.DeleteFavorites_Button = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\DeleteFavorites_page.xaml" this.DeleteFavorites_Button.Click += new System.Windows.RoutedEventHandler(this.DeleteFavorites_Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
private void DeleteFavorites_Click(object sender, RoutedEventArgs e) { DeleteFavorites_page OpenDeleteFavorites_Page = new DeleteFavorites_page(); OpenDeleteFavorites_Page.Show(); } //Открыть окно удаления избранного