Esempio n. 1
0
        /// <summary>
        /// 开始抓取
        /// </summary>
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Start();
            ShowDatasViewModel s = new ShowDatasViewModel();

            s.RootDatas = new System.Collections.ObjectModel.ObservableCollection <NoteInfo>(Outputer.list);
            ShowDatasView sv = new ShowDatasView(s);

            s.view = sv;
            sv.ShowDialog();
        }
Esempio n. 2
0
 public ShowDatasView(ShowDatasViewModel vm)
 {
     InitializeComponent();
     this.DataContext = vm;
 }