public Dialog_ProgramTypeManager(ref ModelProperties libSource, bool returnSelectedOnly = false) : this() { libSource.FillNulls(); this._returnSelectedOnly = returnSelectedOnly; this._vm = new ProgramTypeManagerViewModel(libSource, this); Content = Init(out var gd); this._vm.GridControl = gd; }