void ShowDataSourceInfo(DataSourceInfoArgs args)
		{
			ModalDialog dlg = new ModalDialog();
			dlg.Caption = Localization.DataSourceInfoDialog_Caption;
			dlg.MinHeight = 300;
			dlg.MinWidth = 400;
			dlg.Height = 400;
			dlg.Width = 500;

			DataSourceInfoControl DSInfo = new DataSourceInfoControl();
			dlg.Content = DSInfo;
			DSInfo.UpdateScriptVisibility = PivotGrid.CanEdit;
			DSInfo.Initialize(args);

			ShowDialog(dlg);
		}
        void ShowDataSourceInfo(DataSourceInfoArgs args)
        {
            if (args != null)
            {
                ModalDialog dlg = new ModalDialog();
                dlg.Caption = Localization.DataSourceInfoDialog_Caption;
                dlg.MinHeight = 300;
                dlg.MinWidth = 400;
                dlg.Height = 400;
                dlg.Width = 500;

                DataSourceInfoControl DSInfo = new DataSourceInfoControl();
                dlg.Content = DSInfo;
                DSInfo.UpdateScriptVisibility = PivotGrid.CanEdit;
                DSInfo.Initialize(args);

                // На время убираем контекстное меню сводной таблицы
                dlg.DialogClosed += new EventHandler<DialogResultArgs>(Dlg_DialogClosed);
                PivotGrid.UseContextMenu = false;

                dlg.Show();
            }
        }