DataTableCleared() private method

private DataTableCleared ( ) : void
return void
示例#1
0
        private void DataTableCleared(object sender, DataTableClearEventArgs e)
        {
            DataTableReader reader = (DataTableReader)_readerWeak.Target;

            if (reader != null)
            {
                reader.DataTableCleared();
            }
            else
            {
                UnSubscribeEvents();
            }
        }
示例#2
0
        private void DataTableCleared(object sender, DataTableClearEventArgs e)
        {
            DataTableReader target = (DataTableReader)this.readerWeak.Target;

            if (target != null)
            {
                target.DataTableCleared();
            }
            else
            {
                this.UnSubscribeEvents();
            }
        }