コード例 #1
0
        private void OnPickerSelectedIndexChanged(object sender, EventArgs e)
        {
            Picker picker = sender as Picker;

            if (picker.Equals(picker_comp_1))
            {
                selected_company_1 = picker.SelectedItem.ToString();
            }
            else if (picker.Equals(picker_comp_2))
            {
                selected_company_2 = picker.SelectedItem.ToString();
            }
            else
            {
                quote = picker.SelectedItem.ToString();
            }
        }