public MonochromePanel(MonochromeEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
Esempio n. 2
0
 public MonochromePanel(MonochromeEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
Esempio n. 3
0
 public MonochromePlugin()
 {
     try
     {
         Name = "Shazzam / Monochrome";
         var effect = new MonochromeEffect();
         Content = effect;
         Panel   = new MonochromePanel(effect);
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }