Esempio svg colorato

This commit is contained in:
Samuele E. Locatelli
2019-09-12 11:57:46 +02:00
parent f287b97fb4
commit 2e078c00e4
4 changed files with 56 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MachineUnload.aspx.cs" Inherits="NKC_WF.MachineUnload" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<style>
#my-rect {
fill: green;
}
#my-rect2 {
fill: yellow;
}
</style>
<svg>
<rect x="10" y="10" width="50" height="50" fill="red" id="my-rect" />
<rect x="25" y="25" width="50" height="50" fill="red" id="my-rect2" />
</svg>
</asp:Content>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF
{
public partial class MachineUnload : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+15
View File
@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace NKC_WF {
public partial class MachineUnload {
}
}
+8
View File
@@ -168,6 +168,7 @@
</Content>
<Content Include="DevUtils.aspx" />
<Content Include="MachineLoad.aspx" />
<Content Include="MachineUnload.aspx" />
<Content Include="OrderManager.aspx" />
<Content Include="StackManager.aspx" />
<Content Include="Utility.aspx" />
@@ -339,6 +340,13 @@
<Compile Include="MachineLoad.aspx.designer.cs">
<DependentUpon>MachineLoad.aspx</DependentUpon>
</Compile>
<Compile Include="MachineUnload.aspx.cs">
<DependentUpon>MachineUnload.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="MachineUnload.aspx.designer.cs">
<DependentUpon>MachineUnload.aspx</DependentUpon>
</Compile>
<Compile Include="OrderManager.aspx.cs">
<DependentUpon>OrderManager.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>