Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((WindowChromeSample.MainWindow)(target));

            #line 4 "..\..\MainWindow.xaml"
                this.window.StateChanged += new System.EventHandler(this.window_StateChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((WindowChromeSample.MainWindow)(target));
     
     #line 4 "..\..\MainWindow.xaml"
     this.window.StateChanged += new System.EventHandler(this.window_StateChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }