コード例 #1
0
 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>());
 }
コード例 #2
0
 private void InitializeFields()
 {
     cbPagamento.DataSource    = CommonBusiness.EnumToList <StatusPagamento>();
     cbStatusCalcao.DataSource = CommonBusiness.EnumToList <StatusCalcao>();
     cbSexo.DataSource         = CommonBusiness.EnumToList <Sexo>();
     gbAtualizacao.Text       += Locatario.IdLocatario.ToString() + " ";
 }
コード例 #3
0
        public void InitializeFields()
        {
            List <string> combo = new List <string>();

            gbAtualizacao.Text += Quarto.IdQuarto.ToString() + " ";

            cbStatus.DataSource   = CommonBusiness.EnumToList <StatusQuarto>();
            cbStatus.SelectedItem = cbStatus.Items[2];
        }
コード例 #4
0
        public void FillComboBox()
        {
            List <string> combo = new List <string>()
            {
                "Todos"
            };

            combo.AddRange(CommonBusiness.EnumToList <StatusQuarto>());
            cbStatus.DataSource = combo;
        }
コード例 #5
0
 public void FillComboBox()
 {
     cbAmbiente.DataSource = new List <string>(CommonBusiness.EnumToList <Ambiente>());
 }
コード例 #6
0
 private void InitializeFields()
 {
     cbMes.DataSource   = new List <string>(CommonBusiness.EnumToList <Mes>());
     cbMes.SelectedItem = cbMes.Items[0];
 }
コード例 #7
0
 public void InitializeFiels()
 {
     mtbRua.Focus();
     cbTipoConta.DataSource = CommonBusiness.EnumToList <StatusConta>();
 }
コード例 #8
0
 public void InitializeFields()
 {
     cbStatus.DataSource   = new List <string>(CommonBusiness.EnumToList <StatusQuarto>());
     cbStatus.SelectedItem = cbStatus.Items[2];
 }