/// <summary> /// CTOR /// </summary> /// <param name="unityContainer">The unity container.</param> /// <param name="regionManager">The region manager.</param> /// <param name="eventAggrgator">The event aggregator.</param> public MainWindowViewModel(IUnityContainer unityContainer, IRegionManager regionManager, IEventAggregator eventAggrgator) : base(unityContainer, regionManager, eventAggrgator) { this.Title = "Metro FTP Client"; // Register to events EventAggregator.GetEvent <UpdateStatusBarMessageEvent>().Subscribe(OnUpdateStatusBarMessageEventHandler); _interTabClient = new DefaultInterTabClient(); this.ShowAddOrUpdateConnectionPopupRequest = this.Container.Resolve <InteractionRequest <AddOrUpdateConnectionNotification> >(InteractionRequests.ShowAddOrUpdateConnectionPopupRequest); // Load application config this.LoadApplicationConfigFile(); }
private MainWindowViewModel() { InterTabClient = new DefaultInterTabClient(); TearableTabItems = new ObservableCollection <TearableTabItem>(); BinaryEngineViewDictionary = new Dictionary <TearableTabItem, BinaryEngineView>(); }
public BaseWindowViewModel() { InterTabClient = new DefaultInterTabClient(); I = this; }
public MainWindowViewModel() { InterTabClient = new DefaultInterTabClient(); }