public ColorKeyAlphaPanel(ColorKeyAlphaEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
 public ColorKeyAlphaPanel(ColorKeyAlphaEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
示例#3
0
 public ColorKeyAlphaPlugin()
 {
     try
     {
         Name = "Shazzam / ColorKey Alpha";
         var effect = new ColorKeyAlphaEffect();
         Content = effect;
         Panel   = new ColorKeyAlphaPanel(effect);
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }