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

            case 2:
                this.PART_TextBox = ((Imagin.Common.TextBox)(target));
                return;

            case 3:
                this.PART_ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Input = ((Imagin.Common.TextBox)(target));
                return;

            case 2:

            #line 23 "..\..\..\Controls\InputWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close);

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