Exemplo n.º 1
0
 public DeshakerPanel(DeshakerStabilizer stabilizer)
 {
     InitializeComponent();
     try
     {
         _stabilizer = stabilizer;
         DataContext = stabilizer;
     }
     catch (Exception exc)
     {
     }
 }
Exemplo n.º 2
0
 public DeshakerPanel(DeshakerStabilizer stabilizer)
 {
     InitializeComponent();
     try
     {
         _stabilizer = stabilizer;
         DataContext = stabilizer;
     }
     catch (Exception exc)
     {
     }
 }
Exemplo n.º 3
0
 public DeshakerPlugin()
 {
     try
     {
         Name = "Deshaker";
         var stabilizer = new DeshakerStabilizer();
         Content = stabilizer;
         Panel   = new DeshakerPanel(stabilizer);
         InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings));
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }