コード例 #1
0
 public EditMember(int memberId, int selectedIndex, MembersTab memberTab)
 {
     InitializeComponent();
     this.memberId      = memberId;
     this.selectedIndex = selectedIndex;
     this.memberTab     = memberTab;
     ctx = new ElevenAlphaEntities();
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 public CreateMember(MembersTab memberTab)
 {
     InitializeComponent();
     this.memberTab = memberTab;
 }