diff --git a/.vs/ScheMe-SP/v15/sqlite3/storage.ide b/.vs/ScheMe-SP/v15/sqlite3/storage.ide index 294ea30..0f3a250 100644 Binary files a/.vs/ScheMe-SP/v15/sqlite3/storage.ide and b/.vs/ScheMe-SP/v15/sqlite3/storage.ide differ diff --git a/ScheMe-SP/ScheMe-SP.csproj b/ScheMe-SP/ScheMe-SP.csproj index 025f488..44526d3 100644 --- a/ScheMe-SP/ScheMe-SP.csproj +++ b/ScheMe-SP/ScheMe-SP.csproj @@ -409,15 +409,11 @@ PreserveNewest - - - - - - + + @@ -535,13 +531,6 @@ UserAdmin.aspx - - VAC.aspx - ASPXCodeBehind - - - VAC.aspx - VBMA.aspx ASPXCodeBehind @@ -549,13 +538,6 @@ VBMA.aspx - - VCP.aspx - ASPXCodeBehind - - - VCP.aspx - Visite.aspx ASPXCodeBehind @@ -570,13 +552,6 @@ VL.aspx - - VP.aspx - ASPXCodeBehind - - - VP.aspx - VRF.aspx ASPXCodeBehind @@ -584,26 +559,19 @@ VRF.aspx - - VSV.aspx + + VVSP_12.aspx ASPXCodeBehind - - VSV.aspx + + VVSP_12.aspx - - VVFAnz.aspx + + VVSP_345.aspx ASPXCodeBehind - - VVFAnz.aspx - - - VVFGT.aspx - ASPXCodeBehind - - - VVFGT.aspx + + VVSP_345.aspx mod_elencoRichResetUtenti.ascx diff --git a/ScheMe-SP/VAC.aspx.cs b/ScheMe-SP/VAC.aspx.cs deleted file mode 100644 index ee88045..0000000 --- a/ScheMe-SP/VAC.aspx.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace ScheMe -{ - public partial class VAC : SteamWare.UserPage - { - /// - /// pagina caricata - /// - /// - /// - protected void Page_Load(object sender, EventArgs e) - { - if (!Page.IsPostBack) - { - // verifico se sia con parametro paziente o NEW... - string cmd = Request.QueryString["cmd"]; - if (cmd == "" || cmd == null || cmd == "sel") - { - frmView.ChangeMode(FormViewMode.ReadOnly); - } - else if (cmd == "new") - { - if (isWriteEnabled) - { - frmView.ChangeMode(FormViewMode.Insert); - } - else - { - frmView.ChangeMode(FormViewMode.ReadOnly); - } - } - } - } - /// - /// modo formview cambiato - /// - /// - /// - protected void frmView_ModeChanged(object sender, EventArgs e) - { - } - /// - /// evento delete - /// - /// - /// - protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) - { - Response.Redirect("Visite"); - } - /// - /// variabile per modo pre comando di update mode... - /// - public FormViewMode prevMode { get; set; } - /// - /// evento pre-cambio modo - /// - /// - /// - protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e) - { - prevMode = frmView.CurrentMode; - } - } -} \ No newline at end of file diff --git a/ScheMe-SP/VBMA.aspx.cs b/ScheMe-SP/VBMA.aspx.cs index 7e32f5a..f2fb0bd 100644 --- a/ScheMe-SP/VBMA.aspx.cs +++ b/ScheMe-SP/VBMA.aspx.cs @@ -7,65 +7,65 @@ using System.Web.UI.WebControls; namespace ScheMe { - public partial class VBMA : SteamWare.UserPage + public partial class VBMA : SteamWare.UserPage + { + /// + /// pagina caricata + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) { - /// - /// pagina caricata - /// - /// - /// - protected void Page_Load(object sender, EventArgs e) + if (!Page.IsPostBack) + { + // verifico se sia con parametro paziente o NEW... + string cmd = Request.QueryString["cmd"]; + if (cmd == "" || cmd == null || cmd == "sel") { - if (!Page.IsPostBack) - { - // verifico se sia con parametro paziente o NEW... - string cmd = Request.QueryString["cmd"]; - if (cmd == "" || cmd == null || cmd == "sel") - { - frmView.ChangeMode(FormViewMode.ReadOnly); - } - else if (cmd == "new") - { - if (isWriteEnabled) - { - frmView.ChangeMode(FormViewMode.Insert); - } - else - { - frmView.ChangeMode(FormViewMode.ReadOnly); - } - } - } + frmView.ChangeMode(FormViewMode.ReadOnly); } - /// - /// modo formview cambiato - /// - /// - /// - protected void frmView_ModeChanged(object sender, EventArgs e) + else if (cmd == "new") { + if (isWriteEnabled) + { + frmView.ChangeMode(FormViewMode.Insert); + } + else + { + frmView.ChangeMode(FormViewMode.ReadOnly); + } } - /// - /// evento delete - /// - /// - /// - protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) - { - Response.Redirect("Visite"); - } - /// - /// variabile per modo pre comando di update mode... - /// - public FormViewMode prevMode { get; set; } - /// - /// evento pre-cambio modo - /// - /// - /// - protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e) - { - prevMode = frmView.CurrentMode; - } + } } + /// + /// modo formview cambiato + /// + /// + /// + protected void frmView_ModeChanged(object sender, EventArgs e) + { + } + /// + /// evento delete + /// + /// + /// + protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) + { + Response.Redirect("Visite"); + } + /// + /// variabile per modo pre comando di update mode... + /// + public FormViewMode prevMode { get; set; } + /// + /// evento pre-cambio modo + /// + /// + /// + protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e) + { + prevMode = frmView.CurrentMode; + } + } } \ No newline at end of file diff --git a/ScheMe-SP/VBMA.aspx.designer.cs b/ScheMe-SP/VBMA.aspx.designer.cs index 7682ae1..313b7c7 100644 --- a/ScheMe-SP/VBMA.aspx.designer.cs +++ b/ScheMe-SP/VBMA.aspx.designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ namespace ScheMe { @@ -13,29 +13,29 @@ namespace ScheMe { public partial class VBMA { /// - /// frmView control. + /// Controllo frmView. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.FormView frmView; /// - /// ods control. + /// Controllo ods. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource ods; /// - /// odsFukudaIpot control. + /// Controllo odsFukudaIpot. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource odsFukudaIpot; } diff --git a/ScheMe-SP/VCP.aspx.designer.cs b/ScheMe-SP/VCP.aspx.designer.cs deleted file mode 100644 index f3e9450..0000000 --- a/ScheMe-SP/VCP.aspx.designer.cs +++ /dev/null @@ -1,42 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace ScheMe { - - - public partial class VCP { - - /// - /// frmView control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.FormView frmView; - - /// - /// ods control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ObjectDataSource ods; - - /// - /// odsPlaccheVas control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ObjectDataSource odsPlaccheVas; - } -} diff --git a/ScheMe-SP/VVFAnz.aspx.cs b/ScheMe-SP/VVFAnz.aspx.cs deleted file mode 100644 index 51d2077..0000000 --- a/ScheMe-SP/VVFAnz.aspx.cs +++ /dev/null @@ -1,97 +0,0 @@ -using ScheMe_Data; -using SteamWare; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace ScheMe -{ - public partial class VVFAnz : SteamWare.UserPage - { - int idxPaziente - { - get - { - return memLayer.ML.IntSessionObj("IdxPaziente"); - } - } - /// - /// pagina caricata - /// - /// - /// - protected void Page_Load(object sender, EventArgs e) - { - if (!Page.IsPostBack) - { - // verifico se sia con parametro paziente o NEW... - string cmd = Request.QueryString["cmd"]; - if (cmd == "" || cmd == null || cmd == "sel") - { - frmView.ChangeMode(FormViewMode.ReadOnly); - } - else if (cmd == "new") - { - if (isWriteEnabled) - { - frmView.ChangeMode(FormViewMode.Insert); - } - else - { - frmView.ChangeMode(FormViewMode.ReadOnly); - } - } - } - } - /// - /// modo formview cambiato - /// - /// - /// - protected void frmView_ModeChanged(object sender, EventArgs e) - { - } - /// - /// evento delete - /// - /// - /// - protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) - { - Response.Redirect("Visite"); - } - /// - /// variabile per modo pre comando di update mode... - /// - public FormViewMode prevMode { get; set; } - /// - /// evento pre-cambio modo - /// - /// - /// - protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e) - { - prevMode = frmView.CurrentMode; - } - - protected void frmView_ItemCreated(object sender, EventArgs e) - { - // imposto altezza/peso... - try - { - // recupero dati paziente... - DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(idxPaziente)[0]; - // Popolo! - TextBox txtAltezza = ((TextBox)frmView.FindControl("txtAltezza")); - if (txtAltezza != null) txtAltezza.Text = riga.Altezza.ToString(); - TextBox txtPeso = ((TextBox)frmView.FindControl("txtPeso")); - if (txtPeso != null) txtPeso.Text = riga.Peso.ToString(); - } - catch - { } - } - } -} \ No newline at end of file diff --git a/ScheMe-SP/VVFGT.aspx b/ScheMe-SP/VVFGT.aspx deleted file mode 100644 index 9257bc6..0000000 --- a/ScheMe-SP/VVFGT.aspx +++ /dev/null @@ -1,374 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVFGT.aspx.cs" Inherits="ScheMe.VVFGT" %> - - - - -
- - -

Attenzione!

- Nessun record presente.Prego cliccare qui per tornare alla pagina visite. -
- -
-
-
    -
  • Visita - Antropometria
  • -
  • - - <%: Request.QueryString["DataVisita"] %> -
  • -
  • - - -
  • -
  • - - -
  • -
-
    -
  • Elaborazioni:
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
    -
  • FT - Flessibilità Tronco
  • -
  • - - -
  • -
  • - - -
  • -
-
    -
  • TR - Test di Ruffier
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
    -
  • GA - Grasso Addominale
  • -
  • - - -
  • -
  • - - -
  • -
-
    -
  • SU - SitUp
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
    -
  • SJ - Forza Arti Inferiori
  • -
  • - - -
  • -
  • - - -
  • -
-
    -
  • PU - Forza Arti Superiori
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
-
-
    -
  • -
    -
    - -
    -
    - -
    -
    -
  • -
-
-
-
- -
-
-
    -
  • Visita - Antropometria
  • -
  • - - <%: Request.QueryString["DataVisita"] %> -
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
    -
  • FT - Flessibilità Tronco
  • -
  • - - -
  • -
-
    -
  • TR - Test di Ruffier
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
    -
  • GA - Grasso Addominale
  • -
  • - - -
  • -
-
    -
  • SU - SitUp
  • -
  • - - -
  • -
-
-
-
    -
  • SJ - Forza Arti Inferiori
  • -
  • - - -
  • -
-
    -
  • PU - Forza Arti Superiori
  • -
  • - - -
  • -
-
-
-
-
-
    -
  • -
    -
    - -
    -
    - -
    -
    -
  • -
-
-
-
- -
-
-
    -
  • Visita - Antropometria
  • -
  • - - <%: Request.QueryString["DataVisita"] %> -
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
    -
  • FT - Flessibilità Tronco
  • -
  • - - -
  • -
-
    -
  • TR - Test di Ruffier
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
    -
  • GA - Grasso Addominale
  • -
  • - - -
  • -
-
    -
  • SU - SitUp
  • -
  • - - -
  • -
-
-
-
    -
  • SJ - Forza Arti Inferiori
  • -
  • - - -
  • -
-
    -
  • PU - Forza Arti Superiori
  • -
  • - - -
  • -
-
-
-
-
-
    -
  • -
    -
    - -
    -
    - -
    -
    -
  • -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
diff --git a/ScheMe-SP/VVFAnz.aspx b/ScheMe-SP/VVSP_12.aspx similarity index 75% rename from ScheMe-SP/VVFAnz.aspx rename to ScheMe-SP/VVSP_12.aspx index 3d14bc7..56919a9 100644 --- a/ScheMe-SP/VVFAnz.aspx +++ b/ScheMe-SP/VVSP_12.aspx @@ -1,9 +1,8 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVFAnz.aspx.cs" Inherits="ScheMe.VVFAnz" %> - +<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVSP_12.aspx.cs" Inherits="ScheMe.VVSP_12" %> -
+

Attenzione!

@@ -49,75 +48,71 @@
    -
  • FT - Flessibilità Tronco
  • +
  • CD - Circuito di Destrezza di Harre
  • - - + +
  • - +
    -
  • FS - Flessibilità Spalle
  • +
  • SP - Saltelli in avanti su un Piede
  • - - +
  • - +
-
    -
  • GA - Grasso Addominale
  • +
  • GL - Galoppo Laterale
  • - - +
  • - +
    -
  • E - Equilibrio
  • +
  • LM - Lancio Mirato
  • - - + +
  • - +
-
    -
  • FAI - Forza Arti Inferiori
  • +
  • E - Equilibrio
  • - - + +
  • - +
    -
  • FP - Forza Prensile
  • +
  • GA - Grasso Addominale
  • - - + +
  • - +
@@ -162,51 +157,47 @@
    -
  • FT - Flessibilità Tronco
  • +
  • CD - Circuito di Destrezza di Harre
  • - - + +
    -
  • FS - Flessibilità Spalle
  • +
  • SP - Saltelli in avanti su un Piede
  • - - +
    -
  • GA - Grasso Addominale
  • +
  • GL - Galoppo Laterale
  • - - +
    -
  • E - Equilibrio
  • +
  • LM - Lancio Mirato
  • - - + +
    -
  • FAI - Forza Arti Inferiori
  • +
  • SA - Saltelli Alternati in avanti su un piede
  • - - +
    -
  • FP - Forza Prensile
  • +
  • RP - Ricevere con le mani una Palla lanciata
  • - - +
@@ -254,14 +245,14 @@
  • FT - Flessibilità Tronco
  • - +
    • FS - Flessibilità Spalle
    • - +
    @@ -271,31 +262,31 @@
  • GA - Grasso Addominale
  • - +
    • E - Equilibrio
    • - +
      -
    • FAI - Forza Arti Inferiori
    • +
    • CD - Forza Arti Inferiori
    • - +
    • FP - Forza Prensile
    • - +
    @@ -318,7 +309,7 @@ - + @@ -326,12 +317,12 @@ - - - - - - + + + + + + @@ -340,17 +331,41 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/ScheMe-SP/VVSP_12.aspx.cs b/ScheMe-SP/VVSP_12.aspx.cs new file mode 100644 index 0000000..c4b94e9 --- /dev/null +++ b/ScheMe-SP/VVSP_12.aspx.cs @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using ScheMe_Data; +using SteamWare; + +namespace ScheMe +{ + public partial class VVSP_12 : SteamWare.UserPage + { + protected int idxPaziente + { + get + { + return memLayer.ML.IntSessionObj("IdxPaziente"); + } + } + /// + /// pagina caricata + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + // verifico se sia con parametro paziente o NEW... + string cmd = Request.QueryString["cmd"]; + if (cmd == "" || cmd == null || cmd == "sel") + { + frmView.ChangeMode(FormViewMode.ReadOnly); + } + else if (cmd == "new") + { + if (isWriteEnabled) + { + frmView.ChangeMode(FormViewMode.Insert); + } + else + { + frmView.ChangeMode(FormViewMode.ReadOnly); + } + } + } + } + /// + /// modo formview cambiato + /// + /// + /// + protected void frmView_ModeChanged(object sender, EventArgs e) + { + } + /// + /// evento delete + /// + /// + /// + protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) + { + Response.Redirect("Visite"); + } + /// + /// variabile per modo pre comando di update mode... + /// + public FormViewMode prevMode { get; set; } + /// + /// evento pre-cambio modo + /// + /// + /// + protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e) + { + prevMode = frmView.CurrentMode; + } + protected void frmView_ItemCreated(object sender, EventArgs e) + { + // imposto altezza/peso... + try + { + // recupero dati paziente... + DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(idxPaziente)[0]; + // Popolo! + TextBox txtAltezza = ((TextBox)frmView.FindControl("txtAltezza")); + if (txtAltezza != null) txtAltezza.Text = riga.Altezza.ToString(); + TextBox txtPeso = ((TextBox)frmView.FindControl("txtPeso")); + if (txtPeso != null) txtPeso.Text = riga.Peso.ToString(); + } + catch + { } + } + } +} \ No newline at end of file diff --git a/ScheMe-SP/VVSP_12.aspx.designer.cs b/ScheMe-SP/VVSP_12.aspx.designer.cs new file mode 100644 index 0000000..f3f6d0c --- /dev/null +++ b/ScheMe-SP/VVSP_12.aspx.designer.cs @@ -0,0 +1,69 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace ScheMe { + + + public partial class VVSP_12 { + + /// + /// Controllo frmView. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.FormView frmView; + + /// + /// Controllo ods. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// Controllo odsSP. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsSP; + + /// + /// Controllo odsGL. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsGL; + + /// + /// Controllo odsSA. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsSA; + + /// + /// Controllo odsRP. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsRP; + } +} diff --git a/ScheMe-SP/VVSP_345.aspx b/ScheMe-SP/VVSP_345.aspx new file mode 100644 index 0000000..528981e --- /dev/null +++ b/ScheMe-SP/VVSP_345.aspx @@ -0,0 +1,356 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVSP_345.aspx.cs" Inherits="ScheMe.VVSP_345" %> + + + + +
    + + +

    Attenzione!

    + Nessun record presente.Prego cliccare qui per tornare alla pagina visite. +
    + +
    +
    +
      +
    • Visita - Antropometria
    • +
    • + + <%: Request.QueryString["DataVisita"] %> +
    • +
    • + + +
    • +
    • + + +
    • +
    +
      +
    • Elaborazioni:
    • +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    +
    +
    +
      +
    • FT - Flessibilità Tronco
    • +
    • + + +
    • +
    • + + +
    • +
    +
      +
    • FS - Flessibilità Spalle
    • +
    • + + +
    • +
    • + + +
    • +
    +
    +
    + +
      +
    • GA - Grasso Addominale
    • +
    • + + +
    • +
    • + + +
    • +
    +
      +
    • E - Equilibrio
    • +
    • + + +
    • +
    • + + +
    • +
    +
    +
    + +
      +
    • FAI - Forza Arti Inferiori
    • +
    • + + +
    • +
    • + + +
    • +
    +
      +
    • FP - Forza Prensile
    • +
    • + + +
    • +
    • + + +
    • +
    +
    +
    +
    +
    +
      +
    • +
      +
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    +
      +
    • Visita - Antropometria
    • +
    • + + <%: Request.QueryString["DataVisita"] %> +
    • +
    • + + + +
    • +
    • + + + +
    • +
    +
    +
    +
      +
    • FT - Flessibilità Tronco
    • +
    • + + +
    • +
    +
      +
    • FS - Flessibilità Spalle
    • +
    • + + +
    • +
    +
    +
    + +
      +
    • GA - Grasso Addominale
    • +
    • + + +
    • +
    +
      +
    • E - Equilibrio
    • +
    • + + +
    • +
    +
    +
    + +
      +
    • FAI - Forza Arti Inferiori
    • +
    • + + +
    • +
    +
      +
    • FP - Forza Prensile
    • +
    • + + +
    • +
    +
    +
    +
    +
    +
      +
    • +
      +
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    +
      +
    • Visita - Antropometria
    • +
    • + + <%: Request.QueryString["DataVisita"] %> +
    • +
    • + + + +
    • +
    • + + + +
    • +
    +
    +
    +
      +
    • FT - Flessibilità Tronco
    • +
    • + + +
    • +
    +
      +
    • FS - Flessibilità Spalle
    • +
    • + + +
    • +
    +
    +
    + +
      +
    • GA - Grasso Addominale
    • +
    • + + +
    • +
    +
      +
    • E - Equilibrio
    • +
    • + + +
    • +
    +
    +
    + +
      +
    • FAI - Forza Arti Inferiori
    • +
    • + + +
    • +
    +
      +
    • FP - Forza Prensile
    • +
    • + + +
    • +
    +
    +
    +
    +
    +
      +
    • +
      +
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/ScheMe-SP/VVSP_345.aspx.cs b/ScheMe-SP/VVSP_345.aspx.cs new file mode 100644 index 0000000..3ce0db9 --- /dev/null +++ b/ScheMe-SP/VVSP_345.aspx.cs @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using ScheMe_Data; +using SteamWare; + +namespace ScheMe +{ + public partial class VVSP_345 : SteamWare.UserPage + { + protected int idxPaziente + { + get + { + return memLayer.ML.IntSessionObj("IdxPaziente"); + } + } + /// + /// pagina caricata + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + // verifico se sia con parametro paziente o NEW... + string cmd = Request.QueryString["cmd"]; + if (cmd == "" || cmd == null || cmd == "sel") + { + frmView.ChangeMode(FormViewMode.ReadOnly); + } + else if (cmd == "new") + { + if (isWriteEnabled) + { + frmView.ChangeMode(FormViewMode.Insert); + } + else + { + frmView.ChangeMode(FormViewMode.ReadOnly); + } + } + } + } + /// + /// modo formview cambiato + /// + /// + /// + protected void frmView_ModeChanged(object sender, EventArgs e) + { + } + /// + /// evento delete + /// + /// + /// + protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) + { + Response.Redirect("Visite"); + } + /// + /// variabile per modo pre comando di update mode... + /// + public FormViewMode prevMode { get; set; } + /// + /// evento pre-cambio modo + /// + /// + /// + protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e) + { + prevMode = frmView.CurrentMode; + } + protected void frmView_ItemCreated(object sender, EventArgs e) + { + // imposto altezza/peso... + try + { + // recupero dati paziente... + DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(idxPaziente)[0]; + // Popolo! + TextBox txtAltezza = ((TextBox)frmView.FindControl("txtAltezza")); + if (txtAltezza != null) txtAltezza.Text = riga.Altezza.ToString(); + TextBox txtPeso = ((TextBox)frmView.FindControl("txtPeso")); + if (txtPeso != null) txtPeso.Text = riga.Peso.ToString(); + } + catch + { } + } + } +} \ No newline at end of file diff --git a/ScheMe-SP/VVFAnz.aspx.designer.cs b/ScheMe-SP/VVSP_345.aspx.designer.cs similarity index 96% rename from ScheMe-SP/VVFAnz.aspx.designer.cs rename to ScheMe-SP/VVSP_345.aspx.designer.cs index da9ef2b..442f72f 100644 --- a/ScheMe-SP/VVFAnz.aspx.designer.cs +++ b/ScheMe-SP/VVSP_345.aspx.designer.cs @@ -10,7 +10,7 @@ namespace ScheMe { - public partial class VVFAnz { + public partial class VVSP_345 { /// /// Controllo frmView. diff --git a/ScheMe-SP/bin/ScheMe.dll b/ScheMe-SP/bin/ScheMe.dll index 69300ae..67a6c36 100644 Binary files a/ScheMe-SP/bin/ScheMe.dll and b/ScheMe-SP/bin/ScheMe.dll differ diff --git a/ScheMe-SP/bin/ScheMe.dll.config b/ScheMe-SP/bin/ScheMe.dll.config index 930cc21..cb3e45e 100644 --- a/ScheMe-SP/bin/ScheMe.dll.config +++ b/ScheMe-SP/bin/ScheMe.dll.config @@ -49,18 +49,18 @@ - - - - - - + + + + + + - - - - + + + + - - - - - - + + + + + + - - - - + + + +