continuo fix grafico commesse

This commit is contained in:
Samuele Locatelli
2013-07-11 11:02:10 +02:00
parent e1965dc6de
commit e64422cba0
14 changed files with 83 additions and 44 deletions
+23 -10
View File
@@ -8604,6 +8604,7 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchText", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showFasi", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showCommArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showCommZeroH", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
@@ -8645,7 +8646,7 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
[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.AnagCommFasiDataTable dataTable, string searchText, global::System.Nullable<bool> showCommArch, global::System.Nullable<bool> showCommZeroH) {
public virtual int Fill(Ds_ProjEts.AnagCommFasiDataTable dataTable, string searchText, global::System.Nullable<bool> showFasi, global::System.Nullable<bool> showCommArch, global::System.Nullable<bool> showCommZeroH) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((searchText == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -8653,18 +8654,24 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchText));
}
if ((showCommArch.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(showCommArch.Value));
if ((showFasi.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(showFasi.Value));
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((showCommZeroH.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(showCommZeroH.Value));
if ((showCommArch.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(showCommArch.Value));
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
if ((showCommZeroH.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(showCommZeroH.Value));
}
else {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
@@ -8676,7 +8683,7 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
[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.AnagCommFasiDataTable GetData(string searchText, global::System.Nullable<bool> showCommArch, global::System.Nullable<bool> showCommZeroH) {
public virtual Ds_ProjEts.AnagCommFasiDataTable GetData(string searchText, global::System.Nullable<bool> showFasi, global::System.Nullable<bool> showCommArch, global::System.Nullable<bool> showCommZeroH) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((searchText == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -8684,18 +8691,24 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchText));
}
if ((showCommArch.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(showCommArch.Value));
if ((showFasi.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(showFasi.Value));
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((showCommZeroH.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(showCommZeroH.Value));
if ((showCommArch.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(showCommArch.Value));
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
if ((showCommZeroH.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(showCommZeroH.Value));
}
else {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
Ds_ProjEts.AnagCommFasiDataTable dataTable = new Ds_ProjEts.AnagCommFasiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
+11 -10
View File
@@ -600,6 +600,7 @@
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@searchText" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@showFasi" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@showCommArch" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@showCommZeroH" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
@@ -688,7 +689,7 @@
<xs:element name="Ds_ProjEts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Ds_ProjEts" msprop:Generator_UserDSName="Ds_ProjEts">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_RowClassName="AnagProgettiRow" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent" msprop:Generator_RowClassName="AnagProgettiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
@@ -731,7 +732,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -781,7 +782,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_RowClassName="DatiCommessaRow" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent">
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent" msprop:Generator_RowClassName="DatiCommessaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -869,7 +870,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent" msprop:Generator_RowClassName="DatiCommFornRow">
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_RowClassName="DatiCommFornRow" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCF" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCF" msprop:Generator_ColumnPropNameInRow="idxDCF" msprop:Generator_ColumnPropNameInTable="idxDCFColumn" msprop:Generator_UserColumnName="idxDCF" type="xs:int" />
@@ -913,7 +914,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent" msprop:Generator_RowClassName="DatiCommIntegRow">
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_RowClassName="DatiCommIntegRow" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCI" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCI" msprop:Generator_ColumnPropNameInRow="idxDCI" msprop:Generator_ColumnPropNameInTable="idxDCIColumn" msprop:Generator_UserColumnName="idxDCI" type="xs:int" />
@@ -958,7 +959,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent" msprop:Generator_RowClassName="AnagCommFasiRow">
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_RowClassName="AnagCommFasiRow" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" minOccurs="0" />
@@ -1067,10 +1068,10 @@
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+4 -1
View File
@@ -14,7 +14,10 @@
AutoPostBack="True" Checked="false" AccessKey="a" TextAlign="Left" />
</div>
<div class="divSx filtro_2 ui-corner-all" style="padding: 3px; margin-right: 4px; height: 32px;">
<asp:CheckBox ID="chkShowVuoti" runat="server" Text="Mostra [V]uoti" AutoPostBack="True" CheckedChanged="chkShowVuoti_CheckedChanged" Checked="true" AccessKey="v" TextAlign="Left" />
<asp:CheckBox ID="chkShowVuoti" runat="server" Text="Mostra [V]uoti" AutoPostBack="True" Checked="true" AccessKey="v" TextAlign="Left" OnCheckedChanged="chkShowVuoti_CheckedChanged" />
</div>
<div class="divSx filtro_2 ui-corner-all" style="padding: 3px; margin-right: 4px; height: 32px;">
<asp:CheckBox ID="chkShowFasi" runat="server" Text="Mostra Fa[s]i" AutoPostBack="True" OnCheckedChanged="chkShowFasi_CheckedChanged" Checked="true" AccessKey="s" TextAlign="Left" />
</div>
<div class="divSx filtro_2 ui-corner-all" style="padding: 3px; margin-right: 4px; height: 32px;">
<uc2:mod_periodoAnalisi ID="mod_periodoAnalisi1" runat="server" realtimeUpdate="true" labelPeriodo="Periodo (Resoconto Ore)" />
+24
View File
@@ -51,6 +51,20 @@ namespace PROJ_ETS
}
}
/// <summary>
/// determina se siano visibili le fasi delle commesse
/// </summary>
public bool showFasi
{
get
{
return utils.obj.BoolSessionObj("showFasi");
}
set
{
utils.obj.setSessionVal("showFasi", value);
}
}
/// <summary>
/// determina se mostrare commesse archiviate
/// </summary>
/// <param name="sender"></param>
@@ -71,6 +85,16 @@ namespace PROJ_ETS
mod_commesseFull1.doUpdate();
}
/// <summary>
/// cambia impsotazione show/hide fasi...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void chkShowFasi_CheckedChanged(object sender, EventArgs e)
{
showFasi = chkShowFasi.Checked;
mod_commesseFull1.doUpdate();
}
/// <summary>
/// salvo ricerca
/// </summary>
/// <param name="sender"></param>
+9
View File
@@ -48,6 +48,15 @@ namespace PROJ_ETS {
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkShowVuoti;
/// <summary>
/// chkShowFasi control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkShowFasi;
/// <summary>
/// mod_periodoAnalisi1 control.
/// </summary>
+1 -1
View File
@@ -11,7 +11,7 @@
</div>
<div class="divSx" style="width: 600px;">
<div style="height: 46px;"></div>
<uc2:mod_commesse ID="mod_commesse1" runat="server" Visible="false" enableNewFromEmpty="true" showSelect="false" />
<uc2:mod_commesse ID="mod_commesse1" runat="server" Visible="false" enableNewFromEmpty="true" showSelect="false" showEdit="true" />
<div style="text-align: center; margin: auto;">
<asp:Button runat="server" ID="btnSposta" Text="Sposta/Clona Commesse e fasi" Visible="false" CssClass="btnMoveBig ui-corner-all" ToolTip="Spostamento Commesse e Fasi" OnClick="btnSposta_Click" />
</div>
+1
View File
@@ -18,6 +18,7 @@ namespace PROJ_ETS
utils.obj.setSessionVal("showCommZeroH", 1);
utils.obj.emptySessionVal("idxCli_sel");
utils.obj.emptySessionVal("nomeCli_sel");
utils.obj.emptySessionVal("valoreCercato");
}
mod_progetti1.eh_selValore +=mod_progetti1_eh_selValore;
mod_progetti1.eh_resetSelezione+=mod_progetti1_eh_resetSelezione;
+1
View File
@@ -16,6 +16,7 @@ namespace PROJ_ETS
{
utils.obj.setSessionVal("showCommArch", 1);
utils.obj.setSessionVal("showCommZeroH", 1);
utils.obj.emptySessionVal("valoreCercato");
}
}
}
@@ -25,7 +25,7 @@
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="false">
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Seleziona" ImageUrl="../images/view_m.png" Visible='<%# showSelect %>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Modifica" ImageUrl="../images/edit_m.png" Visible='<%# isWritable() %>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Modifica" ImageUrl="../images/edit_m.png" Visible='<%# isWritable() && showEdit %>' />
<asp:ImageButton ID="imgDettComm" runat="server" CausesValidation="False" CommandArgument="dettComm" CommandName="Update"
ToolTip="Dati Commessa" ImageUrl="../images/naviga_m.png" OnClick="imgDettComm_Click" Visible='<%# isAncestor(Eval("idxFaseAncest")) %>' />
</ItemTemplate>
@@ -83,41 +83,23 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="T" SortExpression="enableTime">
<ItemTemplate>
<%--<ajaxtoolkit:togglebuttonextender id="tglTime" runat="server" targetcontrolid="chkenableTime" imagewidth="22" imageheight="22"
checkedimagealternatetext="Time track Attivo (s/n)" uncheckedimagealternatetext="Time track NON Attivo (s/n)" uncheckedimageurl="~/images/timeDis_m.png"
checkedimageurl="~/images/time_m.png" />--%>
<asp:CheckBox ID="chkenableTime" runat="server" Checked='<%# Eval("enableTime") %>' Enabled="false" ToolTip="Time Track Attivo (s/n)" />
</ItemTemplate>
<EditItemTemplate>
<%--<ajaxtoolkit:togglebuttonextender id="tglTime" runat="server" targetcontrolid="chkenableTime" imagewidth="22" imageheight="22"
checkedimagealternatetext="Time track Attivo (s/n)" uncheckedimagealternatetext="Time track NON Attivo (s/n)" uncheckedimageurl="~/images/timeDis_m.png"
checkedimageurl="~/images/time_m.png" />--%>
<asp:CheckBox ID="chkenableTime" runat="server" Checked='<%# Bind("enableTime") %>' Enabled="true" ToolTip="Time Track Attivo (s/n)" />
</EditItemTemplate>
<FooterTemplate>
<%--<ajaxtoolkit:togglebuttonextender id="tglTime" runat="server" targetcontrolid="chkenableTime" imagewidth="22" imageheight="22"
checkedimagealternatetext="Time track Attivo (s/n)" uncheckedimagealternatetext="Time track NON Attivo (s/n)" uncheckedimageurl="~/images/timeDis_m.png"
checkedimageurl="~/images/time_m.png" />--%>
<asp:CheckBox ID="chkenableTime" runat="server" Checked='<%# Bind("enableTime") %>' Enabled="true" ToolTip="Time Track Attivo (s/n)" />
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="M" SortExpression="enableMoney">
<ItemTemplate>
<%--<ajaxtoolkit:togglebuttonextender id="tglMoney" runat="server" targetcontrolid="chkenableMoney" imagewidth="22" imageheight="22"
checkedimagealternatetext="Money track Attivo (s/n)" uncheckedimagealternatetext="Money track NON Attivo (s/n)" uncheckedimageurl="~/images/moneyDis_m.png"
checkedimageurl="~/images/money_m.png" />--%>
<asp:CheckBox ID="chkenableMoney" runat="server" Checked='<%# Eval("enableMoney") %>' Enabled="false" ToolTip="Money Track Attivo (s/n)" />
</ItemTemplate>
<EditItemTemplate>
<%--<ajaxtoolkit:togglebuttonextender id="tglMoney" runat="server" targetcontrolid="chkenableMoney" imagewidth="22" imageheight="22"
checkedimagealternatetext="Money track Attivo (s/n)" uncheckedimagealternatetext="Money track NON Attivo (s/n)" uncheckedimageurl="~/images/moneyDis_m.png"
checkedimageurl="~/images/money_m.png" />--%>
<asp:CheckBox ID="chkenableMoney" runat="server" Checked='<%# Bind("enableMoney") %>' Enabled="true" ToolTip="Money Track Attivo (s/n)" />
</EditItemTemplate>
<FooterTemplate>
<%--<ajaxtoolkit:togglebuttonextender id="tglMoney" runat="server" targetcontrolid="chkenableMoney" imagewidth="22" imageheight="22"
checkedimagealternatetext="Money track Attivo (s/n)" uncheckedimagealternatetext="Money track NON Attivo (s/n)" uncheckedimageurl="~/images/moneyDis_m.png"
checkedimageurl="~/images/money_m.png" />--%>
<asp:CheckBox ID="chkenableMoney" runat="server" Checked='<%# Bind("enableMoney") %>' Enabled="true" ToolTip="Money Track Attivo (s/n)" />
</FooterTemplate>
</asp:TemplateField>
@@ -156,7 +138,7 @@
CommandArgument='<%# Eval("idxFase") %>' OnClick="btnNew_Click" ToolTip="Aggiungi Fase a commessa" Visible='<%# isAncestor(Eval("idxFaseAncest")) %>' />
&nbsp;
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandArgument='<%# Eval("idxFase") %>' CommandName="Delete"
ImageUrl="../images/elimina_m.png" ToolTip="Delete" Visible='<%# delEnabled(Eval("idxFase")) %>' OnClientClick="return confirm('Confermi eliminazione record?')" />
ImageUrl="../images/elimina_m.png" ToolTip="Delete" Visible='<%# delEnabled(Eval("idxFase")) && showEdit %>' OnClientClick="return confirm('Confermi eliminazione record?')" />
</div>
</ItemTemplate>
<EditItemTemplate>
@@ -623,6 +623,10 @@ namespace PROJ_ETS.WebUserControls
/// determina se mostrare lente di selezione in righe tabella
/// </summary>
public bool showSelect { get; set; }
/// <summary>
/// determina se mostrare edit in righe tabella
/// </summary>
public bool showEdit { get; set; }
#endregion
}
@@ -161,6 +161,7 @@
</DeleteParameters>
<SelectParameters>
<asp:SessionParameter SessionField="valoreCercato" Type="String" Name="searchText" DefaultValue="%" />
<asp:SessionParameter DefaultValue="True" Name="showFasi" SessionField="showFasi" Type="Boolean" />
<asp:SessionParameter DefaultValue="False" Name="showCommArch" SessionField="showCommArch" Type="Boolean" />
<asp:SessionParameter DefaultValue="True" Name="showCommZeroH" SessionField="showCommZeroH" Type="Boolean" />
</SelectParameters>
@@ -28,7 +28,7 @@
</asp:ObjectDataSource>
</div>
</div>
<uc1:mod_commesse ID="fasiFrom" runat="server" enableShowRA="true" enableNewFromEmpty="false" showSelect="true" />
<uc1:mod_commesse ID="fasiFrom" runat="server" enableShowRA="true" enableNewFromEmpty="false" showSelect="true" showEdit="false" />
</div>
<div class="divDx gradVerde ui-corner-all shadowBox" style="min-width: 400px; width: 48%; padding: 8px;">
<h2>Destinazione</h2>
@@ -47,7 +47,7 @@
</asp:ObjectDataSource>
</div>
</div>
<uc1:mod_commesse ID="fasiTo" runat="server" enableShowRA="false" enableNewFromEmpty="false" showSelect="true" />
<uc1:mod_commesse ID="fasiTo" runat="server" enableShowRA="false" enableNewFromEmpty="false" showSelect="true" showEdit="false" />
</div>
</div>
</div>
Binary file not shown.
Binary file not shown.