private void SaveInHistory()
{
///Store executed command in "History" menu /// 04March2013
UAMenuCommand command = (UAMenuCommand)parameter;
Window1 appWindow = LifetimeService.Instance.Container.Resolve<Window1>();
if (ds != null)
appWindow.History.AddCommand(ds.Name, command);
}