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();
            }
        }