public void Init(IMainForm form, IUserInfo user) { _Main = form; _User = user; StartUp = AppDomain.CurrentDomain.BaseDirectory; _Main.AddPluginView(this); LbResult.ItemsSource = _Files; var dvo = new AppDvo { os = "win10" }; _List = new AppDao().List <AppDvo>(dvo); foreach (var item in _List) { item.Decode(); } }