Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((ShreeMehtaPublicity.VIEW.MainWindow)(target));

            #line 14 "..\..\..\VIEW\MainWindow.xaml"
                this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.OnClosing);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.MenuUnderline = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.menuItem_grid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }