コード例 #1
0
 private void UpdModel_CoreReady()
 {
     this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (ThreadStart) delegate()
     {
         updModel.Bind();
         // UpdatesList.Items.Refresh();
     }
                                 );
 }
コード例 #2
0
        public UpdateWindow(UpdateFormViewModel updModel)
        {
            this.updModel = updModel;
            //gridSource = core.GetUpdates("Ордер");

            InitializeComponent();
            DataContext              = this.updModel;
            this.updModel.CoreReady += UpdModel_CoreReady;
            updModel.Bind();
            //this.updModel.onRefresh += UpdModel_onRefresh;
        }