public void ShowMemberInEventDialog()
        {
            MemberWindow    memberWindow = new MemberWindow("Event member");
            IMemberWindow   member       = (IMemberWindow)memberWindow;
            List <EventDto> events       = (List <EventDto>)mainWindow.EventData;

            member.Id = events[mainWindow.SelectIndexEvent].Id;
            memberWindow.ShowDialog();
        }
        public void ShowMemberInGroupDialog()
        {
            MemberWindow    memberWindow = new MemberWindow("Group member");
            IMemberWindow   member       = (IMemberWindow)memberWindow;
            List <GroupDto> groups       = (List <GroupDto>)mainWindow.GroupData;

            member.Id = groups[mainWindow.SelectIndexGroup].Id;
            memberWindow.ShowDialog();
        }
示例#3
0
 public MemberPresenter(IMemberWindow memberWindow)
 {
     this.memberWindow = memberWindow;
 }