Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DeletePage = ((УП_Ver2.DeleteNotes)(target));
                return;

            case 2:
                this.DeleteNotes_Textbox = ((System.Windows.Controls.TextBox)(target));

            #line 54 "..\..\DeleteNotes.xaml"
                this.DeleteNotes_Textbox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DeleteNotes_Textbox_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 3:
                this.DeleteNotes_Button = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\DeleteNotes.xaml"
                this.DeleteNotes_Button.Click += new System.Windows.RoutedEventHandler(this.DeleteNotes_Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        } //Открыть окно добавления заметок

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            DeleteNotes deleteNotes_page = new DeleteNotes();

            deleteNotes_page.Show();
        } //Открыть окно удаления заметок