Fix grafici e buttons x edit

This commit is contained in:
Samuele E. Locatelli
2019-08-13 16:56:38 +02:00
parent 053b1d71b1
commit fbd0964ac3
6 changed files with 1260 additions and 53 deletions
+1037 -1
View File
File diff suppressed because it is too large Load Diff
+130
View File
@@ -848,6 +848,104 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C_TRACKConnectionString (Settings)" DbObjectName="C_TRACK.dbo.stp_TL2P_UpdateFase" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdateFase" Modifier="Public" Name="UpdateFase" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="UpdateFase">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TL2P_UpdateFase</CommandText>
<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="@Original_CodPost" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_NumTask" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodFase" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagStatiTableAdapter" GeneratorDataComponentClassName="AnagStatiTableAdapter" Name="AnagStati" UserDataComponentName="AnagStatiTableAdapter">
<MainSource>
<DbSource ConnectionRef="C_TRACKConnectionString (Settings)" DbObjectName="C_TRACK.dbo.AnagStati" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[AnagStati] WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato)) AND ((@IsNull_PrioritaStato = 1 AND [PrioritaStato] IS NULL) OR ([PrioritaStato] = @Original_PrioritaStato)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FamStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FamStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DescrStato" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DescrStato" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescrStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrioritaStato" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrioritaStato" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PrioritaStato" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrioritaStato" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagStati] ([CodStato], [FamStato], [DescrStato], [PrioritaStato]) VALUES (@CodStato, @FamStato, @DescrStato, @PrioritaStato);
SELECT CodStato, FamStato, DescrStato, PrioritaStato FROM AnagStati WHERE (CodStato = @CodStato)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FamStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FamStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PrioritaStato" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrioritaStato" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodStato, FamStato, DescrStato, PrioritaStato FROM dbo.AnagStati</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagStati] SET [CodStato] = @CodStato, [FamStato] = @FamStato, [DescrStato] = @DescrStato, [PrioritaStato] = @PrioritaStato WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato)) AND ((@IsNull_PrioritaStato = 1 AND [PrioritaStato] IS NULL) OR ([PrioritaStato] = @Original_PrioritaStato)));
SELECT CodStato, FamStato, DescrStato, PrioritaStato FROM AnagStati WHERE (CodStato = @CodStato)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FamStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FamStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PrioritaStato" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrioritaStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FamStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FamStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DescrStato" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DescrStato" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescrStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrioritaStato" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrioritaStato" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PrioritaStato" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrioritaStato" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodStato" DataSetColumn="CodStato" />
<Mapping SourceColumn="FamStato" DataSetColumn="FamStato" />
<Mapping SourceColumn="DescrStato" DataSetColumn="DescrStato" />
<Mapping SourceColumn="PrioritaStato" DataSetColumn="PrioritaStato" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C_TRACKConnectionString (Settings)" DbObjectName="C_TRACK.dbo.stp_AS_GetByFam" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByFam" GetMethodModifier="Public" GetMethodName="getByFam" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByFam" UserSourceName="getByFam">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AS_GetByFam</CommandText>
<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="@FamStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C_TRACKConnectionString (Settings)" DbObjectName="C_TRACK.dbo.stp_AS_GetByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AS_GetByKey</CommandText>
<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="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
@@ -1350,6 +1448,34 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagStati" msprop:Generator_TableClassName="AnagStatiDataTable" msprop:Generator_TableVarName="tableAnagStati" msprop:Generator_TablePropName="AnagStati" msprop:Generator_RowDeletingName="AnagStatiRowDeleting" msprop:Generator_RowChangingName="AnagStatiRowChanging" msprop:Generator_RowEvHandlerName="AnagStatiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagStatiRowDeleted" msprop:Generator_UserTableName="AnagStati" msprop:Generator_RowChangedName="AnagStatiRowChanged" msprop:Generator_RowEvArgName="AnagStatiRowChangeEvent" msprop:Generator_RowClassName="AnagStatiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" msprop:Generator_UserColumnName="CodStato">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FamStato" msprop:Generator_ColumnVarNameInTable="columnFamStato" msprop:Generator_ColumnPropNameInRow="FamStato" msprop:Generator_ColumnPropNameInTable="FamStatoColumn" msprop:Generator_UserColumnName="FamStato">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" msprop:Generator_UserColumnName="DescrStato" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PrioritaStato" msprop:Generator_ColumnVarNameInTable="columnPrioritaStato" msprop:Generator_ColumnPropNameInRow="PrioritaStato" msprop:Generator_ColumnPropNameInTable="PrioritaStatoColumn" msprop:Generator_UserColumnName="PrioritaStato" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -1391,6 +1517,10 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
<xs:selector xpath=".//mstns:AnagArticoli" />
<xs:field xpath="mstns:CodArt" />
</xs:unique>
<xs:unique name="AnagStati_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AnagStati" />
<xs:field xpath="mstns:CodStato" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
+16 -15
View File
@@ -4,21 +4,22 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="81" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:TaskList" ZOrder="3" X="91" Y="386" Height="381" Width="289" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagFasi" ZOrder="7" X="897" Y="421" Height="191" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:AnagOpr" ZOrder="14" X="900" Y="728" Height="153" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:TaskRec" ZOrder="6" X="519" Y="541" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagPost" ZOrder="5" X="519" Y="177" Height="267" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:TraEv2Stati" ZOrder="9" X="195" Y="1020" Height="248" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagEventi" ZOrder="8" X="903" Y="966" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PODL" ZOrder="4" X="560" Y="1047" Height="343" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagArticoli" ZOrder="2" X="258" Y="1475" Height="229" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:TaskList2Post" ZOrder="1" X="1184" Y="120" Height="324" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TaskList" ZOrder="4" X="91" Y="386" Height="381" Width="289" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagFasi" ZOrder="8" X="897" Y="421" Height="191" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:AnagOpr" ZOrder="15" X="900" Y="728" Height="153" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:TaskRec" ZOrder="7" X="519" Y="541" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagPost" ZOrder="6" X="519" Y="177" Height="267" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:TraEv2Stati" ZOrder="10" X="195" Y="1020" Height="248" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagEventi" ZOrder="9" X="903" Y="966" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PODL" ZOrder="5" X="560" Y="1047" Height="343" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagArticoli" ZOrder="3" X="258" Y="1475" Height="229" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:TaskList2Post" ZOrder="2" X="874" Y="66" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagStati" ZOrder="1" X="282" Y="103" Height="191" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_TaskRec_AnagFasi" ZOrder="13" LineWidth="11">
<Connector ID="DesignRelation:FK_TaskRec_AnagFasi" ZOrder="14" LineWidth="11">
<RoutePoints>
<Point>
<X>897</X>
@@ -30,7 +31,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_TaskRec_AnagOpr" ZOrder="12" LineWidth="11">
<Connector ID="DesignRelation:FK_TaskRec_AnagOpr" ZOrder="13" LineWidth="11">
<RoutePoints>
<Point>
<X>900</X>
@@ -42,7 +43,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:TaskRec_TaskList" ZOrder="11" LineWidth="11">
<Connector ID="DesignRelation:TaskRec_TaskList" ZOrder="12" LineWidth="11">
<RoutePoints>
<Point>
<X>519</X>
@@ -54,7 +55,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_TaskRec_AnagPost" ZOrder="10" LineWidth="11">
<Connector ID="DesignRelation:FK_TaskRec_AnagPost" ZOrder="11" LineWidth="11">
<RoutePoints>
<Point>
<X>626</X>
+2 -2
View File
@@ -6,7 +6,7 @@
<div class="card-header text-center text-uppercase py-1 text-light bg-success">
<b>Commesse Attive</b>
</div>
<div class="card-body p-1 small">
<div class="card-body p-1">
<uc1:mod_task2post runat="server" ID="mod_task2postAttive" statoTask="STC-01" />
</div>
</div>
@@ -15,7 +15,7 @@
<div class="card-header text-center text-uppercase py-1 text-light bg-warning">
<b>Commesse Sospese</b>
</div>
<div class="card-body p-1 small">
<div class="card-body p-1">
<uc1:mod_task2post runat="server" ID="mod_task2postSospese" statoTask="STC-02" />
</div>
</div>
+64 -33
View File
@@ -2,53 +2,84 @@
<asp:HiddenField ID="hfStatoComm" runat="server" />
<ul class="list-group list-group-flush">
<asp:Repeater ID="repList" runat="server" DataSourceID="ods">
<ItemTemplate>
<li class="list-group-item">
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="NumTask" CssClass="table table-striped table-condensed table-sm small" GridLines="None" ShowHeader="False">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<EmptyDataTemplate>
No Record
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Modifica">
<div class="row">
<div class="col-7 pr-0">
<asp:Label ID="lblNumTask" runat="server" Text='<%# Eval("NumTask") %>' />
</div>
<div class="col-5 pl-0 text-right">
<asp:DropDownList runat="server" ID="dlStato" DataSourceID="odsFasi" DataTextField="DescrFase" DataValueField="CodFase" SelectValue='<%# Eval("CodFase") %>' Enabled="false"></asp:DropDownList>
</div>
<div class="col-7 pr-0">
<b>
<asp:Label ID="lblCodArt" runat="server" Text='<%# Eval("CodArt") %>' /></b>
</div>
<div class="col-5 pl-0 text-right">
<b>
<asp:Label ID="lblQtaRic" runat="server" Text='<%# Eval("QtaRic") %>' /></b>
pz
</div>
</div>
</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<div class="row">
<div class="col-8">
<div class="col-7 pr-0">
<asp:Label ID="lblNumTask" runat="server" Text='<%# Eval("NumTask") %>' />
</div>
<div class="col-4">
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodFase") %>' />
<div class="col-5 pl-0 text-right">
<asp:DropDownList runat="server" ID="dlStato" DataSourceID="odsFasi" DataTextField="DescrFase" DataValueField="CodFase" SelectValue='<%# Eval("CodFase") %>' Enabled="true"></asp:DropDownList>
</div>
<div class="col-8">
<div class="col-7 pr-0">
<b>
<asp:Label ID="lblCodArt" runat="server" Text='<%# Eval("CodArt") %>' /></b>
</div>
<div class="col-4">
<b><asp:Label ID="lblQtaRic" runat="server" Text='<%# Eval("QtaRic") %>' /></b>
pz
</div>
</div>
</ItemTemplate>
<AlternatingItemTemplate>
<li class="list-group-item list-group-item-secondary">
<div class="row">
<div class="col-8">
<asp:Label ID="lblNumTask" runat="server" Text='<%# Eval("NumTask") %>' />
</div>
<div class="col-4">
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodFase") %>' />
</div>
<div class="col-8">
<div class="col-5 pl-0 text-right">
<b>
<asp:Label ID="lblCodArt" runat="server" Text='<%# Eval("CodArt") %>' /></b>
</div>
<div class="col-4">
<b><asp:Label ID="lblQtaRic" runat="server" Text='<%# Eval("QtaRic") %>' /></b>
<asp:Label ID="lblQtaRic" runat="server" Text='<%# Eval("QtaRic") %>' /></b>
pz
</div>
</div>
</li>
</AlternatingItemTemplate>
</asp:Repeater>
</ul>
<div class="row">
<div class="col-4">
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="True" CssClass="btn btn-success btn-sm" CommandName="Update"> Aggiorna</asp:LinkButton>
</div>
<div class="col-4">
<asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CssClass="btn btn-warning btn-sm" CommandName="Cancel"> Annulla</asp:LinkButton>
</div>
<div class="col-4">
<asp:LinkButton ID="lbtDelete" runat="server" CausesValidation="False" CssClass="btn btn-danger btn-sm" CommandName="Delete" OnClick='<%# SteamWare.jsUtils.getCBE("Eliminazione commessa da postazione: sicuro di voler procedere?",false) %>'> Elimina</asp:LinkButton>
</div>
</div>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetFilt" TypeName="AppData.DS_AppTableAdapters.TaskList2PostTableAdapter">
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetFilt" TypeName="AppData.DS_AppTableAdapters.TaskList2PostTableAdapter">
<SelectParameters>
<asp:SessionParameter SessionField="CodPost" Name="CodPost" DefaultValue="" DbType="String" />
<asp:ControlParameter ControlID="hfStatoComm" Name="CodStato" DefaultValue="" DbType="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsFasi" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPost" TypeName="AppData.DS_AppTableAdapters.AnagFasiTableAdapter">
<SelectParameters>
<asp:SessionParameter SessionField="CodPost" Name="CodPost" DefaultValue="" DbType="String" />
</SelectParameters>
</asp:ObjectDataSource>
+11 -2
View File
@@ -22,13 +22,13 @@ namespace C_TRACK.WebUserControls {
protected global::System.Web.UI.WebControls.HiddenField hfStatoComm;
/// <summary>
/// Controllo repList.
/// Controllo grView.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Repeater repList;
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// Controllo ods.
@@ -38,5 +38,14 @@ namespace C_TRACK.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// Controllo odsFasi.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsFasi;
}
}