private void btn_regNanny_Click(object sender, EventArgs e)
        {
            regpanel.Hide();
            Reg2 r2 = new Reg2();

            r2.Show();
        }
Exemplo n.º 2
0
        private void alergias(string codigo)
        {
            NpgsqlConnection Cnx = new NpgsqlConnection();

            Cnx.ConnectionString = parametros;
            try
            {
                Cnx.Open();                                                                                                                                       //Aqui
                string           strSQL2 = "SELECT lista_alergias.nombre as name FROM administracion.lista_alergias INNER JOIN pacientes.alergias ON alergias.idalergia = lista_alergias.idalergia WHERE alergias.idpaciente = '" + codigo + "' AND alergias.idalergia = lista_alergias.idalergia GROUP BY lista_alergias.nombre";
                NpgsqlDataReader Reg2;
                NpgsqlCommand    Comando2 = new NpgsqlCommand(strSQL2, Cnx);
                Reg2 = Comando2.ExecuteReader();
                while (Reg2.Read())
                {
                    string tmp = Reg2["name"].ToString();
                    datagrida.Rows.Add(tmp);
                }
                Cnx.Close();
            }
            catch (Exception Ex)
            {
                MessageBox.Show(Ex.Message);
            }
        }
Exemplo n.º 3
0
 public GridCon2(Vec2i GridSize, IConnectable2 Parent, Reg2 Region) : this(GridSize, Parent, Region.GetSize(), Region.GetPosition())
 {
 }
Exemplo n.º 4
0
 public GridCon2(Vec2i GridSize, Reg2 Region) : this(GridSize, Region.GetSize(), Region.GetPosition())
 {
 }
Exemplo n.º 5
0
 public TextEnt2(IConnectable2 Parent, Reg2 Region) : base(Parent, Region) => this.pInitClass();
Exemplo n.º 6
0
 public TextEnt2(Reg2 Region) : base(Region) => this.pInitClass();
Exemplo n.º 7
0
 public SprEnt2(IConnectable2 Parent, Reg2 Region) : base(Parent, Region)
 {
 }
Exemplo n.º 8
0
 public SprEnt2(Reg2 Region) : base(Region)
 {
 }
Exemplo n.º 9
0
 public Ent2(IConnectable2 Parent, Reg2 Region) : this(Parent, Region.GetSize(), Region.GetPosition())
 {
 }
Exemplo n.º 10
0
 public Ent2(Reg2 Region) : this(Region.GetSize(), Region.GetPosition())
 {
 }
Exemplo n.º 11
0
 public LayoutCon2(IConnectable2 Parent, Reg2 Region) : base(Parent, Region) => this.InitClass();
Exemplo n.º 12
0
 public LayoutCon2(Reg2 Region) : base(Region) => this.InitClass();