Пример #1
0
        private async void Db_AfterUpdate(object sender, AfterUpdateEventArgs e)
        {
            var _pending = (await Values.SQLidb.db.FindAsync <ScannedData>(r => r.Transmitted == false) != null);

            if (_pending != pendingData)
            {
                pendingData = _pending;
            }
        }
Пример #2
0
        protected virtual void OnAfterUpdate(AfterUpdateEventArgs e)
        {
            EventHandler <AfterUpdateEventArgs> handler = AfterUpdate;

            if (handler != null)
            {
                handler(this, e);
            }
        }