diff --git a/ETS_Data/DataProxy_ProjEts.cs b/ETS_Data/DataProxy_ProjEts.cs index 4e85b5e..efde73a 100644 --- a/ETS_Data/DataProxy_ProjEts.cs +++ b/ETS_Data/DataProxy_ProjEts.cs @@ -27,6 +27,7 @@ namespace ETS_Data public Ds_ProjEtsTableAdapters.ImpiegoRisorseTableAdapter taIR; public Ds_ProjEtsTableAdapters.LabelsCommTableAdapter taL2C; public Ds_ProjEtsTableAdapters.ReleasedWeekTableAdapter taReW; + public Ds_ProjEtsTableAdapters.TLockBazRATableAdapter taTLB; /* DS_utilsProjEts */ public DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter taSelCli; public DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter taSelPro; @@ -53,6 +54,7 @@ namespace ETS_Data taIR = new Ds_ProjEtsTableAdapters.ImpiegoRisorseTableAdapter(); taL2C = new Ds_ProjEtsTableAdapters.LabelsCommTableAdapter(); taReW = new Ds_ProjEtsTableAdapters.ReleasedWeekTableAdapter(); + taTLB = new Ds_ProjEtsTableAdapters.TLockBazRATableAdapter(); taSelCli = new DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter(); taSelPro = new DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter(); taSelCom = new DS_utilsProjEtsTableAdapters.v_selCommesseTableAdapter(); @@ -79,6 +81,7 @@ namespace ETS_Data taIR.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taL2C.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taReW.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); + taTLB.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taSelCli.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taSelPro.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taSelCom.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); diff --git a/ETS_Data/Ds_ProjEts.Designer.cs b/ETS_Data/Ds_ProjEts.Designer.cs index 63f656c..de2b3a0 100644 --- a/ETS_Data/Ds_ProjEts.Designer.cs +++ b/ETS_Data/Ds_ProjEts.Designer.cs @@ -58,6 +58,8 @@ namespace ETS_Data { private LabelsCommDataTable tableLabelsComm; + private TLockBazRADataTable tableTLockBazRA; + private global::System.Data.DataRelation relationAnagProgetti_AnagFasi; private global::System.Data.DataRelation relationDatiCommessa_AnagFasi; @@ -151,6 +153,9 @@ namespace ETS_Data { if ((ds.Tables["LabelsComm"] != null)) { base.Tables.Add(new LabelsCommDataTable(ds.Tables["LabelsComm"])); } + if ((ds.Tables["TLockBazRA"] != null)) { + base.Tables.Add(new TLockBazRADataTable(ds.Tables["TLockBazRA"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -339,6 +344,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 TLockBazRADataTable TLockBazRA { + get { + return this.tableTLockBazRA; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -457,6 +472,9 @@ namespace ETS_Data { if ((ds.Tables["LabelsComm"] != null)) { base.Tables.Add(new LabelsCommDataTable(ds.Tables["LabelsComm"])); } + if ((ds.Tables["TLockBazRA"] != null)) { + base.Tables.Add(new TLockBazRADataTable(ds.Tables["TLockBazRA"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -592,6 +610,12 @@ namespace ETS_Data { this.tableLabelsComm.InitVars(); } } + this.tableTLockBazRA = ((TLockBazRADataTable)(base.Tables["TLockBazRA"])); + if ((initTable == true)) { + if ((this.tableTLockBazRA != null)) { + this.tableTLockBazRA.InitVars(); + } + } this.relationAnagProgetti_AnagFasi = this.Relations["AnagProgetti_AnagFasi"]; this.relationDatiCommessa_AnagFasi = this.Relations["DatiCommessa_AnagFasi"]; this.relationDatiCommessa_DatiCommForn = this.Relations["DatiCommessa_DatiCommForn"]; @@ -643,6 +667,8 @@ namespace ETS_Data { base.Tables.Add(this.tableAnagLabels); this.tableLabelsComm = new LabelsCommDataTable(); base.Tables.Add(this.tableLabelsComm); + this.tableTLockBazRA = new TLockBazRADataTable(); + base.Tables.Add(this.tableTLockBazRA); this.relationAnagProgetti_AnagFasi = new global::System.Data.DataRelation("AnagProgetti_AnagFasi", new global::System.Data.DataColumn[] { this.tableAnagProgetti.idxProgettoColumn}, new global::System.Data.DataColumn[] { this.tableAnagFasi.idxProgettoColumn}, false); @@ -775,6 +801,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 ShouldSerializeTLockBazRA() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -881,6 +913,9 @@ namespace ETS_Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void LabelsCommRowChangeEventHandler(object sender, LabelsCommRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void TLockBazRARowChangeEventHandler(object sender, TLockBazRARowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -8064,6 +8099,295 @@ namespace ETS_Data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TLockBazRADataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxDipendente; + + private global::System.Data.DataColumn columnDtLock; + + private global::System.Data.DataColumn columnLockedBy; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TLockBazRADataTable() { + this.TableName = "TLockBazRA"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TLockBazRADataTable(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 TLockBazRADataTable(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 idxDipendenteColumn { + get { + return this.columnidxDipendente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DtLockColumn { + get { + return this.columnDtLock; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LockedByColumn { + get { + return this.columnLockedBy; + } + } + + [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 TLockBazRARow this[int index] { + get { + return ((TLockBazRARow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TLockBazRARowChangeEventHandler TLockBazRARowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TLockBazRARowChangeEventHandler TLockBazRARowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TLockBazRARowChangeEventHandler TLockBazRARowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TLockBazRARowChangeEventHandler TLockBazRARowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTLockBazRARow(TLockBazRARow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TLockBazRARow AddTLockBazRARow(int idxDipendente, System.DateTime DtLock, string LockedBy) { + TLockBazRARow rowTLockBazRARow = ((TLockBazRARow)(this.NewRow())); + object[] columnValuesArray = new object[] { + idxDipendente, + DtLock, + LockedBy}; + rowTLockBazRARow.ItemArray = columnValuesArray; + this.Rows.Add(rowTLockBazRARow); + return rowTLockBazRARow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TLockBazRARow FindByidxDipendente(int idxDipendente) { + return ((TLockBazRARow)(this.Rows.Find(new object[] { + idxDipendente}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + TLockBazRADataTable cln = ((TLockBazRADataTable)(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 TLockBazRADataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnidxDipendente = base.Columns["idxDipendente"]; + this.columnDtLock = base.Columns["DtLock"]; + this.columnLockedBy = base.Columns["LockedBy"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxDipendente); + this.columnDtLock = new global::System.Data.DataColumn("DtLock", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDtLock); + this.columnLockedBy = new global::System.Data.DataColumn("LockedBy", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLockedBy); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxDipendente}, true)); + this.columnidxDipendente.AllowDBNull = false; + this.columnidxDipendente.Unique = true; + this.columnDtLock.AllowDBNull = false; + this.columnLockedBy.AllowDBNull = false; + this.columnLockedBy.MaxLength = 250; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TLockBazRARow NewTLockBazRARow() { + return ((TLockBazRARow)(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 TLockBazRARow(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(TLockBazRARow); + } + + [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.TLockBazRARowChanged != null)) { + this.TLockBazRARowChanged(this, new TLockBazRARowChangeEvent(((TLockBazRARow)(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.TLockBazRARowChanging != null)) { + this.TLockBazRARowChanging(this, new TLockBazRARowChangeEvent(((TLockBazRARow)(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.TLockBazRARowDeleted != null)) { + this.TLockBazRARowDeleted(this, new TLockBazRARowChangeEvent(((TLockBazRARow)(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.TLockBazRARowDeleting != null)) { + this.TLockBazRARowDeleting(this, new TLockBazRARowChangeEvent(((TLockBazRARow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTLockBazRARow(TLockBazRARow 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_ProjEts ds = new Ds_ProjEts(); + 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 = "TLockBazRADataTable"; + 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 strongly named DataRow class. /// @@ -13089,6 +13413,54 @@ namespace ETS_Data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class TLockBazRARow : global::System.Data.DataRow { + + private TLockBazRADataTable tableTLockBazRA; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TLockBazRARow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTLockBazRA = ((TLockBazRADataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxDipendente { + get { + return ((int)(this[this.tableTLockBazRA.idxDipendenteColumn])); + } + set { + this[this.tableTLockBazRA.idxDipendenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DtLock { + get { + return ((global::System.DateTime)(this[this.tableTLockBazRA.DtLockColumn])); + } + set { + this[this.tableTLockBazRA.DtLockColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LockedBy { + get { + return ((string)(this[this.tableTLockBazRA.LockedByColumn])); + } + set { + this[this.tableTLockBazRA.LockedByColumn] = value; + } + } + } + /// ///Row event argument class /// @@ -13666,6 +14038,40 @@ namespace ETS_Data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class TLockBazRARowChangeEvent : global::System.EventArgs { + + private TLockBazRARow 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 TLockBazRARowChangeEvent(TLockBazRARow 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 TLockBazRARow 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; + } + } + } } } namespace ETS_Data.Ds_ProjEtsTableAdapters { @@ -21545,6 +21951,468 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; } } + /// + ///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 TLockBazRATableAdapter : 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 TLockBazRATableAdapter() { + 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 = "TLockBazRA"; + tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente"); + tableMapping.ColumnMappings.Add("DtLock", "DtLock"); + tableMapping.ColumnMappings.Add("LockedBy", "LockedBy"); + 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].[TLockBazRA] WHERE (([idxDipendente] = @Original_idxDipendente)" + + " AND ([DtLock] = @Original_DtLock) AND ([LockedBy] = @Original_LockedBy))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtLock", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtLock", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LockedBy", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LockedBy", 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].[TLockBazRA] ([idxDipendente], [DtLock], [LockedBy]) VALUES (@i" + + "dxDipendente, @DtLock, @LockedBy);\r\nSELECT idxDipendente, DtLock, LockedBy FROM " + + "TLockBazRA WHERE (idxDipendente = @idxDipendente)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtLock", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtLock", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LockedBy", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LockedBy", 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].[TLockBazRA] SET [idxDipendente] = @idxDipendente, [DtLock] = @DtLock, [LockedBy] = @LockedBy WHERE (([idxDipendente] = @Original_idxDipendente) AND ([DtLock] = @Original_DtLock) AND ([LockedBy] = @Original_LockedBy)); +SELECT idxDipendente, DtLock, LockedBy FROM TLockBazRA WHERE (idxDipendente = @idxDipendente)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtLock", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtLock", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LockedBy", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LockedBy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtLock", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtLock", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LockedBy", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LockedBy", 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[5]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT idxDipendente, DtLock, LockedBy FROM dbo.TLockBazRA"; + 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_TLB_getByDip"; + 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("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_TLB_lockDip"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LockedBy", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_TLB_unlockDip"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_TLB_unlockExpired"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@expireMin", 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()] + [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_ProjEts.TLockBazRADataTable 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_ProjEts.TLockBazRADataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + Ds_ProjEts.TLockBazRADataTable dataTable = new Ds_ProjEts.TLockBazRADataTable(); + 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_ProjEts.TLockBazRADataTable getByDip(global::System.Nullable idxDipendente) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((idxDipendente.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + Ds_ProjEts.TLockBazRADataTable dataTable = new Ds_ProjEts.TLockBazRADataTable(); + 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_ProjEts.TLockBazRADataTable 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_ProjEts dataSet) { + return this.Adapter.Update(dataSet, "TLockBazRA"); + } + + [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(int Original_idxDipendente, System.DateTime Original_DtLock, string Original_LockedBy) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxDipendente)); + this.Adapter.DeleteCommand.Parameters[1].Value = ((System.DateTime)(Original_DtLock)); + if ((Original_LockedBy == null)) { + throw new global::System.ArgumentNullException("Original_LockedBy"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_LockedBy)); + } + 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(int idxDipendente, System.DateTime DtLock, string LockedBy) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxDipendente)); + this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(DtLock)); + if ((LockedBy == null)) { + throw new global::System.ArgumentNullException("LockedBy"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(LockedBy)); + } + 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(int idxDipendente, System.DateTime DtLock, string LockedBy, int Original_idxDipendente, System.DateTime Original_DtLock, string Original_LockedBy) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxDipendente)); + this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(DtLock)); + if ((LockedBy == null)) { + throw new global::System.ArgumentNullException("LockedBy"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(LockedBy)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxDipendente)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(Original_DtLock)); + if ((Original_LockedBy == null)) { + throw new global::System.ArgumentNullException("Original_LockedBy"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_LockedBy)); + } + 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(System.DateTime DtLock, string LockedBy, int Original_idxDipendente, System.DateTime Original_DtLock, string Original_LockedBy) { + return this.Update(Original_idxDipendente, DtLock, LockedBy, Original_idxDipendente, Original_DtLock, Original_LockedBy); + } + + [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 lockDip(global::System.Nullable idxDipendente, string LockedBy) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((idxDipendente.HasValue == true)) { + command.Parameters[1].Value = ((int)(idxDipendente.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((LockedBy == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(LockedBy)); + } + 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; + } + + [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 unlockDip(global::System.Nullable idxDipendente) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((idxDipendente.HasValue == true)) { + command.Parameters[1].Value = ((int)(idxDipendente.Value)); + } + else { + command.Parameters[1].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; + } + + [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, false)] + public virtual int unlockExpired(global::System.Nullable expireMin) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((expireMin.HasValue == true)) { + command.Parameters[1].Value = ((int)(expireMin.Value)); + } + else { + command.Parameters[1].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; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -21583,6 +22451,8 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; private LabelsCommTableAdapter _labelsCommTableAdapter; + private TLockBazRATableAdapter _tLockBazRATableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -21780,6 +22650,20 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; } } + [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 TLockBazRATableAdapter TLockBazRATableAdapter { + get { + return this._tLockBazRATableAdapter; + } + set { + this._tLockBazRATableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -21851,6 +22735,10 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; && (this._labelsCommTableAdapter.Connection != null))) { return this._labelsCommTableAdapter.Connection; } + if (((this._tLockBazRATableAdapter != null) + && (this._tLockBazRATableAdapter.Connection != null))) { + return this._tLockBazRATableAdapter.Connection; + } return null; } set { @@ -21903,6 +22791,9 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; if ((this._labelsCommTableAdapter != null)) { count = (count + 1); } + if ((this._tLockBazRATableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -21977,6 +22868,15 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; allChangedRows.AddRange(updatedRows); } } + if ((this._labelsCommTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.LabelsComm.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._labelsCommTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._dip2ATRTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Dip2ATR.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -22022,12 +22922,12 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; allChangedRows.AddRange(updatedRows); } } - if ((this._labelsCommTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.LabelsComm.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._tLockBazRATableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TLockBazRA.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._labelsCommTableAdapter.Update(updatedRows)); + result = (result + this._tLockBazRATableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -22097,6 +22997,14 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; allAddedRows.AddRange(addedRows); } } + if ((this._labelsCommTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.LabelsComm.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._labelsCommTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._dip2ATRTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Dip2ATR.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -22137,11 +23045,11 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; allAddedRows.AddRange(addedRows); } } - if ((this._labelsCommTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.LabelsComm.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._tLockBazRATableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TLockBazRA.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._labelsCommTableAdapter.Update(addedRows)); + result = (result + this._tLockBazRATableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -22155,11 +23063,11 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateDeletedRows(Ds_ProjEts dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; - if ((this._labelsCommTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.LabelsComm.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._tLockBazRATableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TLockBazRA.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._labelsCommTableAdapter.Update(deletedRows)); + result = (result + this._tLockBazRATableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -22203,6 +23111,14 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; allChangedRows.AddRange(deletedRows); } } + if ((this._labelsCommTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.LabelsComm.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._labelsCommTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._bdgtRisorseFasiTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.BdgtRisorseFasi.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -22363,6 +23279,11 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._tLockBazRATableAdapter != null) + && (this.MatchTableAdapterConnection(this._tLockBazRATableAdapter.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" + @@ -22512,6 +23433,15 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; adaptersWithAcceptChangesDuringUpdate.Add(this._labelsCommTableAdapter.Adapter); } } + if ((this._tLockBazRATableAdapter != null)) { + revertConnections.Add(this._tLockBazRATableAdapter, this._tLockBazRATableAdapter.Connection); + this._tLockBazRATableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._tLockBazRATableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._tLockBazRATableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._tLockBazRATableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._tLockBazRATableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -22622,6 +23552,10 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)"; this._labelsCommTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._labelsCommTableAdapter])); this._labelsCommTableAdapter.Transaction = null; } + if ((this._tLockBazRATableAdapter != null)) { + this._tLockBazRATableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tLockBazRATableAdapter])); + this._tLockBazRATableAdapter.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_ProjEts.xsd b/ETS_Data/Ds_ProjEts.xsd index 8ae6d60..13c43e5 100644 --- a/ETS_Data/Ds_ProjEts.xsd +++ b/ETS_Data/Ds_ProjEts.xsd @@ -1675,6 +1675,105 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa + + + + + + DELETE FROM [dbo].[TLockBazRA] WHERE (([idxDipendente] = @Original_idxDipendente) AND ([DtLock] = @Original_DtLock) AND ([LockedBy] = @Original_LockedBy)) + + + + + + + + + + INSERT INTO [dbo].[TLockBazRA] ([idxDipendente], [DtLock], [LockedBy]) VALUES (@idxDipendente, @DtLock, @LockedBy); +SELECT idxDipendente, DtLock, LockedBy FROM TLockBazRA WHERE (idxDipendente = @idxDipendente) + + + + + + + + + + SELECT idxDipendente, DtLock, LockedBy FROM dbo.TLockBazRA + + + + + + UPDATE [dbo].[TLockBazRA] SET [idxDipendente] = @idxDipendente, [DtLock] = @DtLock, [LockedBy] = @LockedBy WHERE (([idxDipendente] = @Original_idxDipendente) AND ([DtLock] = @Original_DtLock) AND ([LockedBy] = @Original_LockedBy)); +SELECT idxDipendente, DtLock, LockedBy FROM TLockBazRA WHERE (idxDipendente = @idxDipendente) + + + + + + + + + + + + + + + + + + + + + + dbo.stp_TLB_getByDip + + + + + + + + + + + dbo.stp_TLB_lockDip + + + + + + + + + + + + dbo.stp_TLB_unlockDip + + + + + + + + + + + dbo.stp_TLB_unlockExpired + + + + + + + + + @@ -1683,7 +1782,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -1726,7 +1825,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -1776,7 +1875,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -1872,7 +1971,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -1923,7 +2022,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -1975,7 +2074,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2078,7 +2177,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2126,7 +2225,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2143,7 +2242,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2164,7 +2263,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2185,7 +2284,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2320,7 +2419,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2339,7 +2438,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2350,7 +2449,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2366,7 +2465,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2395,7 +2494,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2415,7 +2514,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa - + @@ -2429,6 +2528,21 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa + + + + + + + + + + + + + + + @@ -2509,16 +2623,20 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa + + + + - - - - - - - + + + + + + + \ No newline at end of file diff --git a/ETS_Data/Ds_ProjEts.xss b/ETS_Data/Ds_ProjEts.xss index b2a69a2..b9a85ce 100644 --- a/ETS_Data/Ds_ProjEts.xss +++ b/ETS_Data/Ds_ProjEts.xss @@ -4,28 +4,29 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + 370 @@ -37,7 +38,7 @@ - + 876 @@ -49,7 +50,7 @@ - + 1107 @@ -61,7 +62,7 @@ - + 1107 @@ -81,23 +82,23 @@ - + 495 91 - 403 + 458 91 - 403 - 679 + 458 + 667 - + 172 @@ -105,15 +106,15 @@ 172 - 826 + 747 - 235 - 826 + 290 + 747 - + 1298 diff --git a/ETS_Data/bin/ETS/ETS_Data.dll b/ETS_Data/bin/ETS/ETS_Data.dll index f3f40af..3cdb602 100644 Binary files a/ETS_Data/bin/ETS/ETS_Data.dll and b/ETS_Data/bin/ETS/ETS_Data.dll differ diff --git a/ETS_Data/obj/ETS/DesignTimeResolveAssemblyReferences.cache b/ETS_Data/obj/ETS/DesignTimeResolveAssemblyReferences.cache index 8dde906..9745ea8 100644 Binary files a/ETS_Data/obj/ETS/DesignTimeResolveAssemblyReferences.cache and b/ETS_Data/obj/ETS/DesignTimeResolveAssemblyReferences.cache differ diff --git a/ETS_Data/obj/ETS/ETS_Data.dll b/ETS_Data/obj/ETS/ETS_Data.dll index f3f40af..3cdb602 100644 Binary files a/ETS_Data/obj/ETS/ETS_Data.dll and b/ETS_Data/obj/ETS/ETS_Data.dll differ diff --git a/ETS_Data/obj/ETS/TempPE/Ds_ProjEts.Designer.cs.dll b/ETS_Data/obj/ETS/TempPE/Ds_ProjEts.Designer.cs.dll index 451c4f7..1bfa507 100644 Binary files a/ETS_Data/obj/ETS/TempPE/Ds_ProjEts.Designer.cs.dll and b/ETS_Data/obj/ETS/TempPE/Ds_ProjEts.Designer.cs.dll differ diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.css b/PROJ-ETS/PROJ-ETS/Content/Style.css index 882b081..f0c9612 100644 --- a/PROJ-ETS/PROJ-ETS/Content/Style.css +++ b/PROJ-ETS/PROJ-ETS/Content/Style.css @@ -1227,6 +1227,8 @@ div > ul > li > a.selected.menuNav { font-weight: bold; height: 20px; width: 29px; + -ms-align-content: center; + -webkit-align-content: center; align-content: center; } .selCel { @@ -1235,10 +1237,19 @@ div > ul > li > a.selected.menuNav { /*font-weight: bold;*/ text-align: center; } +.lockCol { + background-color: #288eff; + text-align: center; +} +.lockCol a:link { + color: #f8fbff; +} .cTab { text-align: center; height: 20px; width: 29px; + -ms-align-content: center; + -webkit-align-content: center; align-content: center; border: solid 1px #777; } diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.less b/PROJ-ETS/PROJ-ETS/Content/Style.less index 9a69d17..91bbc50 100644 --- a/PROJ-ETS/PROJ-ETS/Content/Style.less +++ b/PROJ-ETS/PROJ-ETS/Content/Style.less @@ -74,7 +74,7 @@ blockquote, q { /*#endregion */ /*Gestione label commessa*/ -.lblBox{ +.lblBox { font-size: 0.8em; border: 1px solid #0A64A4; background-color: #B8E1FD; @@ -1428,6 +1428,8 @@ div > ul > li > a.selected.menuNav { font-weight: bold; height: @altezzaCella; width: @larghCella; + -ms-align-content: center; + -webkit-align-content: center; align-content: center; } @@ -1437,10 +1439,20 @@ div > ul > li > a.selected.menuNav { text-align: center; } +.lockCol { + background-color: @R05; + text-align: center; + a:link { + color: @R01; + } +} + .cTab { text-align: center; height: @altezzaCella; width: @larghCella; + -ms-align-content: center; + -webkit-align-content: center; align-content: center; border: solid 1px @grigioCella; } diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.min.css b/PROJ-ETS/PROJ-ETS/Content/Style.min.css index f5fcd24..4d7a368 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;}.lblBox{font-size:.8em;border:1px solid #0a64a4;background-color:#b8e1fd;padding:0 4px;line-height:1.6em;}.GridPager a,.GridPager span{display:block;height:1.6em;width:2em;text-align:center;text-decoration:none;}.GridPager a{background-color:#f5f5f5;color:#969696;}.GridPager a:hover{background-color:#b8e1fd;color:#000;}.GridPager span{background-color:#a1dcf2;color:#000;font-weight:bold;}.imgNoPad{margin-top:-3px;margin-bottom:-7px;}.imgHead{margin:0;vertical-align:top;}.ui-dialog{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 .ui-dialog-titlebar{padding:.5em 1em .3em;position:relative;}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .2em 0;}.ui-dialog .ui-dialog-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 .ui-dialog-titlebar-close span{display:block;margin:1px;}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0;}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1;}.ui-dialog .ui-dialog-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 .ui-dialog-buttonpane .ui-dialog-buttonset{float:right;}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer;}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px;}.ui-draggable .ui-dialog-titlebar{cursor:move;}.ui-dialog{padding:0;}.ui-dialog .ui-dialog-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:#c0c0c0 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:#f00;}.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:#808080;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;}.btnPinned{background-image:url(../images/pin_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px;}.btnPinnedDis{background-image:url(../images/pinDis_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;}.btnEmail{background-image:url(../images/email_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:38px;}.btnRosso{border:solid 2px #f00;background-color:#faa;width:100%;text-align:center;}.btnRossoGrad{border:solid 2px #f00;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 #008000;background-color:#afa;width:100%;text-align:center;}.btnVerdeGrad{border:solid 2px #008000;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 #00f;background-color:#aaf;width:100%;text-align:center;}.btnPreferred{font-size:3em;border:solid 4px #f00;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;}.textVerde{color:#3a3;}.textRosso{color:#a33;}.badgeRosso{border:solid 2px #f00;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 #008000;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 #008000;}.bordoRosso{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #f00;}.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 #008000;border-left:1px solid #008000;border-right:1px solid #008000;}.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:#808080;font-style:italic;}.autocomplete{width:400px;color:#808080;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:#f00;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 #808080;border-bottom:solid 1px #808080;border-left:solid 1px #808080;border-right:solid 1px #808080;margin:0;padding:4px;vertical-align:text-top;text-align:left;}.dataBlockHeader{border-top:solid 2px #808080;border-bottom:solid 1px #808080;border-left:solid 2px #808080;border-right:solid 2px #808080;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 #808080;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:#f00;}.lblGreen{color:#00a300;}.lblBlu{color:#33f;}.cTabRO{text-align:center;height:16px;border:solid 1px #777;}.cEmp{background-color:#d5d5d5;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#d5d5d5));background-image:-webkit-linear-gradient(#f8fbff,#d5d5d5);background-image:-moz-linear-gradient(#f8fbff,#d5d5d5);background-image:-ms-linear-gradient(#f8fbff,#d5d5d5);background-image:-o-linear-gradient(#f8fbff,#d5d5d5);background-image:linear-gradient(#f8fbff,#d5d5d5);}.cS01{background-color:#f8fbff;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffff8e),to(#f8fbff));background-image:-webkit-linear-gradient(#ffff8e,#f8fbff);background-image:-moz-linear-gradient(#ffff8e,#f8fbff);background-image:-ms-linear-gradient(#ffff8e,#f8fbff);background-image:-o-linear-gradient(#ffff8e,#f8fbff);background-image:linear-gradient(#ffff8e,#f8fbff);}.cS02{background-color:#ffff8e;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffff4d),to(#ffff8e));background-image:-webkit-linear-gradient(#ffff4d,#ffff8e);background-image:-moz-linear-gradient(#ffff4d,#ffff8e);background-image:-ms-linear-gradient(#ffff4d,#ffff8e);background-image:-o-linear-gradient(#ffff4d,#ffff8e);background-image:linear-gradient(#ffff4d,#ffff8e);color:#333;}.cS03{background-color:#ffff4d;background-image:-webkit-gradient(linear,left top,left bottom,from(#f1f100),to(#ffff4d));background-image:-webkit-linear-gradient(#f1f100,#ffff4d);background-image:-moz-linear-gradient(#f1f100,#ffff4d);background-image:-ms-linear-gradient(#f1f100,#ffff4d);background-image:-o-linear-gradient(#f1f100,#ffff4d);background-image:linear-gradient(#f1f100,#ffff4d);color:#333;}.cS04{background-color:#f1f100;background-image:-webkit-gradient(linear,left top,left bottom,from(#e4e400),to(#f1f100));background-image:-webkit-linear-gradient(#e4e400,#f1f100);background-image:-moz-linear-gradient(#e4e400,#f1f100);background-image:-ms-linear-gradient(#e4e400,#f1f100);background-image:-o-linear-gradient(#e4e400,#f1f100);background-image:linear-gradient(#e4e400,#f1f100);color:#333;}.cOvr{background-color:#e4e400;background-image:-webkit-gradient(linear,left top,left bottom,from(#caca00),to(#e4e400));background-image:-webkit-linear-gradient(#caca00,#e4e400);background-image:-moz-linear-gradient(#caca00,#e4e400);background-image:-ms-linear-gradient(#caca00,#e4e400);background-image:-o-linear-gradient(#caca00,#e4e400);background-image:linear-gradient(#caca00,#e4e400);}.cBia{font-weight:bold;height:20px;width:29px;align-content:center;}.selCel{background-color:#cbebff;border:dashed 2px #2af;text-align:center;}.cTab{text-align:center;height:20px;width:29px;align-content:center;border:solid 1px #777;}.cREmp{background-color:#c3c3c3;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#c3c3c3));background-image:-webkit-linear-gradient(#f8fbff,#c3c3c3);background-image:-moz-linear-gradient(#f8fbff,#c3c3c3);background-image:-ms-linear-gradient(#f8fbff,#c3c3c3);background-image:-o-linear-gradient(#f8fbff,#c3c3c3);background-image:linear-gradient(#f8fbff,#c3c3c3);}.cR01{background-color:#f8fbff;background-image:-webkit-gradient(linear,left top,left bottom,from(#90c4ff),to(#f8fbff));background-image:-webkit-linear-gradient(#90c4ff,#f8fbff);background-image:-moz-linear-gradient(#90c4ff,#f8fbff);background-image:-ms-linear-gradient(#90c4ff,#f8fbff);background-image:-o-linear-gradient(#90c4ff,#f8fbff);background-image:linear-gradient(#90c4ff,#f8fbff);}.cR02{background-color:#90c4ff;background-image:-webkit-gradient(linear,left top,left bottom,from(#76b8ff),to(#90c4ff));background-image:-webkit-linear-gradient(#76b8ff,#90c4ff);background-image:-moz-linear-gradient(#76b8ff,#90c4ff);background-image:-ms-linear-gradient(#76b8ff,#90c4ff);background-image:-o-linear-gradient(#76b8ff,#90c4ff);background-image:linear-gradient(#76b8ff,#90c4ff);color:#fff;}.cR03{background-color:#76b8ff;background-image:-webkit-gradient(linear,left top,left bottom,from(#5caaff),to(#76b8ff));background-image:-webkit-linear-gradient(#5caaff,#76b8ff);background-image:-moz-linear-gradient(#5caaff,#76b8ff);background-image:-ms-linear-gradient(#5caaff,#76b8ff);background-image:-o-linear-gradient(#5caaff,#76b8ff);background-image:linear-gradient(#5caaff,#76b8ff);color:#fff;}.cR04{background-color:#5caaff;background-image:-webkit-gradient(linear,left top,left bottom,from(#288eff),to(#5caaff));background-image:-webkit-linear-gradient(#288eff,#5caaff);background-image:-moz-linear-gradient(#288eff,#5caaff);background-image:-ms-linear-gradient(#288eff,#5caaff);background-image:-o-linear-gradient(#288eff,#5caaff);background-image:linear-gradient(#288eff,#5caaff);color:#fff;}.cROvr{background-color:#288eff;background-image:-webkit-gradient(linear,left top,left bottom,from(#3333d9),to(#288eff));background-image:-webkit-linear-gradient(#3333d9,#288eff);background-image:-moz-linear-gradient(#3333d9,#288eff);background-image:-ms-linear-gradient(#3333d9,#288eff);background-image:-o-linear-gradient(#3333d9,#288eff);background-image:linear-gradient(#3333d9,#288eff);color:#fff;}.cRBia{white-space:nowrap;margin:auto;vertical-align:middle;font-weight:bold;height:16px;padding:0 2px;}.cCent{text-align:center;}.selCelR{background-color:#cbebff;border:dashed 2px #2af;text-align:center;}.cTEmp{background-color:#c3c3c3;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#c3c3c3));background-image:-webkit-linear-gradient(#f8fbff,#c3c3c3);background-image:-moz-linear-gradient(#f8fbff,#c3c3c3);background-image:-ms-linear-gradient(#f8fbff,#c3c3c3);background-image:-o-linear-gradient(#f8fbff,#c3c3c3);background-image:linear-gradient(#f8fbff,#c3c3c3);}.cTUnd{background-color:#ffb769;background-image:-webkit-gradient(linear,left top,left bottom,from(#ff851b),to(#ffb769));background-image:-webkit-linear-gradient(#ff851b,#ffb769);background-image:-moz-linear-gradient(#ff851b,#ffb769);background-image:-ms-linear-gradient(#ff851b,#ffb769);background-image:-o-linear-gradient(#ff851b,#ffb769);background-image:linear-gradient(#ff851b,#ffb769);color:#666;}.cTOk{background-color:#1bff1b;background-image:-webkit-gradient(linear,left top,left bottom,from(#009800),to(#1bff1b));background-image:-webkit-linear-gradient(#009800,#1bff1b);background-image:-moz-linear-gradient(#009800,#1bff1b);background-image:-ms-linear-gradient(#009800,#1bff1b);background-image:-o-linear-gradient(#009800,#1bff1b);background-image:linear-gradient(#009800,#1bff1b);color:#ff0;}.cTOvr{background-color:#ff871b;background-image:-webkit-gradient(linear,left top,left bottom,from(#c12424),to(#ff871b));background-image:-webkit-linear-gradient(#c12424,#ff871b);background-image:-moz-linear-gradient(#c12424,#ff871b);background-image:-ms-linear-gradient(#c12424,#ff871b);background-image:-o-linear-gradient(#c12424,#ff871b);background-image:linear-gradient(#c12424,#ff871b);color:#f6f6f6;}.cTBia{text-align:center;font-weight:bold;height:20px;padding:0 2px;}.selCelT{background-color:#cbebff;border:dashed 2px #2af;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;}.lblBox{font-size:.8em;border:1px solid #0a64a4;background-color:#b8e1fd;padding:0 4px;line-height:1.6em;}.GridPager a,.GridPager span{display:block;height:1.6em;width:2em;text-align:center;text-decoration:none;}.GridPager a{background-color:#f5f5f5;color:#969696;}.GridPager a:hover{background-color:#b8e1fd;color:#000;}.GridPager span{background-color:#a1dcf2;color:#000;font-weight:bold;}.imgNoPad{margin-top:-3px;margin-bottom:-7px;}.imgHead{margin:0;vertical-align:top;}.ui-dialog{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 .ui-dialog-titlebar{padding:.5em 1em .3em;position:relative;}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .2em 0;}.ui-dialog .ui-dialog-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 .ui-dialog-titlebar-close span{display:block;margin:1px;}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0;}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1;}.ui-dialog .ui-dialog-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 .ui-dialog-buttonpane .ui-dialog-buttonset{float:right;}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer;}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px;}.ui-draggable .ui-dialog-titlebar{cursor:move;}.ui-dialog{padding:0;}.ui-dialog .ui-dialog-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:#c0c0c0 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:#f00;}.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:#808080;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;}.btnPinned{background-image:url(../images/pin_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px;}.btnPinnedDis{background-image:url(../images/pinDis_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;}.btnEmail{background-image:url(../images/email_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:38px;}.btnRosso{border:solid 2px #f00;background-color:#faa;width:100%;text-align:center;}.btnRossoGrad{border:solid 2px #f00;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 #008000;background-color:#afa;width:100%;text-align:center;}.btnVerdeGrad{border:solid 2px #008000;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 #00f;background-color:#aaf;width:100%;text-align:center;}.btnPreferred{font-size:3em;border:solid 4px #f00;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;}.textVerde{color:#3a3;}.textRosso{color:#a33;}.badgeRosso{border:solid 2px #f00;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 #008000;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 #008000;}.bordoRosso{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #f00;}.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 #008000;border-left:1px solid #008000;border-right:1px solid #008000;}.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:#808080;font-style:italic;}.autocomplete{width:400px;color:#808080;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:#f00;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 #808080;border-bottom:solid 1px #808080;border-left:solid 1px #808080;border-right:solid 1px #808080;margin:0;padding:4px;vertical-align:text-top;text-align:left;}.dataBlockHeader{border-top:solid 2px #808080;border-bottom:solid 1px #808080;border-left:solid 2px #808080;border-right:solid 2px #808080;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 #808080;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:#f00;}.lblGreen{color:#00a300;}.lblBlu{color:#33f;}.cTabRO{text-align:center;height:16px;border:solid 1px #777;}.cEmp{background-color:#d5d5d5;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#d5d5d5));background-image:-webkit-linear-gradient(#f8fbff,#d5d5d5);background-image:-moz-linear-gradient(#f8fbff,#d5d5d5);background-image:-ms-linear-gradient(#f8fbff,#d5d5d5);background-image:-o-linear-gradient(#f8fbff,#d5d5d5);background-image:linear-gradient(#f8fbff,#d5d5d5);}.cS01{background-color:#f8fbff;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffff8e),to(#f8fbff));background-image:-webkit-linear-gradient(#ffff8e,#f8fbff);background-image:-moz-linear-gradient(#ffff8e,#f8fbff);background-image:-ms-linear-gradient(#ffff8e,#f8fbff);background-image:-o-linear-gradient(#ffff8e,#f8fbff);background-image:linear-gradient(#ffff8e,#f8fbff);}.cS02{background-color:#ffff8e;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffff4d),to(#ffff8e));background-image:-webkit-linear-gradient(#ffff4d,#ffff8e);background-image:-moz-linear-gradient(#ffff4d,#ffff8e);background-image:-ms-linear-gradient(#ffff4d,#ffff8e);background-image:-o-linear-gradient(#ffff4d,#ffff8e);background-image:linear-gradient(#ffff4d,#ffff8e);color:#333;}.cS03{background-color:#ffff4d;background-image:-webkit-gradient(linear,left top,left bottom,from(#f1f100),to(#ffff4d));background-image:-webkit-linear-gradient(#f1f100,#ffff4d);background-image:-moz-linear-gradient(#f1f100,#ffff4d);background-image:-ms-linear-gradient(#f1f100,#ffff4d);background-image:-o-linear-gradient(#f1f100,#ffff4d);background-image:linear-gradient(#f1f100,#ffff4d);color:#333;}.cS04{background-color:#f1f100;background-image:-webkit-gradient(linear,left top,left bottom,from(#e4e400),to(#f1f100));background-image:-webkit-linear-gradient(#e4e400,#f1f100);background-image:-moz-linear-gradient(#e4e400,#f1f100);background-image:-ms-linear-gradient(#e4e400,#f1f100);background-image:-o-linear-gradient(#e4e400,#f1f100);background-image:linear-gradient(#e4e400,#f1f100);color:#333;}.cOvr{background-color:#e4e400;background-image:-webkit-gradient(linear,left top,left bottom,from(#caca00),to(#e4e400));background-image:-webkit-linear-gradient(#caca00,#e4e400);background-image:-moz-linear-gradient(#caca00,#e4e400);background-image:-ms-linear-gradient(#caca00,#e4e400);background-image:-o-linear-gradient(#caca00,#e4e400);background-image:linear-gradient(#caca00,#e4e400);}.cBia{font-weight:bold;height:20px;width:29px;-ms-align-content:center;-webkit-align-content:center;align-content:center;}.selCel{background-color:#cbebff;border:dashed 2px #2af;text-align:center;}.lockCol{background-color:#288eff;text-align:center;}.lockCol a:link{color:#f8fbff;}.cTab{text-align:center;height:20px;width:29px;-ms-align-content:center;-webkit-align-content:center;align-content:center;border:solid 1px #777;}.cREmp{background-color:#c3c3c3;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#c3c3c3));background-image:-webkit-linear-gradient(#f8fbff,#c3c3c3);background-image:-moz-linear-gradient(#f8fbff,#c3c3c3);background-image:-ms-linear-gradient(#f8fbff,#c3c3c3);background-image:-o-linear-gradient(#f8fbff,#c3c3c3);background-image:linear-gradient(#f8fbff,#c3c3c3);}.cR01{background-color:#f8fbff;background-image:-webkit-gradient(linear,left top,left bottom,from(#90c4ff),to(#f8fbff));background-image:-webkit-linear-gradient(#90c4ff,#f8fbff);background-image:-moz-linear-gradient(#90c4ff,#f8fbff);background-image:-ms-linear-gradient(#90c4ff,#f8fbff);background-image:-o-linear-gradient(#90c4ff,#f8fbff);background-image:linear-gradient(#90c4ff,#f8fbff);}.cR02{background-color:#90c4ff;background-image:-webkit-gradient(linear,left top,left bottom,from(#76b8ff),to(#90c4ff));background-image:-webkit-linear-gradient(#76b8ff,#90c4ff);background-image:-moz-linear-gradient(#76b8ff,#90c4ff);background-image:-ms-linear-gradient(#76b8ff,#90c4ff);background-image:-o-linear-gradient(#76b8ff,#90c4ff);background-image:linear-gradient(#76b8ff,#90c4ff);color:#fff;}.cR03{background-color:#76b8ff;background-image:-webkit-gradient(linear,left top,left bottom,from(#5caaff),to(#76b8ff));background-image:-webkit-linear-gradient(#5caaff,#76b8ff);background-image:-moz-linear-gradient(#5caaff,#76b8ff);background-image:-ms-linear-gradient(#5caaff,#76b8ff);background-image:-o-linear-gradient(#5caaff,#76b8ff);background-image:linear-gradient(#5caaff,#76b8ff);color:#fff;}.cR04{background-color:#5caaff;background-image:-webkit-gradient(linear,left top,left bottom,from(#288eff),to(#5caaff));background-image:-webkit-linear-gradient(#288eff,#5caaff);background-image:-moz-linear-gradient(#288eff,#5caaff);background-image:-ms-linear-gradient(#288eff,#5caaff);background-image:-o-linear-gradient(#288eff,#5caaff);background-image:linear-gradient(#288eff,#5caaff);color:#fff;}.cROvr{background-color:#288eff;background-image:-webkit-gradient(linear,left top,left bottom,from(#3333d9),to(#288eff));background-image:-webkit-linear-gradient(#3333d9,#288eff);background-image:-moz-linear-gradient(#3333d9,#288eff);background-image:-ms-linear-gradient(#3333d9,#288eff);background-image:-o-linear-gradient(#3333d9,#288eff);background-image:linear-gradient(#3333d9,#288eff);color:#fff;}.cRBia{white-space:nowrap;margin:auto;vertical-align:middle;font-weight:bold;height:16px;padding:0 2px;}.cCent{text-align:center;}.selCelR{background-color:#cbebff;border:dashed 2px #2af;text-align:center;}.cTEmp{background-color:#c3c3c3;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#c3c3c3));background-image:-webkit-linear-gradient(#f8fbff,#c3c3c3);background-image:-moz-linear-gradient(#f8fbff,#c3c3c3);background-image:-ms-linear-gradient(#f8fbff,#c3c3c3);background-image:-o-linear-gradient(#f8fbff,#c3c3c3);background-image:linear-gradient(#f8fbff,#c3c3c3);}.cTUnd{background-color:#ffb769;background-image:-webkit-gradient(linear,left top,left bottom,from(#ff851b),to(#ffb769));background-image:-webkit-linear-gradient(#ff851b,#ffb769);background-image:-moz-linear-gradient(#ff851b,#ffb769);background-image:-ms-linear-gradient(#ff851b,#ffb769);background-image:-o-linear-gradient(#ff851b,#ffb769);background-image:linear-gradient(#ff851b,#ffb769);color:#666;}.cTOk{background-color:#1bff1b;background-image:-webkit-gradient(linear,left top,left bottom,from(#009800),to(#1bff1b));background-image:-webkit-linear-gradient(#009800,#1bff1b);background-image:-moz-linear-gradient(#009800,#1bff1b);background-image:-ms-linear-gradient(#009800,#1bff1b);background-image:-o-linear-gradient(#009800,#1bff1b);background-image:linear-gradient(#009800,#1bff1b);color:#ff0;}.cTOvr{background-color:#ff871b;background-image:-webkit-gradient(linear,left top,left bottom,from(#c12424),to(#ff871b));background-image:-webkit-linear-gradient(#c12424,#ff871b);background-image:-moz-linear-gradient(#c12424,#ff871b);background-image:-ms-linear-gradient(#c12424,#ff871b);background-image:-o-linear-gradient(#c12424,#ff871b);background-image:linear-gradient(#c12424,#ff871b);color:#f6f6f6;}.cTBia{text-align:center;font-weight:bold;height:20px;padding:0 2px;}.selCelT{background-color:#cbebff;border:dashed 2px #2af;text-align:center;} \ No newline at end of file diff --git a/PROJ-ETS/PROJ-ETS/Web.config b/PROJ-ETS/PROJ-ETS/Web.config index 900f022..44c86f6 100644 --- a/PROJ-ETS/PROJ-ETS/Web.config +++ b/PROJ-ETS/PROJ-ETS/Web.config @@ -59,7 +59,7 @@ - + diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs index 062851c..ef4ee67 100644 --- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs +++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs @@ -217,6 +217,7 @@ namespace PROJ_ETS.WebUserControls /// private void caricaDatiBlocco() { + unlockRes(); int totCelle = 0; int idxDip = 0; // recupero il numero di TUTTE le celle @@ -300,6 +301,18 @@ namespace PROJ_ETS.WebUserControls } } } + /// + /// sblocca le risorse scadute (= lock da oltre tempo max) + /// + private void unlockRes() + { + int minBlockEditRes = utils.obj.confReadInt("minBlockEditRes"); + if (minBlockEditRes > 0) + { + DataProxy_ProjEts.DP.taTLB.unlockExpired(minBlockEditRes); + } + } + /// /// disegna la riga di intestazione/chiusura x dipendenti /// @@ -488,6 +501,9 @@ namespace PROJ_ETS.WebUserControls // salvo valori IdxDipSel = Convert.ToInt32(valori[0]); IdxFaseSel = Convert.ToInt32(valori[1]); + // blocco dip! + DataProxy_ProjEts.DP.taTLB.lockDip(IdxDipSel, user_std.UtSn.NomeCognome); + // continuo 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]; @@ -540,6 +556,11 @@ namespace PROJ_ETS.WebUserControls { cell.CssClass = "selCel"; } + // altrimenti controllo se la COLONNA di un dip bloccato, nel caso SEGNALO e blocco.... + else if(DataProxy_ProjEts.DP.taTLB.getByDip(TabellaRisorse[pos_x, pos_y].IdxDipendente).Rows.Count>0) + { + cell.CssClass = "lockCol"; + } // carico in cella di tabella il linkButton riga.Cells.Add(cell); } @@ -715,6 +736,8 @@ namespace PROJ_ETS.WebUserControls { allocazione = Convert.ToInt32(txtAllocazione.Text.Trim()); DataProxy_ProjEts.DP.taBaz.updateQuery(anno, settimana, IdxDipSel, IdxFaseSel, allocazione); + // sblocco dip! + DataProxy_ProjEts.DP.taTLB.unlockDip(IdxDipSel); } catch { } @@ -727,6 +750,9 @@ namespace PROJ_ETS.WebUserControls protected void btnCancel_Click(object sender, EventArgs e) { + // sblocco dip! + DataProxy_ProjEts.DP.taTLB.unlockDip(IdxDipSel); + // resetto lblOut.Text = ""; IdxDipSel = 0; IdxFaseSel = 0; diff --git a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll index f3f40af..3cdb602 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 6637887..9b45c8b 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/PROJ-ETS/bin/PROJ-ETS.dll.config b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll.config index 900f022..44c86f6 100644 --- a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll.config +++ b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll.config @@ -59,7 +59,7 @@ - + diff --git a/PROJ-ETS/ReleaseClienti/ETS/PROJ-ETS.zip b/PROJ-ETS/ReleaseClienti/ETS/PROJ-ETS.zip index 5af37c2..1223cb3 100644 Binary files a/PROJ-ETS/ReleaseClienti/ETS/PROJ-ETS.zip and b/PROJ-ETS/ReleaseClienti/ETS/PROJ-ETS.zip differ diff --git a/VersGen/CodeVersion.cs b/VersGen/CodeVersion.cs index f08b4a9..d101ef3 100644 --- a/VersGen/CodeVersion.cs +++ b/VersGen/CodeVersion.cs @@ -5,7 +5,7 @@ using System.Reflection; -[assembly: AssemblyVersion("2.2.2.163")] -[assembly: AssemblyFileVersion("2.2.2.163")] +[assembly: AssemblyVersion("2.2.3.164")] +[assembly: AssemblyFileVersion("2.2.3.164")] [assembly: AssemblyCopyright("Steamware © 2013-2016")] [assembly: AssemblyCompany("Steamware")] diff --git a/VersGen/CodeVersion.tt b/VersGen/CodeVersion.tt index b66b0b5..786b23b 100644 --- a/VersGen/CodeVersion.tt +++ b/VersGen/CodeVersion.tt @@ -6,8 +6,8 @@ using System.Reflection; -[assembly: AssemblyVersion("2.2.2.<#= this.RevisionNumber #>")] -[assembly: AssemblyFileVersion("2.2.2.<#= this.RevisionNumber #>")] +[assembly: AssemblyVersion("2.2.3.<#= this.RevisionNumber #>")] +[assembly: AssemblyFileVersion("2.2.3.<#= this.RevisionNumber #>")] [assembly: AssemblyCopyright("Steamware © 2013-<#= DateTime.Now.Year #>")] [assembly: AssemblyCompany("Steamware")] <#+ diff --git a/VersGen/bin/Release/VersGen.dll b/VersGen/bin/Release/VersGen.dll index e49b4db..73b07b5 100644 Binary files a/VersGen/bin/Release/VersGen.dll and b/VersGen/bin/Release/VersGen.dll differ diff --git a/VersGen/obj/Release/TempPE/CodeVersion.cs.dll b/VersGen/obj/Release/TempPE/CodeVersion.cs.dll index 4ced7da..400d5ea 100644 Binary files a/VersGen/obj/Release/TempPE/CodeVersion.cs.dll and b/VersGen/obj/Release/TempPE/CodeVersion.cs.dll differ diff --git a/VersGen/obj/Release/VersGen.dll b/VersGen/obj/Release/VersGen.dll index e49b4db..73b07b5 100644 Binary files a/VersGen/obj/Release/VersGen.dll and b/VersGen/obj/Release/VersGen.dll differ