Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._MW_ = ((_12._09._2018.MainWindow)(target));
                return;

            case 2:

            #line 30 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\MainWindow.xaml"
                this.DG.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DG_MouseDoubleClick);

            #line default
            #line hidden

            #line 51 "..\..\..\MainWindow.xaml"
                this.DG.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.DG_MouseUp);

            #line default
            #line hidden
                return;

            case 4:

            #line 53 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\..\MainWindow.xaml"
                this._Kill.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._MW_ = ((_12._09._2018.MainWindow)(target));
                return;

            case 2:
                this.DG = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }