Beispiel #1
0
        private void Init_countries()
        {
            List <Country> list = CountryMaster.GetAll_countryList();

            foreach (Country cty in list)
            {
                this.cty_itemID_dic[cty.name] = this.cty_checkedListBox.Items.Count;
                this.cty_checkedListBox.Items.Add(cty.name);
            }
        }
Beispiel #2
0
        public Attribute_Input_form(Security sec, string attrName)
        {
            this.InitializeComponent();

            if (sec == null)
            {
                this.info_label.Text = "No Security Info";
                return;
            }

            this.info_label.Text = "Please input " + attrName + " for Security CUSIP: " + sec.CUSIP.Value;
            this.sec_label.Text  = "Security Name: " + sec.Name.Value;

            List <Country> list = CountryMaster.GetAll_countryList();

            foreach (Country cty in list)
            {
                this.values_comboBox.Items.Add(cty.name);
            }
        }