public TShellViewModel (IShellPresentation presentation) : base (new TShellModel ()) { TypeName = GetType ().Name; if (presentation.NotNull ()) { presentation.ViewModel = this; } m_Process = new Dictionary<TProcess.TName, Process> (); m_DataComm = TDataComm.CreateDefault; m_Communication = new TMessagingComm<TDataComm> (m_DataComm); m_Communication.Handle += OnCommunicationHandle; // Attach event handler for incoming messages var filePath = System.Environment.CurrentDirectory; var fileName = TNames.SettingsIniFileName; IniFileManager = TIniFileManager.CreatDefault; IniFileManager.SelectPath (filePath, fileName); }
public TShellFactoryViewModel (IShellPresentation presentation) : base (presentation, new TShellFactoryModel ()) { }
public TShellCollectionViewModel (IShellPresentation presentation) : base (presentation, new TShellCollectionModel ()) { TypeName = GetType ().Name; }
public TShellReportViewModel (IShellPresentation presentation) : base (presentation, new TShellReportModel ()) { TypeName = GetType ().Name; }
public TShellCollectionViewModel (IShellPresentation presentation) : base (presentation, new TShellCollectionModel ()) { }
public TShellViewModel (IShellPresentation presentation) : base (presentation, new TShellModel (), TProcess.GADGETTEST) { }
public TShellFactoryDatabaseViewModel (IShellPresentation presentation) : base (presentation, new TShellFactoryDatabaseModel ()) { TypeName = GetType ().Name; }
public TShellViewModel (IShellPresentation presentation) : base (presentation, new TShellModel (), TProcess.GADGETREGISTRATION) { }
public TShellViewModel (IShellPresentation presentation) : base (presentation, new TShellModel (), TProcess.MODULESETTINGS) { }