Exemple #1
0
        protected override void CommandAction(DTEHelper helper)
        {
            helper.ShowListForPublish(null);

            if (MessageBox.Show(Properties.MessageBoxStrings.ClearListForPublish, Properties.MessageBoxStrings.QuestionTitle, MessageBoxButton.OKCancel, MessageBoxImage.Question) == MessageBoxResult.OK)
            {
                helper.ClearListForPublish(null);
            }
        }
        protected override void CommandAction(DTEHelper helper)
        {
            var connectionConfig = Model.ConnectionConfiguration.Get();

            var connectionData = connectionConfig.CurrentConnectionData;

            helper.ShowListForPublish(connectionData);

            if (MessageBox.Show(Properties.MessageBoxStrings.ClearListForPublish, Properties.MessageBoxStrings.QuestionTitle, MessageBoxButton.OKCancel, MessageBoxImage.Question) == MessageBoxResult.OK)
            {
                helper.ClearListForPublish(connectionData);
            }
        }