private void OnBuggsAdd(Bugg BuggInstance)
 {
     Buggs_Crashes.Add(new Buggs_Crash {
         Crash = this, Bugg = BuggInstance
     });
     SendPropertyChanged(null);
 }
Exemplo n.º 2
0
 private void OnCrashesAdd(Crash CrashInstance)
 {
     Buggs_Crashes.Add(new Buggs_Crash {
         Bugg = this, Crash = CrashInstance
     });
     SendPropertyChanged(null);
 }
Exemplo n.º 3
0
        private void OnCrashesRemove(Crash CrashInstance)
        {
            Buggs_Crash BuggCrash = Buggs_Crashes.FirstOrDefault(BuggCrashInstance => BuggCrashInstance.BuggId == Id && BuggCrashInstance.CrashId == CrashInstance.Id);

            Buggs_Crashes.Remove(BuggCrash);
            SendPropertyChanged(null);
        }
Exemplo n.º 4
0
        private void OnBuggsRemove(Bugg BuggInstance)
        {
            var BuggCrash = Buggs_Crashes.FirstOrDefault(
                c => c.CrashId == Id &&
                c.BuggId == BuggInstance.Id);

            Buggs_Crashes.Remove(BuggCrash);

            SendPropertyChanged(null);
        }