Autorefresh.FormAutoRefresh.RefreshViewerWindows C# (CSharp) Method

RefreshViewerWindows() private method

private RefreshViewerWindows ( ) : void
return void
		private void RefreshViewerWindows()
		{
			//refresh viewer window
			IApplicationWindows applicationWindows = m_application as IApplicationWindows;

			ISet set = applicationWindows.DataWindows;
			if (set != null)
			{
				set.Reset();
				IMapInsetWindow dataWindow = (IMapInsetWindow)set.Next();
				while (dataWindow != null)
				{
					dataWindow.Refresh();
					dataWindow = (IMapInsetWindow)set.Next();
				}
			}
		}