Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Net;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Documents;
- using System.Windows.Ink;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Animation;
- using System.Windows.Shapes;
- using System.ComponentModel;
- namespace LasnaoloAppsi
- {
- public class Kurssit : INotifyPropertyChanged
- {
- public event PropertyChangedEventHandler PropertyChanged;
- private string _Oppilaanimi;
- private bool _IsChecked;
- public string ID { get; set; }
- public string Tag { get; set; }
- public string RyhmanNimi { get; set; }
- public string OppilaanNimi
- {
- get { return _Oppilaanimi; }
- set
- {
- if (_Oppilaanimi != value)
- {
- _Oppilaanimi = value;
- PropertyChanged(this, new PropertyChangedEventArgs("OppilaanNimi"));
- }
- }
- }
- public bool IsChecked
- {
- get { return _IsChecked; }
- set
- {
- if (_IsChecked != value)
- {
- _IsChecked = value;
- PropertyChanged(this, new PropertyChangedEventArgs("IsChecked"));
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement