Ejemplo n.º 1
0
        void ComboBoxVendorSelectedIndexChanged(object sender, EventArgs e)
        {
            Vendor vendor = SwfUtility.GetComboBoxValue <Vendor>(comboBoxVendor);

            if (vendor != null)
            {
                richTextBoxAddress.Text = vendor.Address;
            }
        }
Ejemplo n.º 2
0
        void ComboBoxTypeSelectedIndexChanged(object sender, EventArgs e)
        {
            ItemType t = SwfUtility.GetComboBoxValue <ItemType>(comboBoxType);

            if (t != null)
            {
                labelType.Text = t.Description;
            }
        }
Ejemplo n.º 3
0
        void ComboBoxLegalCountrySelectedIndexChanged(object sender, EventArgs e)
        {
            Country c = SwfUtility.GetComboBoxValue <Country>(comboBoxLegalCountry);

            if (c != null)
            {
                SwfUtility.SetupComboBox(comboBoxState, c.States, "Id", "ShortName", company.State);
            }
        }