diff options
Diffstat (limited to 'Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs')
| -rw-r--r-- | Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs index 50860cfa3..3957bbfdf 100644 --- a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs +++ b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs @@ -21,7 +21,6 @@ namespace Tango.BuildExtensions { public class VSIXBase { - private SelectForm _form; private IVsThreadedWaitDialog2 _vsProgress = null; public IServiceProvider BaseServiceProvider { get; private set; } @@ -155,7 +154,7 @@ namespace Tango.BuildExtensions VsShellUtilities.ShowMessageBox( BaseServiceProvider, text, - "Tango Initializer", + "Tango", OLEMSGICON.OLEMSGICON_INFO, OLEMSGBUTTON.OLEMSGBUTTON_OK, OLEMSGDEFBUTTON.OLEMSGDEFBUTTON_FIRST); @@ -245,44 +244,6 @@ namespace Tango.BuildExtensions }); } - protected void OpenProgressForm() - { - System.Threading.Thread thread = new System.Threading.Thread(() => - { - _form = new SelectForm(); - var handle = _form.Handle; - _form.ShowDialog(); - }); - - thread.SetApartmentState(System.Threading.ApartmentState.STA); - thread.Start(); - - while (_form == null || !_form.IsHandleCreated) { } - } - - protected void SetProgressText(String text) - { - if (_form != null) - { - _form.Invoke(new Action(() => - { - _form.SetStatus(text); - })); - } - } - - protected void CloseProgressForm() - { - if (_form != null) - { - _form.Invoke(new Action(() => - { - _form.Close(); - _form = null; - })); - } - } - #endregion #region Content |
