示例#1
0
 /// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_WorkOrderRouting != null)
     {
         _WorkOrderRouting.Validate();
     }
 }
示例#2
0
        private void OnWorkOrderRoutingBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentWorkOrderRouting = uxWorkOrderRoutingBindingSource.Current as Entities.WorkOrderRouting;

            if (_currentWorkOrderRouting != null)
            {
                _currentWorkOrderRouting.Validate();
            }
            //_WorkOrderRouting.Validate();
            OnCurrentEntityChanged();
        }
		private void OnWorkOrderRoutingBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentWorkOrderRouting = uxWorkOrderRoutingBindingSource.Current as Entities.WorkOrderRouting;
			
			if (_currentWorkOrderRouting != null)
			{
				_currentWorkOrderRouting.Validate();
			}
			//_WorkOrderRouting.Validate();
			OnCurrentEntityChanged();
		}