public Form1() { InitializeComponent(); smSubject = new SMSubject(); mainUser = new UserObserver(listMainPage, smSubject); friend1 = new FriendObserver(listFriend1, smSubject); friend2 = new FriendObserver(listFriend2, smSubject); friend3 = new FriendObserver(listFriend3, smSubject); friend4 = new FriendObserver(listFriend4, smSubject); }
public Form1() { InitializeComponent(); smSubject = new SMSubject(); mainUser = new UserObserver(listMainPage, smSubject); friend1 = new FriendObserver(listFriend1, smSubject); friend2 = new FriendObserver(listFriend2, smSubject); friend3 = new FriendObserver(listFriend3, smSubject); friend4 = new FriendObserver(listFriend4, smSubject); }