public EditMember(int memberId, int selectedIndex, MembersTab memberTab) { InitializeComponent(); this.memberId = memberId; this.selectedIndex = selectedIndex; this.memberTab = memberTab; ctx = new ElevenAlphaEntities(); }
public MainScreen() { InitializeComponent(); // Initialize Bookings Tab bookingTab = new BookingTab(this); bookingsTabPage.Controls.Add(bookingTab); // Initialize Members Tab membersUserControl = new MembersTab(); membersTabPage.Controls.Add(membersUserControl); // Initialize Facilities Tab facilitiesTab = new FacilitiesTab(this); facilitiesTabPage.Controls.Add(facilitiesTab); // Initialize Reports Tab reportsTab = new ReportsTab(); reportsTabPage.Controls.Add(reportsTab); }
public CreateMember(MembersTab memberTab) { InitializeComponent(); this.memberTab = memberTab; }