Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((RTSP_Player.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.MainWindow1.Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow1_Closing);

            #line default
            #line hidden
                return;

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

            case 3:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainWindow1 = ((RTSP_Player.MainWindow)(target));
     
     #line 8 "..\..\MainWindow.xaml"
     this.MainWindow1.Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow1_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.menu = ((System.Windows.Controls.Menu)(target));
     return;
     }
     this._contentLoaded = true;
 }