public MainWindowVm2WebApi(DTE2 dte, ITextTemplating textTemplating, IVsThreadedWaitDialogFactory dialogFactory) : base(dte, textTemplating, dialogFactory) { InvitationViewModel InvitationVM = new InvitationViewModel(); InvitationVM.WizardName = "#3 WebApi Wizard"; InvitationVM.IsReady.IsReadyEvent += InvitationViewModel_IsReady; this.InvitationUC = new UserControlInvitation(InvitationVM); this.CurrentUserControl = this.InvitationUC; InvitationVM.DoAnalise(dte); }
public MainWindowEf2Vm(DTE2 dte, ITextTemplating textTemplating, IVsThreadedWaitDialogFactory dialogFactory) : base(dte, textTemplating, dialogFactory) { Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(); InvitationViewModel InvitationVM = new InvitationViewModel(); InvitationVM.WizardName = "#2 View Wizard"; InvitationVM.IsReady.IsReadyEvent += InvitationViewModel_IsReady; this.InvitationUC = new UserControlInvitation(InvitationVM); this.CurrentUserControl = this.InvitationUC; InvitationVM.DoAnalise(dte); }