コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mb = ((SunflyStation.Theme.Control.MessageBoxX)(target));
                return;

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

            case 3:
                this.txtMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.btnOK = ((SunflyStation.Theme.Control.FButton)(target));
                return;

            case 5:
                this.btnCancel = ((SunflyStation.Theme.Control.FButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mb = ((SunflyStation.Theme.Control.InputBoxX)(target));
                return;

            case 2:
                this.InputTextBox = ((SunflyStation.Theme.Control.NumTextBox)(target));
                return;

            case 3:
                this.btnOK = ((SunflyStation.Theme.Control.FButton)(target));
                return;

            case 4:
                this.btnCancel = ((SunflyStation.Theme.Control.FButton)(target));
                return;
            }
            this._contentLoaded = true;
        }