Ejemplo n.º 1
0
 public ToonShaderPanel(ToonShaderEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
 public ToonShaderPanel(ToonShaderEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
Ejemplo n.º 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);
     }
 }