Ejemplo n.º 1
0
 public void ViewAllMembers(IViewAllMembers viewing)
 {
     IGyManager gymanager = Factory.CreateGyManager();
     Dictionary<string, Member> members = new Dictionary<string, Member>();
     members = gymanager.GetAllMembers();
     viewing.DisplayData(members);
     ((global::GyManager.GyManager)gymanager).AddObserver(viewing);
     viewing.ShowForm();
 }
Ejemplo n.º 2
0
 public void UpdatedListOfMembers(IViewAllMembers viewing)
 {
     IGyManager gymanager = Factory.CreateGyManager();
     Dictionary<string, Member> members = new Dictionary<string, Member>();
     members = gymanager.GetAllMembers();
     viewing.DisplayData(members);
 }