Exemplo n.º 1
0
        public void SelectValue(object sender, EventArgs e)
        {
            int[] rows = CityView.GetSelectedRows();

            SelectedValue = Convert.ToInt32(CityView.GetRowCellValue(rows[0], "Id"));
            SelectedCode  = CityView.GetRowCellValue(rows[0], "Name").ToString();
            SelectedText  = CityView.GetRowCellValue(rows[0], "Name").ToString();

            Hide();
        }