コード例 #1
0
 public FilePanel(FileProjection projection)
 {
     InitializeComponent();
     try
     {
         _projection = projection;
         DataContext = projection;
     }
     catch (Exception exc)
     {
     }
 }
コード例 #2
0
ファイル: FilePanel.xaml.cs プロジェクト: Inner-room/VrPlayer
 public FilePanel(FileProjection projection)
 {
     InitializeComponent();
     try
     {
         _projection = projection;
         DataContext = projection;
     }
     catch (Exception exc)
     {
     }
 }
コード例 #3
0
 public FilePlugin()
 {
     try
     {
         Name = "File";
         var projection = new FileProjection();
         Content = projection;
         Panel   = new FilePanel(projection);
         InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings));
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }