示例#1
0
        private void OnDatabaseLogBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentDatabaseLog = uxDatabaseLogBindingSource.Current as Entities.DatabaseLog;

            if (_currentDatabaseLog != null)
            {
                _currentDatabaseLog.Validate();
            }
            //_DatabaseLog.Validate();
            OnCurrentEntityChanged();
        }
		private void OnDatabaseLogBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentDatabaseLog = uxDatabaseLogBindingSource.Current as Entities.DatabaseLog;
			
			if (_currentDatabaseLog != null)
			{
				_currentDatabaseLog.Validate();
			}
			//_DatabaseLog.Validate();
			OnCurrentEntityChanged();
		}