예제 #1
0
        public static MessageBoxResult ShowMessageBox(this IVsServices source, string message,
                                                      OLEMSGBUTTON buttons = OLEMSGBUTTON.OLEMSGBUTTON_OK,
                                                      OLEMSGICON icon      = OLEMSGICON.OLEMSGICON_INFO)
        {
            var result           = source.ShowMessageBox("ConfigurationTransform", message, buttons, icon);
            var messageBoxResult = (MessageBoxResult)result;

            return(messageBoxResult);
        }
 public VsProjectXmlTransform(IVsServices vsServices)
 {
     _vsServices   = vsServices;
     _xmlTransform = new XmlTransform();
 }