コード例 #1
0
        public RecentFilesViewModel()
            : base("Recent Files")
        {
            ////Workspace.This.ActiveDocumentChanged += new EventHandler(OnActiveDocumentChanged);
            ContentId = ToolContentId;

            this.mMruList = new MRUListVM();
        }
コード例 #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;
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #5
0
ファイル: StartPageViewModel.cs プロジェクト: rasyidf/Edi
 /// <summary>
 /// Parameterized constructor
 /// </summary>
 public StartPageViewModel(MRUListVM recent)
     : this()
 {
     this.mRecent = recent;
 }
コード例 #6
0
		public RecentFilesViewModel(ISettingsManager settingsManager)
			: this()
		{
			this.mMruList = settingsManager.SessionData.MruList;
		}