//Открытие формы
        private void BtTransportnaya_Nakladnaya_Click(object sender, RoutedEventArgs e)
        {
            Transportnaya_Nakladnaya Transportnaya_Nakladnaya = new Transportnaya_Nakladnaya();

            Transportnaya_Nakladnaya.Show();
            Visibility = Visibility.Collapsed;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Transportnaya_NakladnayaWPF = ((INGWPF.Transportnaya_Nakladnaya)(target));

            #line 8 "..\..\Transportnaya_Nakladnaya.xaml"
                this.Transportnaya_NakladnayaWPF.Loaded += new System.Windows.RoutedEventHandler(this.Transportnaya_NakladnayaWPF_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lblTitle = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.dgTransportnaya_NakladnayaWPF = ((System.Windows.Controls.DataGrid)(target));

            #line 30 "..\..\Transportnaya_Nakladnaya.xaml"
                this.dgTransportnaya_NakladnayaWPF.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.DgTransportnaya_NakladnayaWPF_AutoGeneratingColumn);

            #line default
            #line hidden

            #line 30 "..\..\Transportnaya_Nakladnaya.xaml"
                this.dgTransportnaya_NakladnayaWPF.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgTransportnaya_NakladnayaWPF_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.lblNazv_Transportnoy_Nakladnoy = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.tbNazv_Transportnoy_Nakladnoy = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.lblNomer_Transportnoy_Nakladnoy = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.tbNomer_Transportnoy_Nakladnoy = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.lblAdress_Dostavki = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.tbAdress_Dostavki = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.lblName_Sotrudnika = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.cbName_Sotrudnika = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.lblNomer_of_Dogovor = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.cbNomer_of_Dogovor = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.btTransportnaya_NakladnayaInsertType = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\Transportnaya_Nakladnaya.xaml"
                this.btTransportnaya_NakladnayaInsertType.Click += new System.Windows.RoutedEventHandler(this.BtTransportnaya_NakladnayaInsertType_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btTransportnaya_NakladnayaUpdateType = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\Transportnaya_Nakladnaya.xaml"
                this.btTransportnaya_NakladnayaUpdateType.Click += new System.Windows.RoutedEventHandler(this.BtTransportnaya_NakladnayaUpdateType_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btTransportnaya_NakladnayaDeleteType = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\Transportnaya_Nakladnaya.xaml"
                this.btTransportnaya_NakladnayaDeleteType.Click += new System.Windows.RoutedEventHandler(this.BtTransportnaya_NakladnayaDeleteType_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btClose = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\Transportnaya_Nakladnaya.xaml"
                this.btClose.Click += new System.Windows.RoutedEventHandler(this.BtClose_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.tbSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.btSearch = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\Transportnaya_Nakladnaya.xaml"
                this.btSearch.Click += new System.Windows.RoutedEventHandler(this.BtSearch_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.chbFilter = ((System.Windows.Controls.CheckBox)(target));

            #line 88 "..\..\Transportnaya_Nakladnaya.xaml"
                this.chbFilter.Click += new System.Windows.RoutedEventHandler(this.ChbFilter_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }