diff --git a/ETS_Data/DS_utils.Designer.cs b/ETS_Data/DS_utils.Designer.cs index 34b2815..2602504 100644 --- a/ETS_Data/DS_utils.Designer.cs +++ b/ETS_Data/DS_utils.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18033 +// Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -52,6 +52,8 @@ namespace ETS_Data { private v_selFonti_explDataTable tablev_selFonti_expl; + private ElencoOpzioniDataTable tableElencoOpzioni; + private filesDataTable tablefiles; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; @@ -124,6 +126,9 @@ namespace ETS_Data { if ((ds.Tables["v_selFonti_expl"] != null)) { base.Tables.Add(new v_selFonti_explDataTable(ds.Tables["v_selFonti_expl"])); } + if ((ds.Tables["ElencoOpzioni"] != null)) { + base.Tables.Add(new ElencoOpzioniDataTable(ds.Tables["ElencoOpzioni"])); + } if ((ds.Tables["files"] != null)) { base.Tables.Add(new filesDataTable(ds.Tables["files"])); } @@ -285,6 +290,16 @@ namespace ETS_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ElencoOpzioniDataTable ElencoOpzioni { + get { + return this.tableElencoOpzioni; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -404,6 +419,9 @@ namespace ETS_Data { if ((ds.Tables["v_selFonti_expl"] != null)) { base.Tables.Add(new v_selFonti_explDataTable(ds.Tables["v_selFonti_expl"])); } + if ((ds.Tables["ElencoOpzioni"] != null)) { + base.Tables.Add(new ElencoOpzioniDataTable(ds.Tables["ElencoOpzioni"])); + } if ((ds.Tables["files"] != null)) { base.Tables.Add(new filesDataTable(ds.Tables["files"])); } @@ -524,6 +542,12 @@ namespace ETS_Data { this.tablev_selFonti_expl.InitVars(); } } + this.tableElencoOpzioni = ((ElencoOpzioniDataTable)(base.Tables["ElencoOpzioni"])); + if ((initTable == true)) { + if ((this.tableElencoOpzioni != null)) { + this.tableElencoOpzioni.InitVars(); + } + } this.tablefiles = ((filesDataTable)(base.Tables["files"])); if ((initTable == true)) { if ((this.tablefiles != null)) { @@ -568,6 +592,8 @@ namespace ETS_Data { base.Tables.Add(this.tablev_selTMD); this.tablev_selFonti_expl = new v_selFonti_explDataTable(); base.Tables.Add(this.tablev_selFonti_expl); + this.tableElencoOpzioni = new ElencoOpzioniDataTable(); + base.Tables.Add(this.tableElencoOpzioni); this.tablefiles = new filesDataTable(); base.Tables.Add(this.tablefiles); } @@ -656,6 +682,12 @@ namespace ETS_Data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeElencoOpzioni() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializefiles() { @@ -759,6 +791,9 @@ namespace ETS_Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void v_selFonti_explRowChangeEventHandler(object sender, v_selFonti_explRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void ElencoOpzioniRowChangeEventHandler(object sender, ElencoOpzioniRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void filesRowChangeEventHandler(object sender, filesRowChangeEvent e); @@ -4590,6 +4625,296 @@ namespace ETS_Data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ElencoOpzioniDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodTipo; + + private global::System.Data.DataColumn columnordine; + + private global::System.Data.DataColumn columnopzione; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoOpzioniDataTable() { + this.TableName = "ElencoOpzioni"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoOpzioniDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected ElencoOpzioniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoColumn { + get { + return this.columnCodTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ordineColumn { + get { + return this.columnordine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn opzioneColumn { + get { + return this.columnopzione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoOpzioniRow this[int index] { + get { + return ((ElencoOpzioniRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoOpzioniRowChangeEventHandler ElencoOpzioniRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoOpzioniRowChangeEventHandler ElencoOpzioniRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoOpzioniRowChangeEventHandler ElencoOpzioniRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoOpzioniRowChangeEventHandler ElencoOpzioniRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddElencoOpzioniRow(ElencoOpzioniRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoOpzioniRow AddElencoOpzioniRow(string CodTipo, int ordine, string opzione) { + ElencoOpzioniRow rowElencoOpzioniRow = ((ElencoOpzioniRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodTipo, + ordine, + opzione}; + rowElencoOpzioniRow.ItemArray = columnValuesArray; + this.Rows.Add(rowElencoOpzioniRow); + return rowElencoOpzioniRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoOpzioniRow FindByCodTipoordine(string CodTipo, int ordine) { + return ((ElencoOpzioniRow)(this.Rows.Find(new object[] { + CodTipo, + ordine}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + ElencoOpzioniDataTable cln = ((ElencoOpzioniDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ElencoOpzioniDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodTipo = base.Columns["CodTipo"]; + this.columnordine = base.Columns["ordine"]; + this.columnopzione = base.Columns["opzione"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodTipo = new global::System.Data.DataColumn("CodTipo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipo); + this.columnordine = new global::System.Data.DataColumn("ordine", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnordine); + this.columnopzione = new global::System.Data.DataColumn("opzione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnopzione); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodTipo, + this.columnordine}, true)); + this.columnCodTipo.AllowDBNull = false; + this.columnCodTipo.MaxLength = 50; + this.columnordine.AllowDBNull = false; + this.columnopzione.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoOpzioniRow NewElencoOpzioniRow() { + return ((ElencoOpzioniRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ElencoOpzioniRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ElencoOpzioniRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ElencoOpzioniRowChanged != null)) { + this.ElencoOpzioniRowChanged(this, new ElencoOpzioniRowChangeEvent(((ElencoOpzioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ElencoOpzioniRowChanging != null)) { + this.ElencoOpzioniRowChanging(this, new ElencoOpzioniRowChangeEvent(((ElencoOpzioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ElencoOpzioniRowDeleted != null)) { + this.ElencoOpzioniRowDeleted(this, new ElencoOpzioniRowChangeEvent(((ElencoOpzioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ElencoOpzioniRowDeleting != null)) { + this.ElencoOpzioniRowDeleting(this, new ElencoOpzioniRowChangeEvent(((ElencoOpzioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveElencoOpzioniRow(ElencoOpzioniRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utils ds = new DS_utils(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ElencoOpzioniDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents the strongly named DataTable class. /// @@ -5765,6 +6090,71 @@ namespace ETS_Data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class ElencoOpzioniRow : global::System.Data.DataRow { + + private ElencoOpzioniDataTable tableElencoOpzioni; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoOpzioniRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableElencoOpzioni = ((ElencoOpzioniDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipo { + get { + return ((string)(this[this.tableElencoOpzioni.CodTipoColumn])); + } + set { + this[this.tableElencoOpzioni.CodTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int ordine { + get { + return ((int)(this[this.tableElencoOpzioni.ordineColumn])); + } + set { + this[this.tableElencoOpzioni.ordineColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string opzione { + get { + try { + return ((string)(this[this.tableElencoOpzioni.opzioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'opzione\' in table \'ElencoOpzioni\' is DBNull.", e); + } + } + set { + this[this.tableElencoOpzioni.opzioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsopzioneNull() { + return this.IsNull(this.tableElencoOpzioni.opzioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetopzioneNull() { + this[this.tableElencoOpzioni.opzioneColumn] = global::System.Convert.DBNull; + } + } + /// ///Represents strongly named DataRow class. /// @@ -6368,6 +6758,40 @@ namespace ETS_Data { } } + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class ElencoOpzioniRowChangeEvent : global::System.EventArgs { + + private ElencoOpzioniRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoOpzioniRowChangeEvent(ElencoOpzioniRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoOpzioniRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + /// ///Row event argument class /// @@ -9264,6 +9688,385 @@ namespace ETS_Data.DS_utilsTableAdapters { } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ElencoOpzioniTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoOpzioniTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "ElencoOpzioni"; + tableMapping.ColumnMappings.Add("CodTipo", "CodTipo"); + tableMapping.ColumnMappings.Add("ordine", "ordine"); + tableMapping.ColumnMappings.Add("opzione", "opzione"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[ElencoOpzioni] WHERE (([CodTipo] = @Original_CodTipo) AND ([or" + + "dine] = @Original_ordine) AND ((@IsNull_opzione = 1 AND [opzione] IS NULL) OR ([" + + "opzione] = @Original_opzione)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ordine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ordine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_opzione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opzione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_opzione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opzione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[ElencoOpzioni] ([CodTipo], [ordine], [opzione]) VALUES (@CodTi" + + "po, @ordine, @opzione);\r\nSELECT CodTipo, ordine, opzione FROM ElencoOpzioni WHER" + + "E (CodTipo = @CodTipo) AND (ordine = @ordine)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ordine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opzione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opzione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ElencoOpzioni] SET [CodTipo] = @CodTipo, [ordine] = @ordine, [opzione] = @opzione WHERE (([CodTipo] = @Original_CodTipo) AND ([ordine] = @Original_ordine) AND ((@IsNull_opzione = 1 AND [opzione] IS NULL) OR ([opzione] = @Original_opzione))); +SELECT CodTipo, ordine, opzione FROM ElencoOpzioni WHERE (CodTipo = @CodTipo) AND (ordine = @ordine)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ordine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opzione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opzione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ordine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ordine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_opzione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opzione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_opzione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opzione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::ETS_Data.Properties.Settings.Default.ETS_PROJConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodTipo, ordine, opzione FROM dbo.ElencoOpzioni"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_EO_getByTipo"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utils.ElencoOpzioniDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utils.ElencoOpzioniDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utils.ElencoOpzioniDataTable dataTable = new DS_utils.ElencoOpzioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utils.ElencoOpzioniDataTable getByTipo(string CodTipo) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodTipo == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodTipo)); + } + DS_utils.ElencoOpzioniDataTable dataTable = new DS_utils.ElencoOpzioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_utils.ElencoOpzioniDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_utils dataSet) { + return this.Adapter.Update(dataSet, "ElencoOpzioni"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodTipo, int Original_ordine, string Original_opzione) { + if ((Original_CodTipo == null)) { + throw new global::System.ArgumentNullException("Original_CodTipo"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTipo)); + } + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_ordine)); + if ((Original_opzione == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_opzione)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodTipo, int ordine, string opzione) { + if ((CodTipo == null)) { + throw new global::System.ArgumentNullException("CodTipo"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTipo)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(ordine)); + if ((opzione == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(opzione)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTipo, int ordine, string opzione, string Original_CodTipo, int Original_ordine, string Original_opzione) { + if ((CodTipo == null)) { + throw new global::System.ArgumentNullException("CodTipo"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTipo)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(ordine)); + if ((opzione == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(opzione)); + } + if ((Original_CodTipo == null)) { + throw new global::System.ArgumentNullException("Original_CodTipo"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodTipo)); + } + this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_ordine)); + if ((Original_opzione == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_opzione)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string opzione, string Original_CodTipo, int Original_ordine, string Original_opzione) { + return this.Update(Original_CodTipo, Original_ordine, opzione, Original_CodTipo, Original_ordine, Original_opzione); + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -9278,6 +10081,8 @@ namespace ETS_Data.DS_utilsTableAdapters { private AnagSuggestTagsTableAdapter _anagSuggestTagsTableAdapter; + private ElencoOpzioniTableAdapter _elencoOpzioniTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -9307,6 +10112,20 @@ namespace ETS_Data.DS_utilsTableAdapters { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public ElencoOpzioniTableAdapter ElencoOpzioniTableAdapter { + get { + return this._elencoOpzioniTableAdapter; + } + set { + this._elencoOpzioniTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -9330,6 +10149,10 @@ namespace ETS_Data.DS_utilsTableAdapters { && (this._anagSuggestTagsTableAdapter.Connection != null))) { return this._anagSuggestTagsTableAdapter.Connection; } + if (((this._elencoOpzioniTableAdapter != null) + && (this._elencoOpzioniTableAdapter.Connection != null))) { + return this._elencoOpzioniTableAdapter.Connection; + } return null; } set { @@ -9346,6 +10169,9 @@ namespace ETS_Data.DS_utilsTableAdapters { if ((this._anagSuggestTagsTableAdapter != null)) { count = (count + 1); } + if ((this._elencoOpzioniTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -9366,6 +10192,15 @@ namespace ETS_Data.DS_utilsTableAdapters { allChangedRows.AddRange(updatedRows); } } + if ((this._elencoOpzioniTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ElencoOpzioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._elencoOpzioniTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -9384,6 +10219,14 @@ namespace ETS_Data.DS_utilsTableAdapters { allAddedRows.AddRange(addedRows); } } + if ((this._elencoOpzioniTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ElencoOpzioni.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._elencoOpzioniTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -9394,6 +10237,14 @@ namespace ETS_Data.DS_utilsTableAdapters { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateDeletedRows(DS_utils dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._elencoOpzioniTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ElencoOpzioni.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._elencoOpzioniTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._anagSuggestTagsTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagSuggestTags.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -9446,6 +10297,11 @@ namespace ETS_Data.DS_utilsTableAdapters { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._elencoOpzioniTableAdapter != null) + && (this.MatchTableAdapterConnection(this._elencoOpzioniTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + @@ -9487,6 +10343,15 @@ namespace ETS_Data.DS_utilsTableAdapters { adaptersWithAcceptChangesDuringUpdate.Add(this._anagSuggestTagsTableAdapter.Adapter); } } + if ((this._elencoOpzioniTableAdapter != null)) { + revertConnections.Add(this._elencoOpzioniTableAdapter, this._elencoOpzioniTableAdapter.Connection); + this._elencoOpzioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._elencoOpzioniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._elencoOpzioniTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._elencoOpzioniTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._elencoOpzioniTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -9549,6 +10414,10 @@ namespace ETS_Data.DS_utilsTableAdapters { this._anagSuggestTagsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagSuggestTagsTableAdapter])); this._anagSuggestTagsTableAdapter.Transaction = null; } + if ((this._elencoOpzioniTableAdapter != null)) { + this._elencoOpzioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoOpzioniTableAdapter])); + this._elencoOpzioniTableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/ETS_Data/DS_utils.xsd b/ETS_Data/DS_utils.xsd index 3967d2f..ccfa9ef 100644 --- a/ETS_Data/DS_utils.xsd +++ b/ETS_Data/DS_utils.xsd @@ -2,9 +2,10 @@ - + + @@ -446,6 +447,73 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom + + + + + + DELETE FROM [dbo].[ElencoOpzioni] WHERE (([CodTipo] = @Original_CodTipo) AND ([ordine] = @Original_ordine) AND ((@IsNull_opzione = 1 AND [opzione] IS NULL) OR ([opzione] = @Original_opzione))) + + + + + + + + + + + INSERT INTO [dbo].[ElencoOpzioni] ([CodTipo], [ordine], [opzione]) VALUES (@CodTipo, @ordine, @opzione); +SELECT CodTipo, ordine, opzione FROM ElencoOpzioni WHERE (CodTipo = @CodTipo) AND (ordine = @ordine) + + + + + + + + + + SELECT CodTipo, ordine, opzione FROM dbo.ElencoOpzioni + + + + + + UPDATE [dbo].[ElencoOpzioni] SET [CodTipo] = @CodTipo, [ordine] = @ordine, [opzione] = @opzione WHERE (([CodTipo] = @Original_CodTipo) AND ([ordine] = @Original_ordine) AND ((@IsNull_opzione = 1 AND [opzione] IS NULL) OR ([opzione] = @Original_opzione))); +SELECT CodTipo, ordine, opzione FROM ElencoOpzioni WHERE (CodTipo = @CodTipo) AND (ordine = @ordine) + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_EO_getByTipo + + + + + + + + + @@ -454,7 +522,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -474,7 +542,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -488,7 +556,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -502,7 +570,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -512,7 +580,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -532,7 +600,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -552,7 +620,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -572,7 +640,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -592,7 +660,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -612,7 +680,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -621,7 +689,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -641,7 +709,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -654,7 +722,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -674,7 +742,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -701,7 +769,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom - + @@ -742,6 +810,27 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom + + + + + + + + + + + + + + + + + + + + + @@ -769,5 +858,10 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom + + + + + \ No newline at end of file diff --git a/ETS_Data/DS_utils.xss b/ETS_Data/DS_utils.xss index 8369704..07a5e9c 100644 --- a/ETS_Data/DS_utils.xss +++ b/ETS_Data/DS_utils.xss @@ -4,23 +4,24 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ETS_Data/Ds_ProjEts.xsd b/ETS_Data/Ds_ProjEts.xsd index 2f358e6..4fa180c 100644 --- a/ETS_Data/Ds_ProjEts.xsd +++ b/ETS_Data/Ds_ProjEts.xsd @@ -1164,6 +1164,21 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM + + + + dbo.stp_BAZ_updateQuery + + + + + + + + + + + diff --git a/ETS_Data/Ds_ProjEts.Designer.cs b/ETS_Data/Ds_ProjEts1.Designer.cs similarity index 99% rename from ETS_Data/Ds_ProjEts.Designer.cs rename to ETS_Data/Ds_ProjEts1.Designer.cs index 4a7771c..5e2b2a1 100644 --- a/ETS_Data/Ds_ProjEts.Designer.cs +++ b/ETS_Data/Ds_ProjEts1.Designer.cs @@ -15444,7 +15444,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM d" + @@ -15481,6 +15481,16 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_BAZ_updateQuery"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Allocazione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -15814,6 +15824,58 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM } return returnValue; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateQuery(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable idxDipendente, global::System.Nullable idxFase, global::System.Nullable Allocazione) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((Anno.HasValue == true)) { + command.Parameters[1].Value = ((int)(Anno.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((Sett.HasValue == true)) { + command.Parameters[2].Value = ((int)(Sett.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((idxDipendente.HasValue == true)) { + command.Parameters[3].Value = ((int)(idxDipendente.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((idxFase.HasValue == true)) { + command.Parameters[4].Value = ((int)(idxFase.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Allocazione.HasValue == true)) { + command.Parameters[5].Value = ((int)(Allocazione.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } } /// diff --git a/ETS_Data/ETS_Data.csproj b/ETS_Data/ETS_Data.csproj index 17186be..242d363 100644 --- a/ETS_Data/ETS_Data.csproj +++ b/ETS_Data/ETS_Data.csproj @@ -108,7 +108,7 @@ Ds_ProjEts.xsd Component - + True True Ds_ProjEts.xsd diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.css b/PROJ-ETS/PROJ-ETS/Content/Style.css index eab8cc9..e1126b8 100644 --- a/PROJ-ETS/PROJ-ETS/Content/Style.css +++ b/PROJ-ETS/PROJ-ETS/Content/Style.css @@ -1165,6 +1165,7 @@ div > ul > li > a.selected.menuNav { .cBia { text-align: center; font-weight: bold; + height: 30px; } .selCel { border: dashed 2px black; diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.less b/PROJ-ETS/PROJ-ETS/Content/Style.less index 695a8df..62beb1f 100644 --- a/PROJ-ETS/PROJ-ETS/Content/Style.less +++ b/PROJ-ETS/PROJ-ETS/Content/Style.less @@ -1306,6 +1306,7 @@ div > ul > li > a.selected.menuNav { { text-align: center; font-weight: bold; + height: @altezzaCella; } .selCel { diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.min.css b/PROJ-ETS/PROJ-ETS/Content/Style.min.css index 098ac8e..0a68d3c 100644 --- a/PROJ-ETS/PROJ-ETS/Content/Style.min.css +++ b/PROJ-ETS/PROJ-ETS/Content/Style.min.css @@ -1 +1 @@ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-family:Verdana,Arial}:focus{outline:0}body{line-height:1;color:#000;background:#fff}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}.fullscreen{display:block;top:0;left:0;width:100%;height:100%}.bottomWrite{vertical-align:bottom;border-top:#0d0083 1px solid;margin-top:2px;padding-top:2px}.smallText{font-size:8pt}.ui-dialog-sw{padding:.2em;overflow:hidden;-moz-box-shadow:0 5px 10px rgba(0,0,0,.8);-webkit-box-shadow:0 5px 10px rgba(0,0,0,.8);box-shadow:0 5px 10px rgba(0,0,0,.8)}.ui-dialog-sw .ui-dialog-sw-titlebar{padding:.5em 1em .3em;position:relative}.ui-dialog-sw .ui-dialog-sw-title{float:left;margin:.1em 16px .2em 0}.ui-dialog-sw .ui-dialog-sw-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px;-moz-border-radius:10px}.ui-dialog-sw .ui-dialog-sw-titlebar-close span{display:block;margin:1px}.ui-dialog-sw .ui-dialog-sw-titlebar-close:hover,.ui-dialog-sw .ui-dialog-sw-titlebar-close:focus{padding:0}.ui-dialog-sw .ui-dialog-sw-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.ui-dialog-sw .ui-dialog-sw-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog-sw .ui-dialog-sw-buttonpane .ui-dialog-sw-buttonset{float:right}.ui-dialog-sw .ui-dialog-sw-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog-sw .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-sw-titlebar{cursor:move}.ui-dialog-sw{padding:0}.ui-dialog-sw .ui-dialog-sw-titlebar{border-top:none;border-right:none;border-left:none;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.ui-widget-sw{font-family:Arial,sans-serif;font-size:1.1em}.ui-widget-sw .ui-widget-sw{font-size:1em}.ui-widget-sw input,.ui-widget-sw select,.ui-widget-sw textarea,.ui-widget-sw button{font-family:Arial,sans-serif;font-size:1em}.ui-widget-sw-content{border:1px solid #a8a8a8;background:#fff;color:#4f4f4f}.ui-widget-sw-header{border:1px solid #a8a8a8;background:silver url('../images/ui-bg_highlight-soft_100_c0c0c0_1x100.png') repeat-x 50% top;color:#333;font-weight:bold;text-shadow:0 1px 0 rgba(255,255,255,.7)}.ui-widget-sw-header a{color:#4f4f4f}.areaTitolo{background-color:#0a64a4;background-image:url('../images/bg-menu-main.png');background-repeat:repeat-x;color:#ececec}.priCol-1{background-color:#00b060}.priCol-2{background-color:#218457}.priCol-3{background-color:#00733e}.priCol-4{background-color:#36d88e}.priCol-5{background-color:#c3ffe4}.secColA-1{background-color:#2d9eff;background-image:-webkit-gradient(linear,left top,left bottom,from(#0a64a4),to(#4481df));background-image:-webkit-linear-gradient(#0a64a4,#4481df);background-image:-moz-linear-gradient(#0a64a4,#4481df);background-image:-ms-linear-gradient(#0a64a4,#4481df);background-image:-o-linear-gradient(#0a64a4,#4481df);background-image:linear-gradient(#0a64a4,#4481df)}.secColA-2{background-color:#24577b}.secColA-3{background-color:#03406a}.secColA-4{background-image:-webkit-gradient(linear,left top,left bottom,from(#4683ff),to(#2461bf));background-image:-webkit-linear-gradient(#4683ff,#2461bf);background-image:-moz-linear-gradient(#4683ff,#2461bf);background-image:-ms-linear-gradient(#4683ff,#2461bf);background-image:-o-linear-gradient(#4683ff,#2461bf);background-image:linear-gradient(#4683ff,#2461bf)}.secColA-5{background-image:-webkit-gradient(linear,left top,left bottom,from(#b8e1fd),to(#2461bf));background-image:-webkit-linear-gradient(#b8e1fd,#2461bf);background-image:-moz-linear-gradient(#b8e1fd,#2461bf);background-image:-ms-linear-gradient(#b8e1fd,#2461bf);background-image:-o-linear-gradient(#b8e1fd,#2461bf);background-image:linear-gradient(#b8e1fd,#2461bf)}.secColB-1{background-color:#ff9000}.secColB-2{background-color:#bf8130}.secColB-3{background-color:#a65e00}.secColB-4{background-color:#ffac40}.secColB-5{background-color:#fdd7a6}.comCol-1{background-color:#ff4500}.comCol-2{background-color:#bf5730}.comCol-3{background-color:#a62d00}.comCol-4{background-color:#ff7340}.comCol-5{background-color:#ffcebc}.lightBlue{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff)}.lightGray{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd}.headerStyle{background-color:#507cd1;font-weight:bold;color:#fff;white-space:nowrap}.footeStyle{background-color:#507cd1;font-weight:bold;color:#fff;white-space:nowrap}.footerRowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#ff7a00),to(#cc3800));background-image:-webkit-linear-gradient(#ff7a00,#cc3800);background-image:-moz-linear-gradient(#ff7a00,#cc3800);background-image:-ms-linear-gradient(#ff7a00,#cc3800);background-image:-o-linear-gradient(#ff7a00,#cc3800);background-image:linear-gradient(#ff7a00,#cc3800)}.pagerStyle{background-color:#2461bf;color:#fff;white-space:nowrap;text-align:center;margin:auto;font-size:medium}.rowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd}.alternatingRowStyle{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff)}.editRowStyle{border:1px solid #5282de;background-image:-webkit-gradient(linear,left top,left bottom,from(#e2ebff),to(#94b4ea));background-image:-webkit-linear-gradient(#e2ebff,#94b4ea);background-image:-moz-linear-gradient(#e2ebff,#94b4ea);background-image:-ms-linear-gradient(#e2ebff,#94b4ea);background-image:-o-linear-gradient(#e2ebff,#94b4ea);background-image:linear-gradient(#e2ebff,#94b4ea)}.selectedRowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#dfd),to(#80ff80));background-image:-webkit-linear-gradient(#dfd,#80ff80);background-image:-moz-linear-gradient(#dfd,#80ff80);background-image:-ms-linear-gradient(#dfd,#80ff80);background-image:-o-linear-gradient(#dfd,#80ff80);background-image:linear-gradient(#dfd,#80ff80);font-weight:bold}.sortAscHead{background-color:#6d95e1}.sortDescHead{background-color:#4870be}.sortAscCell{background-color:#f5f7fb}.sortDescCell{background-color:#e9ebef}.divTitoloAdmin{background-color:#bf8130;padding:5px 0 5px 5px;color:#fff}A:hover{color:red}.float-left{float:left}.float-right{float:right}.divSx{float:left}.divDx{float:right}.divCenter{float:none;text-align:center;padding:0;margin:0 auto 0 auto}.clearDiv{clear:both}.padSxDx{padding-left:2px;padding-right:2px}.shadowBox{-moz-box-shadow:0 4px 8px rgba(0,0,0,.5);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.5);box-shadow:0 4px 8px rgba(0,0,0,.5)}.half{width:50%}.third{width:33%}.quarter{width:25%}.fifth{width:20%}.modalBackground{background-color:gray;filter:alpha(opacity=70);opacity:.7}.btnNew{background-image:url(../images/new_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnDelete{background-image:url(../images/elimina_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnUpdate{background-image:url(../images/reload_l.png);background-repeat:no-repeat;background-position:center right;background-color:#dedede;width:160px;height:40px;border:1px solid #333;vertical-align:middle;margin:auto;font-size:10pt;font-family:Arial}.btnMoveBig{background-image:url(../images/InOutArrows_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:8px;padding-right:32px}.btnEditBig{background-image:url(../images/edit_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnEdit{background-image:url(../images/edit_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnClonaBig{background-image:url(../images/clonaObj_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnClona{background-image:url(../images/clonaObj_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnRosso{border:solid 2px red;background-color:#faa;width:100%;text-align:center}.btnRossoGrad{border:solid 2px red;background-color:#faa;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#faa),to(red));background-image:-webkit-linear-gradient(#faa,red);background-image:-moz-linear-gradient(#faa,red);background-image:-ms-linear-gradient(#faa,red);background-image:-o-linear-gradient(#faa,red);background-image:linear-gradient(#faa,red)}.btnArancio{border:solid 2px #e48800;background-color:#ffb44d;width:100%;text-align:center}.btnArancioGrad{border:solid 2px #e48800;background-color:#ffb44d;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffb44d),to(#e48800));background-image:-webkit-linear-gradient(#ffb44d,#e48800);background-image:-moz-linear-gradient(#ffb44d,#e48800);background-image:-ms-linear-gradient(#ffb44d,#e48800);background-image:-o-linear-gradient(#ffb44d,#e48800);background-image:linear-gradient(#ffb44d,#e48800)}.btnVerde{border:solid 2px green;background-color:#afa;width:100%;text-align:center}.btnVerdeGrad{border:solid 2px green;background-color:#afa;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#afa),to(green));background-image:-webkit-linear-gradient(#afa,green);background-image:-moz-linear-gradient(#afa,green);background-image:-ms-linear-gradient(#afa,green);background-image:-o-linear-gradient(#afa,green);background-image:linear-gradient(#afa,green)}.btnBlu{border:solid 2px blue;background-color:#aaf;width:100%;text-align:center}.btnPreferred{font-size:3em;border:solid 4px red;background-color:#ffacac;width:100%;min-height:200px;height:100%;text-align:center;white-space:pre}.btnStd{font-size:3em;color:#696969;border:solid 4px #333;background-color:#acacac;width:100%;min-height:200px;height:100%;text-align:center;white-space:pre}.btnDisabled{border:solid 2px #999;background-color:#dedede;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#dedede),to(#999));background-image:-webkit-linear-gradient(#dedede,#999);background-image:-moz-linear-gradient(#dedede,#999);background-image:-ms-linear-gradient(#dedede,#999);background-image:-o-linear-gradient(#dedede,#999);background-image:linear-gradient(#dedede,#999)}.btnGialloGrad{border:solid 2px #a93;background-color:#fe6;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#fe6),to(#a93));background-image:-webkit-linear-gradient(#fe6,#a93);background-image:-moz-linear-gradient(#fe6,#a93);background-image:-ms-linear-gradient(#fe6,#a93);background-image:-o-linear-gradient(#fe6,#a93);background-image:linear-gradient(#fe6,#a93)}.pad26{padding:2px 6px}.textArancio{color:#fa3}.textAzzurro{color:#36f}.textNero{color:#000}.textGrigio{color:#888}.badgeRosso{border:solid 2px red;background-color:#faa;width:100%;text-align:center}.badgeStd{border:solid 2px #333;background-color:#eee;width:100%;text-align:center}.badgeVerde{border:solid 2px green;background-color:#afa;width:100%;text-align:center}.badgeArancio{border:solid 2px #980;background-color:#fe6;width:100%;text-align:center}.rltUpdate{background-color:#ff3}.ui-autocomplete{max-height:200px;overflow-y:auto;overflow-x:hidden;padding-right:20px}li.static{margin:2px 4px 0 0;border-color:#cdcdcd;border-style:solid;border-width:1px 1px 0 1px;border-top-right-radius:4px;border-top-left-radius:4px}.menuNav{background-color:#e6e6e6;color:#284e98;font-size:1em;border-top-right-radius:4px;border-top-left-radius:4px}.menuNav:hover{background-color:#b5c7de;color:#000}div>ul>li>a.selected.menuNav{background-color:#fff;color:#000}.areaContMenu{background-color:#fff;padding:4px;border-color:#cdcdcd;border-style:solid;border-width:1px 1px 1px 1px}.roundedCorner{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.padStd{padding:4px}.sfondoGrigio{background-color:#ececec}.bordoGrigio{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #818181}.bordoVerde{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid green}.bordoRosso{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid red}.bordoNero{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #000;background-color:#fff}.bordoAzzurro{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #4da3ff}.placardGrigio{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #818181;background-color:#ececec}.docIcon{background-image:url(../images/download_s.png);background-repeat:no-repeat;background-position:right;padding:2px;padding-right:16px;min-height:16px}.filtro_1{background-color:#88f}.filtro_2{background-color:#aaf}.filtro_2:hover{color:#88f;background-color:#dedeff}.filtro_2 a:link{color:#fff;background-color:transparent}.filtro_3{background-color:#ccf}.filtro_4{background-color:#dedeff}.filtro_5{background-color:#efefff}.tabLabelGreen{background-color:#dfd;border-top:1px solid #393;border-left:1px solid #393;border-right:1px solid #393;height:1.5em;vertical-align:middle;padding-top:.5em;font-size:13pt;font-weight:bold}.tabBodyGreen{background-color:#dfd;border-bottom:1px solid green;border-left:1px solid green;border-right:1px solid green}.tabLabelGray{background-color:#dedede;border-top:1px solid #333;border-left:1px solid #333;border-right:1px solid #333;height:1.5em;vertical-align:middle;padding-top:.5em;font-size:13pt;font-weight:bold}.tabBodyGray{background-color:#dedede;border-bottom:1px solid #000;border-left:1px solid #000;border-right:1px solid #000}.fontTitolo{font-size:24pt;height:36px}.fontMedio{font-size:16pt}.fontStd{font-size:10pt}.fontPiccolo{font-size:8pt}.fontMini{font-size:7pt}.fontMicro{font-size:6pt}.labelInput{font-size:9pt;color:#555}.watermark{color:gray;font-style:italic}.autocomplete{width:400px;color:gray;background-color:#fff;font-size:8pt;padding:4px 1px 4px 1px;border-bottom:1px solid #888}.autocompleteHiglight{width:400px;color:#000;background-color:#ff0;font-size:8pt;padding:4px 1px 4px 1px;border-bottom:1px solid #888}.autocompleteElemID{width:400px;background-color:red;font-weight:bold}.autocompleteListCssClass{width:400px;font-size:8pt;background-color:#fff;padding:2px 2px 2px 2px;border:1px solid #333}.dataBlock{background-color:#fff;font-size:9pt;float:left;border-top:solid 1px gray;border-bottom:solid 1px gray;border-left:solid 1px gray;border-right:solid 1px gray;margin:0;padding:4px;vertical-align:text-top;text-align:left}.dataBlockHeader{border-top:solid 2px gray;border-bottom:solid 1px gray;border-left:solid 2px gray;border-right:solid 2px gray;background-color:#efefef;font-weight:bold;padding:2px}.dataBlockSx{float:left;text-align:left}.dataBlockDx{float:right;text-align:right}.dataBlockLabel{border-top:solid 1px #fefefe;padding-right:2px;padding-left:2px}.dataBlockValue{color:#000;font-weight:bold;padding-right:4px;padding-left:4px;margin-bottom:0}.dataBlockReset{clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockResetGray{border-bottom:solid 1px #cecece;clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockResetDark{border-bottom:solid 1px #363636;clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockBtn{background-color:#fafafa;border:solid 1px gray;padding-top:4px;padding-bottom:4px;vertical-align:text-top;margin:0;text-align:center}.blockSizeSmallest{width:175px}.blockSizeSmaller{width:200px}.blockSizeSmall{width:225px}.blockSizeMed{width:250px}.blockSizeLarge{width:275px}.blockSizeXLarge{width:300px}.blockSizeXXLarge{width:350px}.blockSizeXXXLarge{width:400px}.grView{color:#333;font-size:8pt;padding-left:1px;padding-right:1px;padding-top:1px;padding-bottom:1px}.ctrHeaderPager{background-color:#b8b8b8;font-weight:bold;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{vertical-align:top;background-color:#eff3fb}.valignMiddle{vertical-align:middle}.lblErrore{color:red}.cTab{text-align:center;height:30px;border:solid 1px #777}.cEmp{background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#cdd5c4));background-image:-webkit-linear-gradient(#fff,#cdd5c4);background-image:-moz-linear-gradient(#fff,#cdd5c4);background-image:-ms-linear-gradient(#fff,#cdd5c4);background-image:-o-linear-gradient(#fff,#cdd5c4);background-image:linear-gradient(#fff,#cdd5c4)}.cS01{background-color:#cdd5c4;background-image:-webkit-gradient(linear,left top,left bottom,from(#cbff4e),to(#cdd5c4));background-image:-webkit-linear-gradient(#cbff4e,#cdd5c4);background-image:-moz-linear-gradient(#cbff4e,#cdd5c4);background-image:-ms-linear-gradient(#cbff4e,#cdd5c4);background-image:-o-linear-gradient(#cbff4e,#cdd5c4);background-image:linear-gradient(#cbff4e,#cdd5c4)}.cS02{background-color:#ffff73;background-image:-webkit-gradient(linear,left top,left bottom,from(#cbff4e),to(#ffff73));background-image:-webkit-linear-gradient(#cbff4e,#ffff73);background-image:-moz-linear-gradient(#cbff4e,#ffff73);background-image:-ms-linear-gradient(#cbff4e,#ffff73);background-image:-o-linear-gradient(#cbff4e,#ffff73);background-image:linear-gradient(#cbff4e,#ffff73);color:#fff}.cS03{background-color:#ffff73;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffd88d),to(#ffff73));background-image:-webkit-linear-gradient(#ffd88d,#ffff73);background-image:-moz-linear-gradient(#ffd88d,#ffff73);background-image:-ms-linear-gradient(#ffd88d,#ffff73);background-image:-o-linear-gradient(#ffd88d,#ffff73);background-image:linear-gradient(#ffd88d,#ffff73);color:#fff}.cS04{background-color:#ffd88d;background-image:-webkit-gradient(linear,left top,left bottom,from(#ee8b8b),to(#ffd88d));background-image:-webkit-linear-gradient(#ee8b8b,#ffd88d);background-image:-moz-linear-gradient(#ee8b8b,#ffd88d);background-image:-ms-linear-gradient(#ee8b8b,#ffd88d);background-image:-o-linear-gradient(#ee8b8b,#ffd88d);background-image:linear-gradient(#ee8b8b,#ffd88d);color:#fff}.cOvr{background-color:#ee8b8b;background-image:-webkit-gradient(linear,left top,left bottom,from(#d52323),to(#ee8b8b));background-image:-webkit-linear-gradient(#d52323,#ee8b8b);background-image:-moz-linear-gradient(#d52323,#ee8b8b);background-image:-ms-linear-gradient(#d52323,#ee8b8b);background-image:-o-linear-gradient(#d52323,#ee8b8b);background-image:linear-gradient(#d52323,#ee8b8b)}.cBia{text-align:center;font-weight:bold}.selCel{border:dashed 2px #000;text-align:center} \ No newline at end of file +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-family:Verdana,Arial}:focus{outline:0}body{line-height:1;color:#000;background:#fff}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}.fullscreen{display:block;top:0;left:0;width:100%;height:100%}.bottomWrite{vertical-align:bottom;border-top:#0d0083 1px solid;margin-top:2px;padding-top:2px}.smallText{font-size:8pt}.ui-dialog-sw{padding:.2em;overflow:hidden;-moz-box-shadow:0 5px 10px rgba(0,0,0,.8);-webkit-box-shadow:0 5px 10px rgba(0,0,0,.8);box-shadow:0 5px 10px rgba(0,0,0,.8)}.ui-dialog-sw .ui-dialog-sw-titlebar{padding:.5em 1em .3em;position:relative}.ui-dialog-sw .ui-dialog-sw-title{float:left;margin:.1em 16px .2em 0}.ui-dialog-sw .ui-dialog-sw-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px;-moz-border-radius:10px}.ui-dialog-sw .ui-dialog-sw-titlebar-close span{display:block;margin:1px}.ui-dialog-sw .ui-dialog-sw-titlebar-close:hover,.ui-dialog-sw .ui-dialog-sw-titlebar-close:focus{padding:0}.ui-dialog-sw .ui-dialog-sw-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.ui-dialog-sw .ui-dialog-sw-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog-sw .ui-dialog-sw-buttonpane .ui-dialog-sw-buttonset{float:right}.ui-dialog-sw .ui-dialog-sw-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog-sw .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-sw-titlebar{cursor:move}.ui-dialog-sw{padding:0}.ui-dialog-sw .ui-dialog-sw-titlebar{border-top:none;border-right:none;border-left:none;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.ui-widget-sw{font-family:Arial,sans-serif;font-size:1.1em}.ui-widget-sw .ui-widget-sw{font-size:1em}.ui-widget-sw input,.ui-widget-sw select,.ui-widget-sw textarea,.ui-widget-sw button{font-family:Arial,sans-serif;font-size:1em}.ui-widget-sw-content{border:1px solid #a8a8a8;background:#fff;color:#4f4f4f}.ui-widget-sw-header{border:1px solid #a8a8a8;background:silver url('../images/ui-bg_highlight-soft_100_c0c0c0_1x100.png') repeat-x 50% top;color:#333;font-weight:bold;text-shadow:0 1px 0 rgba(255,255,255,.7)}.ui-widget-sw-header a{color:#4f4f4f}.areaTitolo{background-color:#0a64a4;background-image:url('../images/bg-menu-main.png');background-repeat:repeat-x;color:#ececec}.priCol-1{background-color:#00b060}.priCol-2{background-color:#218457}.priCol-3{background-color:#00733e}.priCol-4{background-color:#36d88e}.priCol-5{background-color:#c3ffe4}.secColA-1{background-color:#2d9eff;background-image:-webkit-gradient(linear,left top,left bottom,from(#0a64a4),to(#4481df));background-image:-webkit-linear-gradient(#0a64a4,#4481df);background-image:-moz-linear-gradient(#0a64a4,#4481df);background-image:-ms-linear-gradient(#0a64a4,#4481df);background-image:-o-linear-gradient(#0a64a4,#4481df);background-image:linear-gradient(#0a64a4,#4481df)}.secColA-2{background-color:#24577b}.secColA-3{background-color:#03406a}.secColA-4{background-image:-webkit-gradient(linear,left top,left bottom,from(#4683ff),to(#2461bf));background-image:-webkit-linear-gradient(#4683ff,#2461bf);background-image:-moz-linear-gradient(#4683ff,#2461bf);background-image:-ms-linear-gradient(#4683ff,#2461bf);background-image:-o-linear-gradient(#4683ff,#2461bf);background-image:linear-gradient(#4683ff,#2461bf)}.secColA-5{background-image:-webkit-gradient(linear,left top,left bottom,from(#b8e1fd),to(#2461bf));background-image:-webkit-linear-gradient(#b8e1fd,#2461bf);background-image:-moz-linear-gradient(#b8e1fd,#2461bf);background-image:-ms-linear-gradient(#b8e1fd,#2461bf);background-image:-o-linear-gradient(#b8e1fd,#2461bf);background-image:linear-gradient(#b8e1fd,#2461bf)}.secColB-1{background-color:#ff9000}.secColB-2{background-color:#bf8130}.secColB-3{background-color:#a65e00}.secColB-4{background-color:#ffac40}.secColB-5{background-color:#fdd7a6}.comCol-1{background-color:#ff4500}.comCol-2{background-color:#bf5730}.comCol-3{background-color:#a62d00}.comCol-4{background-color:#ff7340}.comCol-5{background-color:#ffcebc}.lightBlue{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff)}.lightGray{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd}.headerStyle{background-color:#507cd1;font-weight:bold;color:#fff;white-space:nowrap}.footeStyle{background-color:#507cd1;font-weight:bold;color:#fff;white-space:nowrap}.footerRowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#ff7a00),to(#cc3800));background-image:-webkit-linear-gradient(#ff7a00,#cc3800);background-image:-moz-linear-gradient(#ff7a00,#cc3800);background-image:-ms-linear-gradient(#ff7a00,#cc3800);background-image:-o-linear-gradient(#ff7a00,#cc3800);background-image:linear-gradient(#ff7a00,#cc3800)}.pagerStyle{background-color:#2461bf;color:#fff;white-space:nowrap;text-align:center;margin:auto;font-size:medium}.rowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd}.alternatingRowStyle{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff)}.editRowStyle{border:1px solid #5282de;background-image:-webkit-gradient(linear,left top,left bottom,from(#e2ebff),to(#94b4ea));background-image:-webkit-linear-gradient(#e2ebff,#94b4ea);background-image:-moz-linear-gradient(#e2ebff,#94b4ea);background-image:-ms-linear-gradient(#e2ebff,#94b4ea);background-image:-o-linear-gradient(#e2ebff,#94b4ea);background-image:linear-gradient(#e2ebff,#94b4ea)}.selectedRowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#dfd),to(#80ff80));background-image:-webkit-linear-gradient(#dfd,#80ff80);background-image:-moz-linear-gradient(#dfd,#80ff80);background-image:-ms-linear-gradient(#dfd,#80ff80);background-image:-o-linear-gradient(#dfd,#80ff80);background-image:linear-gradient(#dfd,#80ff80);font-weight:bold}.sortAscHead{background-color:#6d95e1}.sortDescHead{background-color:#4870be}.sortAscCell{background-color:#f5f7fb}.sortDescCell{background-color:#e9ebef}.divTitoloAdmin{background-color:#bf8130;padding:5px 0 5px 5px;color:#fff}A:hover{color:red}.float-left{float:left}.float-right{float:right}.divSx{float:left}.divDx{float:right}.divCenter{float:none;text-align:center;padding:0;margin:0 auto 0 auto}.clearDiv{clear:both}.padSxDx{padding-left:2px;padding-right:2px}.shadowBox{-moz-box-shadow:0 4px 8px rgba(0,0,0,.5);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.5);box-shadow:0 4px 8px rgba(0,0,0,.5)}.half{width:50%}.third{width:33%}.quarter{width:25%}.fifth{width:20%}.modalBackground{background-color:gray;filter:alpha(opacity=70);opacity:.7}.btnNew{background-image:url(../images/new_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnDelete{background-image:url(../images/elimina_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnUpdate{background-image:url(../images/reload_l.png);background-repeat:no-repeat;background-position:center right;background-color:#dedede;width:160px;height:40px;border:1px solid #333;vertical-align:middle;margin:auto;font-size:10pt;font-family:Arial}.btnMoveBig{background-image:url(../images/InOutArrows_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:8px;padding-right:32px}.btnEditBig{background-image:url(../images/edit_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnEdit{background-image:url(../images/edit_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnClonaBig{background-image:url(../images/clonaObj_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnClona{background-image:url(../images/clonaObj_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnRosso{border:solid 2px red;background-color:#faa;width:100%;text-align:center}.btnRossoGrad{border:solid 2px red;background-color:#faa;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#faa),to(red));background-image:-webkit-linear-gradient(#faa,red);background-image:-moz-linear-gradient(#faa,red);background-image:-ms-linear-gradient(#faa,red);background-image:-o-linear-gradient(#faa,red);background-image:linear-gradient(#faa,red)}.btnArancio{border:solid 2px #e48800;background-color:#ffb44d;width:100%;text-align:center}.btnArancioGrad{border:solid 2px #e48800;background-color:#ffb44d;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffb44d),to(#e48800));background-image:-webkit-linear-gradient(#ffb44d,#e48800);background-image:-moz-linear-gradient(#ffb44d,#e48800);background-image:-ms-linear-gradient(#ffb44d,#e48800);background-image:-o-linear-gradient(#ffb44d,#e48800);background-image:linear-gradient(#ffb44d,#e48800)}.btnVerde{border:solid 2px green;background-color:#afa;width:100%;text-align:center}.btnVerdeGrad{border:solid 2px green;background-color:#afa;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#afa),to(green));background-image:-webkit-linear-gradient(#afa,green);background-image:-moz-linear-gradient(#afa,green);background-image:-ms-linear-gradient(#afa,green);background-image:-o-linear-gradient(#afa,green);background-image:linear-gradient(#afa,green)}.btnBlu{border:solid 2px blue;background-color:#aaf;width:100%;text-align:center}.btnPreferred{font-size:3em;border:solid 4px red;background-color:#ffacac;width:100%;min-height:200px;height:100%;text-align:center;white-space:pre}.btnStd{font-size:3em;color:#696969;border:solid 4px #333;background-color:#acacac;width:100%;min-height:200px;height:100%;text-align:center;white-space:pre}.btnDisabled{border:solid 2px #999;background-color:#dedede;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#dedede),to(#999));background-image:-webkit-linear-gradient(#dedede,#999);background-image:-moz-linear-gradient(#dedede,#999);background-image:-ms-linear-gradient(#dedede,#999);background-image:-o-linear-gradient(#dedede,#999);background-image:linear-gradient(#dedede,#999)}.btnGialloGrad{border:solid 2px #a93;background-color:#fe6;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#fe6),to(#a93));background-image:-webkit-linear-gradient(#fe6,#a93);background-image:-moz-linear-gradient(#fe6,#a93);background-image:-ms-linear-gradient(#fe6,#a93);background-image:-o-linear-gradient(#fe6,#a93);background-image:linear-gradient(#fe6,#a93)}.pad26{padding:2px 6px}.textArancio{color:#fa3}.textAzzurro{color:#36f}.textNero{color:#000}.textGrigio{color:#888}.badgeRosso{border:solid 2px red;background-color:#faa;width:100%;text-align:center}.badgeStd{border:solid 2px #333;background-color:#eee;width:100%;text-align:center}.badgeVerde{border:solid 2px green;background-color:#afa;width:100%;text-align:center}.badgeArancio{border:solid 2px #980;background-color:#fe6;width:100%;text-align:center}.rltUpdate{background-color:#ff3}.ui-autocomplete{max-height:200px;overflow-y:auto;overflow-x:hidden;padding-right:20px}li.static{margin:2px 4px 0 0;border-color:#cdcdcd;border-style:solid;border-width:1px 1px 0 1px;border-top-right-radius:4px;border-top-left-radius:4px}.menuNav{background-color:#e6e6e6;color:#284e98;font-size:1em;border-top-right-radius:4px;border-top-left-radius:4px}.menuNav:hover{background-color:#b5c7de;color:#000}div>ul>li>a.selected.menuNav{background-color:#fff;color:#000}.areaContMenu{background-color:#fff;padding:4px;border-color:#cdcdcd;border-style:solid;border-width:1px 1px 1px 1px}.roundedCorner{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.padStd{padding:4px}.sfondoGrigio{background-color:#ececec}.bordoGrigio{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #818181}.bordoVerde{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid green}.bordoRosso{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid red}.bordoNero{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #000;background-color:#fff}.bordoAzzurro{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #4da3ff}.placardGrigio{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #818181;background-color:#ececec}.docIcon{background-image:url(../images/download_s.png);background-repeat:no-repeat;background-position:right;padding:2px;padding-right:16px;min-height:16px}.filtro_1{background-color:#88f}.filtro_2{background-color:#aaf}.filtro_2:hover{color:#88f;background-color:#dedeff}.filtro_2 a:link{color:#fff;background-color:transparent}.filtro_3{background-color:#ccf}.filtro_4{background-color:#dedeff}.filtro_5{background-color:#efefff}.tabLabelGreen{background-color:#dfd;border-top:1px solid #393;border-left:1px solid #393;border-right:1px solid #393;height:1.5em;vertical-align:middle;padding-top:.5em;font-size:13pt;font-weight:bold}.tabBodyGreen{background-color:#dfd;border-bottom:1px solid green;border-left:1px solid green;border-right:1px solid green}.tabLabelGray{background-color:#dedede;border-top:1px solid #333;border-left:1px solid #333;border-right:1px solid #333;height:1.5em;vertical-align:middle;padding-top:.5em;font-size:13pt;font-weight:bold}.tabBodyGray{background-color:#dedede;border-bottom:1px solid #000;border-left:1px solid #000;border-right:1px solid #000}.fontTitolo{font-size:24pt;height:36px}.fontMedio{font-size:16pt}.fontStd{font-size:10pt}.fontPiccolo{font-size:8pt}.fontMini{font-size:7pt}.fontMicro{font-size:6pt}.labelInput{font-size:9pt;color:#555}.watermark{color:gray;font-style:italic}.autocomplete{width:400px;color:gray;background-color:#fff;font-size:8pt;padding:4px 1px 4px 1px;border-bottom:1px solid #888}.autocompleteHiglight{width:400px;color:#000;background-color:#ff0;font-size:8pt;padding:4px 1px 4px 1px;border-bottom:1px solid #888}.autocompleteElemID{width:400px;background-color:red;font-weight:bold}.autocompleteListCssClass{width:400px;font-size:8pt;background-color:#fff;padding:2px 2px 2px 2px;border:1px solid #333}.dataBlock{background-color:#fff;font-size:9pt;float:left;border-top:solid 1px gray;border-bottom:solid 1px gray;border-left:solid 1px gray;border-right:solid 1px gray;margin:0;padding:4px;vertical-align:text-top;text-align:left}.dataBlockHeader{border-top:solid 2px gray;border-bottom:solid 1px gray;border-left:solid 2px gray;border-right:solid 2px gray;background-color:#efefef;font-weight:bold;padding:2px}.dataBlockSx{float:left;text-align:left}.dataBlockDx{float:right;text-align:right}.dataBlockLabel{border-top:solid 1px #fefefe;padding-right:2px;padding-left:2px}.dataBlockValue{color:#000;font-weight:bold;padding-right:4px;padding-left:4px;margin-bottom:0}.dataBlockReset{clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockResetGray{border-bottom:solid 1px #cecece;clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockResetDark{border-bottom:solid 1px #363636;clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockBtn{background-color:#fafafa;border:solid 1px gray;padding-top:4px;padding-bottom:4px;vertical-align:text-top;margin:0;text-align:center}.blockSizeSmallest{width:175px}.blockSizeSmaller{width:200px}.blockSizeSmall{width:225px}.blockSizeMed{width:250px}.blockSizeLarge{width:275px}.blockSizeXLarge{width:300px}.blockSizeXXLarge{width:350px}.blockSizeXXXLarge{width:400px}.grView{color:#333;font-size:8pt;padding-left:1px;padding-right:1px;padding-top:1px;padding-bottom:1px}.ctrHeaderPager{background-color:#b8b8b8;font-weight:bold;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{vertical-align:top;background-color:#eff3fb}.valignMiddle{vertical-align:middle}.lblErrore{color:red}.cTab{text-align:center;height:30px;border:solid 1px #777}.cEmp{background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#cdd5c4));background-image:-webkit-linear-gradient(#fff,#cdd5c4);background-image:-moz-linear-gradient(#fff,#cdd5c4);background-image:-ms-linear-gradient(#fff,#cdd5c4);background-image:-o-linear-gradient(#fff,#cdd5c4);background-image:linear-gradient(#fff,#cdd5c4)}.cS01{background-color:#cdd5c4;background-image:-webkit-gradient(linear,left top,left bottom,from(#cbff4e),to(#cdd5c4));background-image:-webkit-linear-gradient(#cbff4e,#cdd5c4);background-image:-moz-linear-gradient(#cbff4e,#cdd5c4);background-image:-ms-linear-gradient(#cbff4e,#cdd5c4);background-image:-o-linear-gradient(#cbff4e,#cdd5c4);background-image:linear-gradient(#cbff4e,#cdd5c4)}.cS02{background-color:#ffff73;background-image:-webkit-gradient(linear,left top,left bottom,from(#cbff4e),to(#ffff73));background-image:-webkit-linear-gradient(#cbff4e,#ffff73);background-image:-moz-linear-gradient(#cbff4e,#ffff73);background-image:-ms-linear-gradient(#cbff4e,#ffff73);background-image:-o-linear-gradient(#cbff4e,#ffff73);background-image:linear-gradient(#cbff4e,#ffff73);color:#fff}.cS03{background-color:#ffff73;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffd88d),to(#ffff73));background-image:-webkit-linear-gradient(#ffd88d,#ffff73);background-image:-moz-linear-gradient(#ffd88d,#ffff73);background-image:-ms-linear-gradient(#ffd88d,#ffff73);background-image:-o-linear-gradient(#ffd88d,#ffff73);background-image:linear-gradient(#ffd88d,#ffff73);color:#fff}.cS04{background-color:#ffd88d;background-image:-webkit-gradient(linear,left top,left bottom,from(#ee8b8b),to(#ffd88d));background-image:-webkit-linear-gradient(#ee8b8b,#ffd88d);background-image:-moz-linear-gradient(#ee8b8b,#ffd88d);background-image:-ms-linear-gradient(#ee8b8b,#ffd88d);background-image:-o-linear-gradient(#ee8b8b,#ffd88d);background-image:linear-gradient(#ee8b8b,#ffd88d);color:#fff}.cOvr{background-color:#ee8b8b;background-image:-webkit-gradient(linear,left top,left bottom,from(#d52323),to(#ee8b8b));background-image:-webkit-linear-gradient(#d52323,#ee8b8b);background-image:-moz-linear-gradient(#d52323,#ee8b8b);background-image:-ms-linear-gradient(#d52323,#ee8b8b);background-image:-o-linear-gradient(#d52323,#ee8b8b);background-image:linear-gradient(#d52323,#ee8b8b)}.cBia{text-align:center;font-weight:bold;height:30px}.selCel{border:dashed 2px #000;text-align:center} \ No newline at end of file diff --git a/PROJ-ETS/PROJ-ETS/Test.aspx b/PROJ-ETS/PROJ-ETS/Test.aspx index 269e5f4..12a4351 100644 --- a/PROJ-ETS/PROJ-ETS/Test.aspx +++ b/PROJ-ETS/PROJ-ETS/Test.aspx @@ -4,7 +4,6 @@ <%@ Register Src="WebUserControls/mod_autocomplete.ascx" TagName="mod_autocomplete" TagPrefix="uc2" %> - +
+

Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.

+
- -
- - -
- + +
diff --git a/PROJ-ETS/PROJ-ETS/Test.aspx.cs b/PROJ-ETS/PROJ-ETS/Test.aspx.cs index 6c00feb..133c50d 100644 --- a/PROJ-ETS/PROJ-ETS/Test.aspx.cs +++ b/PROJ-ETS/PROJ-ETS/Test.aspx.cs @@ -11,12 +11,17 @@ namespace PROJ_ETS { protected void Page_Load(object sender, EventArgs e) { - mod_autocomplete1.eh_valSelezionato += mod_autocomplete1_eh_valSelezionato; + //mod_autocomplete1.eh_valSelezionato += mod_autocomplete1_eh_valSelezionato; } private void mod_autocomplete1_eh_valSelezionato(object sender, EventArgs e) { - lblValore.Text = string.Format("Valore selezionato:{0}", mod_autocomplete1.valore); + //lblValore.Text = string.Format("Valore selezionato:{0}", mod_autocomplete1.valore); + } + + protected void btnApri_Click(object sender, EventArgs e) + { + lblOut.Text = string.Format("Dialog aperto {0:HH:mm:ss}", DateTime.Now); } } } \ No newline at end of file diff --git a/PROJ-ETS/PROJ-ETS/Test.aspx.designer.cs b/PROJ-ETS/PROJ-ETS/Test.aspx.designer.cs index a523601..75eca27 100644 --- a/PROJ-ETS/PROJ-ETS/Test.aspx.designer.cs +++ b/PROJ-ETS/PROJ-ETS/Test.aspx.designer.cs @@ -13,30 +13,21 @@ namespace PROJ_ETS { public partial class Test { /// - /// mod_periodoAnalisi1 control. + /// btnApri control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::PROJ_ETS.WebUserControls.mod_periodoAnalisi mod_periodoAnalisi1; + protected global::System.Web.UI.WebControls.Button btnApri; /// - /// mod_autocomplete1 control. + /// lblOut control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::PROJ_ETS.WebUserControls.mod_autocomplete mod_autocomplete1; - - /// - /// lblValore control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblValore; + protected global::System.Web.UI.WebControls.Label lblOut; } } diff --git a/PROJ-ETS/PROJ-ETS/Web.config b/PROJ-ETS/PROJ-ETS/Web.config index fff31f6..8cc82af 100644 --- a/PROJ-ETS/PROJ-ETS/Web.config +++ b/PROJ-ETS/PROJ-ETS/Web.config @@ -1,4 +1,4 @@ - + @@ -48,7 +48,8 @@ - + + @@ -70,7 +71,7 @@ --> - + diff --git a/PROJ-ETS/PROJ-ETS/WebMasterPages/Site.Master b/PROJ-ETS/PROJ-ETS/WebMasterPages/Site.Master index fb33203..4a289b1 100644 --- a/PROJ-ETS/PROJ-ETS/WebMasterPages/Site.Master +++ b/PROJ-ETS/PROJ-ETS/WebMasterPages/Site.Master @@ -58,6 +58,17 @@ changeYear: true, dateFormat: "dd-mm-yy" }); + $(function () { + $("#dialog-modal").dialog({ + //height: 140, + autoOpen: false, + //modal: true + }); + }); + $(".openDiag").click(function () { + var dlg = $("#dialog-modal").dialog("open"); + dlg.parent().appendTo(jQuery("form:first")); + }); }); // oggetto da legare all'update parziale ajax x sistemare btns & co @@ -79,6 +90,17 @@ dateFormat: "dd-mm-yy" }); }); + $(function () { + $("#dialog-modal").dialog({ + //height: 140, + autoOpen: false, + //modal: true + }); + }); + $(".openDiag").click(function () { + var dlg = $("#dialog-modal").dialog("open"); + dlg.parent().appendTo(jQuery("form:first")); + }); }); <%--testata pagina--%> diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx index cc53fd1..9b9837c 100644 --- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx +++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx @@ -3,13 +3,13 @@
Anno:  - +
Settimana:  - +
@@ -69,20 +69,20 @@
-
+
+ +
+ + +
+ +   +
+ +
-
- -
-
-
-

- mancano -

-
    -
  • editing cella dipendente/comemssa (in testata)
  • -
+
+
diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs index 5fcfa67..e22ce24 100644 --- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs +++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs @@ -16,8 +16,42 @@ namespace PROJ_ETS.WebUserControls public event EventHandler eh_newVal; protected int numDip = 0; protected int numComm = 0; - protected int IdxDipSel = 0; - protected int IdxFaseSel = 0; + protected int IdxDipSel + { + get + { + int answ = 0; + try + { + answ = utils.obj.IntSessionObj("IdxDipSel"); + } + catch + { } + return answ; + } + set + { + utils.obj.setSessionVal("IdxDipSel", value); + } + } + protected int IdxFaseSel + { + get + { + int answ = 0; + try + { + answ = utils.obj.IntSessionObj("IdxFaseSel"); + } + catch + { } + return answ; + } + set + { + utils.obj.setSessionVal("IdxFaseSel", value); + } + } protected ETS_Data.Type.BazaarRes[,] TabellaRisorse; protected int[] oreTotDip; protected int[] oreTotComm; @@ -26,6 +60,9 @@ namespace PROJ_ETS.WebUserControls protected Ds_ProjEts.BazaarRisorseDataTable tabBaz = new Ds_ProjEts.BazaarRisorseDataTable(); protected Ds_ProjEts.BazaarRisorseDataTable tabBazSingle = new Ds_ProjEts.BazaarRisorseDataTable(); protected DS_utilsProjEts.v_selCommesseDataTable tabComm = new DS_utilsProjEts.v_selCommesseDataTable(); + protected Ds_ProjEts.BazaarRisorseRow rigaBaz; + protected Ds_ProjEts.DipendentiRow rigaDip; + protected DS_utilsProjEts.v_selCommesseRow rigaComm; /// /// istante corrente /// @@ -48,6 +85,7 @@ namespace PROJ_ETS.WebUserControls ddlAnno.SelectedValue = adesso.Year.ToString(); ddlWeek.SelectedValue = (datario.WeekOfYearISO8601(adesso) + 1).ToString(); showPnlAddNewComm(false); + lblOut.Text = ""; } // carico tabelle: elenco dipendenti (raggruppato x tipo) ed elenco dip in bazaar... tabDip = DataProxy_ProjEts.DP.taDip.GetData(); @@ -106,9 +144,6 @@ namespace PROJ_ETS.WebUserControls int totCelle = 0; int idxDip = 0; // recupero il numero di TUTTE le celle - Ds_ProjEts.BazaarRisorseRow rigaBaz; - Ds_ProjEts.DipendentiRow rigaDip; - DS_utilsProjEts.v_selCommesseRow rigaComm; string css = ""; string tooltip = ""; try @@ -167,7 +202,7 @@ namespace PROJ_ETS.WebUserControls { css = "cTab cOvr"; } - tooltip = string.Format("{2} / {0} {1}", rigaDip.Cognome, rigaDip.Nome, rigaComm.label.Substring(0, 9)); + tooltip = string.Format("{2} / {0} {1}", rigaDip.Nome, rigaDip.Cognome, rigaComm.label.Substring(0, 9)); TabellaRisorse[pos_x, pos_y] = new ETS_Data.Type.BazaarRes(rigaBaz.SchemaWeek, tooltip, css, rigaBaz.idxDipendente, string.Format("{0} {1}", rigaDip.Nome, rigaDip.Cognome), rigaDip.SIGLA, rigaBaz.idxFase, rigaBaz.SchemaWeek, rigaBaz.OreTot); // aggiorno totali righe/colonne (comemsse/dip) oreTotDip[pos_x] += rigaBaz.OreTot; @@ -232,14 +267,14 @@ namespace PROJ_ETS.WebUserControls //cella! TableCell cell; cell = new TableCell(); - cell.CssClass = "cBia divDx"; + cell.CssClass = "cBia"; rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", tabBazSingle[pos_y].idxFase))[0]; if (showOre) { // aggiungo button x fare elemento cliccabile LinkButton lnkbDel = new LinkButton(); lnkbDel.ToolTip = string.Format("Click per eliminare commessa {0}", rigaComm.label.Substring(0, 9)); - lnkbDel.Text = string.Format("{0:0#} h [elimina]", oreTotComm[pos_y]); + lnkbDel.Text = string.Format("{0:0##} h [elimina]", oreTotComm[pos_y]); lnkbDel.Click += new EventHandler(lnkbDel_Click); lnkbDel.CommandArgument = rigaComm.value.ToString(); lnkbDel.OnClientClick = "return confirm('Confermi eliminazione record?')"; @@ -269,7 +304,7 @@ namespace PROJ_ETS.WebUserControls DataProxy_ProjEts.DP.taBaz.deleteByIdxFase(anno, settimana, idxFase); } catch - { } + { } doUpdate(); } /// @@ -281,20 +316,15 @@ namespace PROJ_ETS.WebUserControls { LinkButton lnk = (LinkButton)sender; // calcolo i parametri passati -#if false - string[] valori = SteamWare.StringSplitter.CSplitter.Split(lnk.CommandArgument.ToString(), "#", true, 2, SteamWare.StringSplitter.ComparisonMethod.Text); - // setto i valori in sessione - IdxCella = Convert.ToInt32(valori[0]); - memLayer.ML.setSessionVal("IdxCellaMag", valori[0], false); - memLayer.ML.setSessionVal("CodCellaMag", valori[1], false); - - // evento selezione che passa dati al modulo operazioniUdc - if (eh_selValore != null) - { - eh_selValore(this, new EventArgs()); - } - Response.Redirect("~/DettaglioBlocco.aspx"); -#endif + string[] valori = lnk.CommandArgument.ToString().Split('#'); + // salvo valori + IdxDipSel = Convert.ToInt32(valori[0]); + IdxFaseSel = Convert.ToInt32(valori[1]); + rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", IdxDipSel, IdxFaseSel))[0]; + rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", IdxDipSel))[0]; + rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", IdxFaseSel))[0]; + lblOut.Text = string.Format("Edit corrente: {0} {1} / {2} - valore originale {3}", rigaDip.Nome, rigaDip.Cognome, rigaComm.label.Substring(0, 9), rigaBaz.SchemaWeek); + doUpdate(); } /// /// esegue il vero plotting della tabella @@ -324,13 +354,13 @@ namespace PROJ_ETS.WebUserControls lnkb.ToolTip = TabellaRisorse[pos_x, pos_y].ToolTip; lnkb.Text = TabellaRisorse[pos_x, pos_y].Label; lnkb.Click += new EventHandler(lnkb_Click); + lnkb.CssClass = "openDiag"; // server x far si ceh apra il dialog modale... lnkb.CommandArgument = string.Format("{0}#{1}", TabellaRisorse[pos_x, pos_y].IdxDipendente, TabellaRisorse[pos_x, pos_y].IdxFase); // controllo se la cella è selezionata, nel caso BOLD! if (TabellaRisorse[pos_x, pos_y].IdxDipendente == IdxDipSel && TabellaRisorse[pos_x, pos_y].IdxFase == IdxFaseSel) { cell.CssClass = "selCel"; - btnReset.Visible = true; - } + } cell.Controls.Add(lnkb); // carico in cella di tabella il linkButton riga.Cells.Add(cell); @@ -357,6 +387,7 @@ namespace PROJ_ETS.WebUserControls /// private void showPnlAddNewComm(bool showPnlNew) { + lblOut.Text = ""; pnlAddNew.Visible = showPnlNew; if (showPnlNew) { @@ -460,5 +491,39 @@ namespace PROJ_ETS.WebUserControls Response.Redirect("~/DettaglioBlocco.aspx"); #endif } + + protected void btnSalva_Click(object sender, EventArgs e) + { + int allocazione = 0; + try + { + allocazione = Convert.ToInt32(txtAllocazione.Text.Trim()); + DataProxy_ProjEts.DP.taBaz.updateQuery(anno, settimana, IdxDipSel, IdxFaseSel, allocazione); + } + catch + { } + lblOut.Text = ""; + IdxDipSel = 0; + IdxFaseSel = 0; + Response.Redirect("Bazaar"); + } + + protected void btnCancel_Click(object sender, EventArgs e) + { + lblOut.Text = ""; + IdxDipSel = 0; + IdxFaseSel = 0; + Response.Redirect("Bazaar"); + } + + protected void txtAllocazione_TextChanged(object sender, EventArgs e) + { + btnSalva.Focus(); + showPnlAddNewComm(!pnlAddNew.Visible); + rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", IdxDipSel, IdxFaseSel))[0]; + rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", IdxDipSel))[0]; + rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", IdxFaseSel))[0]; + lblOut.Text = string.Format("Edit corrente: {0} {1} / {2} - valore originale {3}", rigaDip.Nome, rigaDip.Cognome, rigaComm.label.Substring(0, 9), rigaBaz.SchemaWeek); + } } } \ No newline at end of file diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.designer.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.designer.cs index 4cba358..20bdf12 100644 --- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.designer.cs +++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.designer.cs @@ -111,6 +111,51 @@ namespace PROJ_ETS.WebUserControls { /// protected global::System.Web.UI.WebControls.Button btnAddSelected; + /// + /// lblAllocazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAllocazione; + + /// + /// txtAllocazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtAllocazione; + + /// + /// btnSalva control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSalva; + + /// + /// btnCancel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCancel; + + /// + /// lblOut control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblOut; + /// /// tblBlocco control. /// @@ -119,14 +164,5 @@ namespace PROJ_ETS.WebUserControls { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Table tblBlocco; - - /// - /// btnReset control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btnReset; } } diff --git a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll index 7beff2d..ad20489 100644 Binary files a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll and b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll differ diff --git a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll index a865693..0eb21f4 100644 Binary files a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll and b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll differ diff --git a/PROJ-ETS/packages/AmplifyJS.1.1.0/AmplifyJS.1.1.0.nupkg b/PROJ-ETS/packages/AmplifyJS.1.1.0/AmplifyJS.1.1.0.nupkg deleted file mode 100644 index 08fab06..0000000 Binary files a/PROJ-ETS/packages/AmplifyJS.1.1.0/AmplifyJS.1.1.0.nupkg and /dev/null differ diff --git a/PROJ-ETS/packages/AmplifyJS.1.1.0/AmplifyJS.1.1.0.nuspec b/PROJ-ETS/packages/AmplifyJS.1.1.0/AmplifyJS.1.1.0.nuspec deleted file mode 100644 index 3352612..0000000 --- a/PROJ-ETS/packages/AmplifyJS.1.1.0/AmplifyJS.1.1.0.nuspec +++ /dev/null @@ -1,20 +0,0 @@ - - - - AmplifyJS - 1.1.0 - AmplifyJS - http://appendto.com - http://appendto.com - http://amplifyjs.com/ - http://amplifyjs.com/ - false - AmplifyJS solves the following problems: 1. Ajax Request Management - amplify.request provides a clean and elegant request abstraction for all types of data, even allowing for transformation prior to consumption. 2. Client Side Component Communication - amplify.publish/subscribe provides a clean, performant API for component to component communication. 3. Client Side Browser & Mobile Device Storage - amplify.store takes the confusion out of HTML5 localStorage. It doesn't get simpler than using amplify.store(key, data)! It even works flawlessly on mobile devices. - AmplifyJS is a set of components designed to solve common web application problems with a simplistic API. - es-US - javascript jquery html5 - - - - - \ No newline at end of file diff --git a/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/GPL-LICENSE.txt b/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/GPL-LICENSE.txt deleted file mode 100644 index 11dddd0..0000000 --- a/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/GPL-LICENSE.txt +++ /dev/null @@ -1,278 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. diff --git a/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/MIT-LICENSE.txt b/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/MIT-LICENSE.txt deleted file mode 100644 index 88ba3a6..0000000 --- a/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/MIT-LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright 2011 appendTo LLC. (http://appendto.com/team) - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/README.txt b/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/README.txt deleted file mode 100644 index 59a51e9..0000000 --- a/PROJ-ETS/packages/AmplifyJS.1.1.0/content/Scripts/README.txt +++ /dev/null @@ -1,26 +0,0 @@ -AmplifyJS 1.1.0 -http://amplifyjs.com -Developed & Maintained by http://appendto.com - -Thank you for downloading AmplifyJS 1.1.0! This folder contains the full distribution of -the AmplifyJS library including source and minified versions. - -[Licensing] -AmplifyJS is dual licensed under either the MIT or GPL licenses. Both licenses have been included -in the AmplifyJS download (and should be in the same folder as this file). View MIT-LICENSE.txt or -GPL-LICENSE.txt for further details. Additional licensing questions may be directed to -http://appendto.com or contact@appendto.com. - -[Including AmplifyJS In Your Project] -- To include all AmplifyJS components : Copy amplify.min.js into the appropriate location such as - /js/ and reference it via a