private void buttonAddSemester_Click(object sender, RoutedEventArgs e)
        {
            var year = getYear();

            if (year == null)
            {
                return;
            }

            OnRequestAddSemester?.Invoke(this, year);
        }
示例#2
0
 private void ButtonAddSemester_TouchUpInside(object sender, EventArgs e)
 {
     OnRequestAddSemester?.Invoke(this, DataContext as ViewItemYear);
 }