Пример #1
0
 private void indexarFormulario(SqlQueryIts consulta)
 {
     if (consulta != null)
     {
         txtCodQuery.Text   = consulta.CodigoQuery;
         txtNomeQuery.Text  = consulta.NomeQuery;
         memCorpoQuery.Text = consulta.CorpoQuery;
     }
 }
Пример #2
0
        private SqlQueryIts indexarConsulta()
        {
            SqlQueryIts cons = new SqlQueryIts()
            {
                CodigoQuery = txtCodQuery.Text,
                NomeQuery   = txtNomeQuery.Text,
                CorpoQuery  = memCorpoQuery.Text
            };

            return(cons);
        }
Пример #3
0
 public XFrmAddConsultaSQL(SqlQueryIts selectedQuery) : this()
 {
     this.selectedQuery = selectedQuery;
     indexarFormulario(selectedQuery);
 }