コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((WpfApp1.StartWindow)(target));
                return;

            case 2:
                this.image2 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((WpfApp1.StartWindow)(target));

            #line 20 "..\..\StartWindow.xaml"
                this.window.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.image2 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }