コード例 #1
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;
        }