SFControl.cs
- Last UpdatedMar 12, 2021
- 1 minute read
using Corp.CustomControls.BarChartCustom;
using Skelta.Forms.Core.Controls;
using Skelta.Forms.Core.External;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Skelta.Forms.ExternalControls
{
public class SFControls : IExternalControls
{
BaseControl IExternalControls.GetControl(string controlFullName)
{
switch (controlFullName)
{
case "Corp.CustomControls.BarChartCustom.BarChart":
return new BarChart();
default:
return null;
}
}
object[] IExternalControls.GetControls()
{
return new object[] { new BarChart() };
}
}
}