public DepthMapOverUnderPanel(DepthMapOverUnderEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
Пример #2
0
 public DepthMapOverUnderPanel(DepthMapOverUnderEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception)
     {
     }
 }
Пример #3
0
 public DepthMapOverUnderPlugin()
 {
     try
     {
         Name = "Depthmap Over/Under";
         var effect = new DepthMapOverUnderEffect();
         Content = effect;
         Panel   = new DepthMapOverUnderPanel(effect);
         InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings));
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }