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

            case 2:
                this.ValueGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.ValueText = ((SunflyStation.Theme.Control.NumTextBox)(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;
        }