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

            case 2:
                this.VolumeSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 3:
                this.VolumeTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BlueprintComboBox = ((EveOnlineTool.UserInterface.Controls.BlueprintsComboBox)(target));
                return;

            case 2:
                this.ContractTypeComboBox = ((EveOnlineTool.UserInterface.Controls.ContractTypeComboBox)(target));
                return;

            case 3:
                this.MaterialsDeliveredCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.BlueprintDeliveredCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.OrderVolumeTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.PriceTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.EnablePartitionCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.DescriptionTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }