public ToonShaderPanel(ToonShaderEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
 public ToonShaderPanel(ToonShaderEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
Example #3
0
 public ToonShaderPlugin()
 {
     try
     {
         Name = "Shazzam / Toon Shader";
         var effect = new ToonShaderEffect();
         Content = effect;
         Panel   = new ToonShaderPanel(effect);
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }