예제 #1
0
        private void EditFolge(Folge Current)
        {
            FolgeEdit Edit = new FolgeEdit((Folge)Current.Clone());

            if ((bool)Edit.ShowDialog())
            {
                Staffel CurrentStaffel = (Staffel)cbStaffeln.SelectedItem;
                CurrentStaffel.Folgen.Replace(Current, (Folge)Edit.Return);
            }
        }
예제 #2
0
        private void EditFolge(Folge Current)
        {
            FolgeEdit Edit = new FolgeEdit((Folge)Current.Clone());

            if ((bool)Edit.ShowDialog()) {
                Staffel CurrentStaffel = (Staffel)cbStaffeln.SelectedItem;
                CurrentStaffel.Folgen.Replace(Current, (Folge)Edit.Return);
            }
        }