예제 #1
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);
        }
예제 #2
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);
        }