void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FormAddComputer = ((WpfMakeev2.AddCompoter)(target));
                return;

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

            case 3:
                this.txtFIO = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.cmbStatus = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.cmbDep = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.cmbOrg = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\AddCompoter.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\AddCompoter.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        private void btnAddComputer_Click(object sender, RoutedEventArgs e)
        {
            AddCompoter addCompoter = new AddCompoter();

            addCompoter.Show();
        }