示例#1
0
文件: OverlayVM.cs 项目: ExAtom/GTA6
 public OverlayVM(OverlaySettings settings)
 {
     Save = SaveLoader.Save;
     Save.PropertyChanged     += OnSaveChanged;
     Settings                  = settings;
     Settings.PropertyChanged += OnSettingsChanged;
 }
示例#2
0
 public void Init(OverlaySettings settings)
 {
     DataContext = new OverlayVM(settings);
     InitializeComponent();
 }