public DumpHackerWindow(string fileName) { InitializeComponent(); this.AddEscapeToClose(); _mfs = new MemoryFileSystem(fileName, MfsOpenMode.Open, true); ColumnSettings.LoadSettings(Settings.Instance.ProcessTreeColumns, treeProcesses.Tree); ColumnSettings.LoadSettings(Settings.Instance.ServiceListViewColumns, listServices.List); listServices.DoubleClick += this.listServices_DoubleClick; }
internal MemoryObject(MemoryFileSystem fs, MfsCellId cellId, bool fsInternal) { _fs = fs; _cellId = cellId; _obj = _fs.ReferenceObject(cellId); _fsInternal = fsInternal; if (!_fsInternal) _fs.Reference(); // Prevent users from disposing the root object wrapper. if (_fsInternal) this.DisableOwnership(false); }
internal MemoryObject(MemoryFileSystem fs, MfsCellId cellId) : this(fs, cellId, false) { }