Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowSet = ((ПанельЕИИС.Window1)(target));

            #line 8 "..\..\Window1.xaml"
                this.WindowSet.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowSet_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.butOpen = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\Window1.xaml"
                this.butOpen.Click += new System.Windows.RoutedEventHandler(this.butOpen_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.DataGrid1 = ((System.Windows.Controls.DataGrid)(target));

            #line 57 "..\..\Window1.xaml"
                this.DataGrid1.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DataGrid1_LoadingRow);

            #line default
            #line hidden
                return;

            case 5:
                this.butOfXML = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\Window1.xaml"
                this.butOfXML.Click += new System.Windows.RoutedEventHandler(this.butOfXML_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.butSave = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\Window1.xaml"
                this.butSave.Click += new System.Windows.RoutedEventHandler(this.butSave_Click);

            #line default
            #line hidden
                return;

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

            #line 104 "..\..\Window1.xaml"
                this.butParsIcons.Click += new System.Windows.RoutedEventHandler(this.butParsIcons_Click);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\Window1.xaml"
                this.butClose.Click += new System.Windows.RoutedEventHandler(this.butClose_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.butMax = ((System.Windows.Controls.Button)(target));

            #line 122 "..\..\Window1.xaml"
                this.butMax.Click += new System.Windows.RoutedEventHandler(this.butMax_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.butMin = ((System.Windows.Controls.Button)(target));

            #line 125 "..\..\Window1.xaml"
                this.butMin.Click += new System.Windows.RoutedEventHandler(this.butMin_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.txtBlockErr = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.butUpd = ((System.Windows.Controls.Button)(target));

            #line 129 "..\..\Window1.xaml"
                this.butUpd.Click += new System.Windows.RoutedEventHandler(this.butUpd_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.txtBlockSave = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }