Exemple #1
0
		void ProjectDocument_Loading(Document sender)
		{
			++mLoading;
		}
Exemple #2
0
		void ProjectDocument_Loaded(Document sender)
		{
			--mLoading;

			if (mLoading == 0)
			{
				ProjectDocumentItem item = RootItem.FindDocument(sender.FileName) as ProjectDocumentItem;
				OnProjectReloaded(item);
			}
		}
		public ReadOnlyDocumentException(Document doc)
			: base("An attempt was made to modify a read-only document (" + doc.FileName + ")")
		{
		}