public void InitializeFields() { cbMes.DataSource = new List <string>(CommonBusiness.EnumToList <Mes>()); cbPagamento.DataSource = new List <string>(CommonBusiness.EnumToList <StatusPagamento>()); cbStatusCalcao.DataSource = new List <string>(CommonBusiness.EnumToList <StatusCalcao>()); cbSexo.DataSource = new List <string>(CommonBusiness.EnumToList <Sexo>()); }
private void InitializeFields() { cbPagamento.DataSource = CommonBusiness.EnumToList <StatusPagamento>(); cbStatusCalcao.DataSource = CommonBusiness.EnumToList <StatusCalcao>(); cbSexo.DataSource = CommonBusiness.EnumToList <Sexo>(); gbAtualizacao.Text += Locatario.IdLocatario.ToString() + " "; }
public void InitializeFields() { List <string> combo = new List <string>(); gbAtualizacao.Text += Quarto.IdQuarto.ToString() + " "; cbStatus.DataSource = CommonBusiness.EnumToList <StatusQuarto>(); cbStatus.SelectedItem = cbStatus.Items[2]; }
public void FillComboBox() { List <string> combo = new List <string>() { "Todos" }; combo.AddRange(CommonBusiness.EnumToList <StatusQuarto>()); cbStatus.DataSource = combo; }
public void FillComboBox() { cbAmbiente.DataSource = new List <string>(CommonBusiness.EnumToList <Ambiente>()); }
private void InitializeFields() { cbMes.DataSource = new List <string>(CommonBusiness.EnumToList <Mes>()); cbMes.SelectedItem = cbMes.Items[0]; }
public void InitializeFiels() { mtbRua.Focus(); cbTipoConta.DataSource = CommonBusiness.EnumToList <StatusConta>(); }
public void InitializeFields() { cbStatus.DataSource = new List <string>(CommonBusiness.EnumToList <StatusQuarto>()); cbStatus.SelectedItem = cbStatus.Items[2]; }