Esempio n. 1
0
        private void InitialiseDropDowns()
        {
            rule80A.Items.AddRange(Rule80A.GetAll());
            rule80A.SelectedIndex = 0;

            triggerMethod.Items.AddRange(IBSampleApp.types.TriggerMethod.GetAll());
            triggerMethod.SelectedIndex = 0;

            faMethod.Items.AddRange(FaMethod.GetAll());
            faMethod.SelectedIndex = 0;

            ocaType.Items.AddRange(OCAType.GetAll());
            ocaType.SelectedIndex = 0;

            hedgeType.Items.AddRange(HedgeType.GetAll());
            hedgeType.SelectedIndex = 0;

            optionReferencePrice.Items.AddRange(ReferencePriceType.GetAll());
            optionReferencePrice.SelectedIndex = 0;

            volatilityType.Items.AddRange(VolatilityType.GetAll());
            volatilityType.SelectedIndex = 0;

            contractRight.Items.AddRange(ContractRight.GetAll());
            contractRight.SelectedIndex = 0;

            cbPeggedChangeType.SelectedIndex         = 0;
            cbAdjustedOrderType.SelectedIndex        = 0;
            cbAdjustedTrailingAmntUnit.Items[0]      = TrailingAmountUnit.amnt;
            cbAdjustedTrailingAmntUnit.Items[1]      = TrailingAmountUnit.percent;
            cbAdjustedTrailingAmntUnit.SelectedIndex = 0;
        }
Esempio n. 2
0
        private void InitialiseDropDowns()
        {
            rule80A.Items.AddRange(Rule80A.GetAll());
            rule80A.SelectedIndex = 0;

            triggerMethod.Items.AddRange(TriggerMethod.GetAll());
            triggerMethod.SelectedIndex = 0;

            faMethod.Items.AddRange(FaMethod.GetAll());
            faMethod.SelectedIndex = 0;

            ocaType.Items.AddRange(OCAType.GetAll());
            ocaType.SelectedIndex = 0;

            hedgeType.Items.AddRange(HedgeType.GetAll());
            hedgeType.SelectedIndex = 0;

            optionReferencePrice.Items.AddRange(ReferencePriceType.GetAll());
            optionReferencePrice.SelectedIndex = 0;

            volatilityType.Items.AddRange(VolatilityType.GetAll());
            volatilityType.SelectedIndex = 0;

            contractRight.Items.AddRange(ContractRight.GetAll());
            contractRight.SelectedIndex = 0;
        }