public DepthMapOverUnderPanel(DepthMapOverUnderEffect effect) { InitializeComponent(); try { DataContext = effect; } catch (Exception exc) { } }
public DepthMapOverUnderPanel(DepthMapOverUnderEffect effect) { InitializeComponent(); try { DataContext = effect; } catch (Exception) { } }
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); } }