Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CUSTOMUSERCONTROL = ((ES.UI.CommonControls.MainWindowContainer)(target));
                return;

            case 2:
                this.ShellHeader = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.WindowHeader = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.WindowTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 71 "..\..\..\..\CommonControls\MainWindowContainer.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.MainWindowContainerContent = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CUSTOMUSERCONTROL = ((ES.UI.CommonControls.MainWindowContainer)(target));
     return;
     case 2:
     this.ShellHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.WindowHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.WindowTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.CloseButton = ((System.Windows.Controls.Button)(target));
     
     #line 71 "..\..\..\..\CommonControls\MainWindowContainer.xaml"
     this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.MainWindowContainerContent = ((System.Windows.Controls.ContentControl)(target));
     return;
     }
     this._contentLoaded = true;
 }