Example #1
0
 public override bool Initialize(IPlugin OwnerPlugin)
 {
     _Owner = OwnerPlugin as FileFinderPlugin;
     if (_Owner == null)
     {
         return(false);
     }
     _FileFinderVM = new FileFinderViewModel();
     _FinderView   = new FileFinderView(_FileFinderVM);
     OwnerFileFinderPlugin.OnConfigPropertyChanged += OwnerFileFinderPlugin_OnConfigPropertyChanged;
     return(true);
 }
Example #2
0
 public FileFinderView(FileFinderViewModel ViewModel)
 {
     FileFinderVM = ViewModel;
     DataContext  = FileFinderVM;
     InitializeComponent();
 }