예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.startWindow = ((HangMan.Views.StartWindow)(target));
                return;

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

            case 3:
                this.Start = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\Views\StartWindow.xaml"
                this.Start.Click += new System.Windows.RoutedEventHandler(this.StartClick);

            #line default
            #line hidden
                return;

            case 4:
                this.Close = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\..\Views\StartWindow.xaml"
                this.Close.Click += new System.Windows.RoutedEventHandler(this.CloseClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }