SIL.FieldWorks.XWorks.FwXWindow.OnRedo C# (CSharp) Method

OnRedo() protected method

This function will redo the last changes undone to the project. This function is executed when the user clicks the redo menu item.
protected OnRedo ( object args ) : bool
args object
return bool
		protected bool OnRedo(object args)
		{
			if (FocusControlHandlesMessage("OnRedo", new[] { args }))
				return true;

			var ah = Cache.DomainDataByFlid.GetActionHandler();
			if (ah.CanRedo())
			{
				// start hour glass
				using (new WaitCursor(this))
				{
					try
					{
						m_fInUndoRedo = true;
						ah.Redo();
					}
					finally
					{
						m_fInUndoRedo = false;
					}
				}
				return true;
			}
			return false;
		}
FwXWindow