コード例 #1
0
 public DepthMapSbsPanel(DepthMapSbsEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
コード例 #2
0
 public DepthMapSbsPanel(DepthMapSbsEffect effect)
 {
     InitializeComponent();
     try
     {
         DataContext = effect;
     }
     catch (Exception exc)
     {
     }
 }
コード例 #3
0
 public DepthMapSbsPlugin()
 {
     try
     {
         Name = "Depthmap Side by side";
         var effect = new DepthMapSbsEffect();
         Content = effect;
         Panel   = new DepthMapSbsPanel(effect);
         InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings));
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }