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

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

            #line 54 "..\..\Delete Base.xaml"
                this.DeleteBaseText.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\Delete Base.xaml"
                this.DeleteBaseButton.Click += new System.Windows.RoutedEventHandler(this.DeleteBaseButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        } /*Вывод окна для добавления новой записи в БД ПО*/

        private void DeleteBase_Click(object sender, RoutedEventArgs e)
        {
            Delete_Base DeletePage = new Delete_Base();

            DeletePage.Show();
        } /*Вывод окна для удаления записи в БД ПО*/