Пример #1
0
		/// <summary>データをデリートする。レイヤまたは構造オブジェクトにのみ適用。</summary>
		/// <param name="data"></param>
		public void Delete(ProjectDataBase data)
			{
			LogMethodStart();
			_Delete( data );
			LogMethodEnd();
			}
Пример #2
0
		private void _Delete(ProjectDataBase data)
			{
			if( data is LayerData ) DeleteLayer( data as LayerData );
			else if( data is GeometricObjectDataBase ) DeleteGeometricObject( data as GeometricObjectDataBase );
			else return;
			ValidateProject( DoesUpdateShapeAuto );
			}
Пример #3
0
			public SelectionChangedEventArgs(ProjectDataBase oldItem, ProjectDataBase newItem)
				{
				OldItem = oldItem;
				NewItem = newItem;
				}