コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MarqueeTextControl = ((Whatsapp.Desktop.Presentation.UserControls.MarqueeText)(target));
                return;

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

            case 3:
                this.tbmarquee = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }