Exemplo n.º 1
0
        public RecentFilesViewModel()
            : base("Recent Files")
        {
            ////Workspace.This.ActiveDocumentChanged += new EventHandler(OnActiveDocumentChanged);
            ContentId = ToolContentId;

            this.mMruList = new MRUListVM();
        }
Exemplo n.º 2
0
    public RecentFilesViewModel()
      : base("Tool VIew - Left ")
    {
      ////Workspace.This.ActiveDocumentChanged += new EventHandler(OnActiveDocumentChanged);
      ContentId = ToolContentId;

      this.mMruList = new MRUListVM();
      
     //part of issue no. 60(icon) -edited by reeden
      IconSource = ImageAwesome.CreateImageSource(FontAwesomeIcon.Home, Brushes.Black, 15);//bi;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Class constructor
        /// </summary>
        public Profile()
        {
            // Set default session data
            this.MainWindowPosSz = new ViewPosSizeModel(100, 100, 1000, 700);

            this.IsWorkspaceAreaOptimized = false;

            this.LastActiveFile = string.Empty;

            // Construct MRUListVM ViewModel with parameter to decide whether pinned entries
            // are sorted into the first (pinned list) spot or not (favourites list)
            this.mMruList = new MRUListVM(MRUSortMethod.PinnedEntriesFirst);
        }
Exemplo n.º 4
0
        public ConfigViewModel()
        {
            this.DocumentZoomView          = 100;
            this.ReloadOpenFilesOnAppStart = true;

            // Session Data
            this.MainWindowPosSz = new ViewPosSzViewModel();
            this.MainWindowPosSz = new ViewPosSzViewModel(100, 100, 1000, 700);

            this.LastActiveFile = string.Empty;

            // Construct MRUListVM ViewModel with parameter to decide whether pinned entries
            // are sorted into the first (pinned list) spot or not (favourites list)
            this.mMruList = new MRUListVM(MRUSortMethod.PinnedEntriesFirst);
        }
Exemplo n.º 5
0
 /// <summary>
 /// Parameterized constructor
 /// </summary>
 public StartPageViewModel(MRUListVM recent)
     : this()
 {
     this.mRecent = recent;
 }
Exemplo n.º 6
0
		public RecentFilesViewModel(ISettingsManager settingsManager)
			: this()
		{
			this.mMruList = settingsManager.SessionData.MruList;
		}