// define vars
private SimpleFont largeFont;
private SimpleFont smallFont;
//SET DEFAULTS
largeFont = new Gui.Tools.SimpleFont("Arial", 12);
smallFont = new Gui.Tools.SimpleFont("Arial", 8);
#region Properties
[NinjaScriptProperty]
[Display(Name="Large Font", Description="Font Size", Order=1, GroupName="Font")]
public SimpleFont LargeFont
{
get{return largeFont;}
set{largeFont = value;}
}
[NinjaScriptProperty]
[Display(Name="Small Font", Description="Font Size", Order=2, GroupName="Font")]
public SimpleFont SmallFont
{
get{return smallFont;}
set{smallFont = value;}
}
#endregion
//SET DEFAULTS
LargeFont = new SimpleFont("Arial", 18);
SmallFont = new Gui.Tools.SimpleFont("Arial", 8);
#region Properties
[NinjaScriptProperty]
[Display(Name="Large Font", Description="Font Size", Order=1, GroupName="Font")]
public SimpleFont LargeFont
{ get; set; }
[NinjaScriptProperty]
[Display(Name="Small Font", Description="Font Size", Order=2, GroupName="Font")]
public SimpleFont SmallFont
{ get; set; }
#endregion

Comment