Пример #1
0
 private void ExtensionFileFound(object sender, ExtensionFileEventArgs e)
 {
     if (_button != null)
     {
         _button.Enabled = e.Model != null;
     }
 }
 private void ExtensionFileFound(object sender, ExtensionFileEventArgs e)
 {
     if (_button != null)
     {
         _button.Enabled = e.Model != null;
     }
 }
        private async void ExtensionFileFound(object sender, ExtensionFileEventArgs e)
        {
            string solution = VSPackage.GetSolution();

            if (!Settings.IsSolutionIgnored())
            {
                bool missingExtensions = await HasMissingExtensions(e.Model);

                if (missingExtensions)
                    await ShowDialog(e.Model);
            }
        }
        private async void ExtensionFileFound(object sender, ExtensionFileEventArgs e)
        {
            string solution = VSPackage.GetSolution();

            if (!Settings.IsSolutionIgnored())
            {
                bool missingExtensions = await HasMissingExtensions(e.Model);

                if (missingExtensions)
                {
                    await ShowDialog(e.Model);
                }
            }
        }