コード例 #1
0
 /// <summary>
 /// Raised the CurrentEntityChanged event.
 /// </summary>
 protected void OnCurrentEntityChanged()
 {
     if (CurrentEntityChanged != null)
     {
         DepartmentDataGridViewEventArgs args = new DepartmentDataGridViewEventArgs();
         args.Department = _currentDepartment;
         CurrentEntityChanged(this, args);
     }
 }
コード例 #2
0
		/// <summary>
		/// Raised the CurrentEntityChanged event.
		/// </summary>
		protected void OnCurrentEntityChanged()
		{
			if (CurrentEntityChanged != null)
			{
				DepartmentDataGridViewEventArgs args = new DepartmentDataGridViewEventArgs();
				args.Department = _currentDepartment;
				CurrentEntityChanged(this, args); 
			}
		}