using System; using System.IO; using System.Text; using NBitcoin; using Swarmops.Logic.Support; namespace Swarmops.Frontend.Controls.v5.UI { public partial class IncludedScripts : ControlV5Base { protected void Page_Load(object sender, EventArgs e) { StringBuilder scriptRef = new StringBuilder(); string[] controlNames = Controls.Split(','); foreach (string controlName in controlNames) { switch (controlName.Trim().ToLowerInvariant()) { case "fileupload": scriptRef.Append( "\r\n" + "\r\n"); break; case "switchbutton": scriptRef.Append( "\r\n" + "\r\n"); break; case "jsonparameters": scriptRef.Append( ""); break; default: break; } } this.LiteralReference.Text = scriptRef.ToString(); } public new string Controls { get; set; } } }