Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((SQLDependency.MainWindow)(target));
                return;

            case 2:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((SQLDependency.MainWindow)(target));

            #line 7 "..\..\MainWindow - Copy.xaml"
                this.root.Loaded += new System.Windows.RoutedEventHandler(this.root_Loaded);

            #line default
            #line hidden
                return;

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