예제 #1
0
        //Special Case: Pass in Username and Password
        public void GofrmNewMember2(frmDetails f, string userName, string password)
        {
            f.Hide();
            frmNewMember2 frm = new frmNewMember2(userName, password);

            frm.ShowDialog();
            f.Close();
        }
예제 #2
0
        public void GofrmProfile(frmDetails f, string userNameFromLogin, string userCategory)
        {
            f.Hide();
            frmProfile frm = new frmProfile(userNameFromLogin, userCategory);

            frm.ShowDialog();
            f.Close();
        }
예제 #3
0
        public void GofrmManageMember(frmDetails f, string userNameFromLogin, string userCategory)
        {
            f.Hide();
            frmManageMember frm = new frmManageMember(userNameFromLogin, userCategory);

            frm.ShowDialog();
            f.Close();
        }
예제 #4
0
        public void GofrmNewMember(frmDetails f)
        {
            f.Hide();
            frmNewMember frm = new frmNewMember();

            frm.ShowDialog();
            f.Close();
        }
예제 #5
0
        //Form Login is SPECIAL CASE: No user details
        public void GofrmLogin(frmDetails f)
        {
            f.Hide();
            frmLogin frm = new frmLogin();

            frm.ShowDialog();
            f.Close();
        }
예제 #6
0
        public void GofrmDashboardLibrarian(frmDetails f, string userNameFromLogin, string userCategory)
        {
            f.Hide();
            frmDashboardLibrarian frm = new frmDashboardLibrarian(userNameFromLogin, userCategory);

            frm.ShowDialog();
            f.Close();
        }
예제 #7
0
        public void GofrmBorrowBooks_BookID(frmDetails f, string userNameFromLogin, string userCategory)
        {
            f.Hide();
            frmBorrowBook_BookID frm = new frmBorrowBook_BookID(userNameFromLogin, userCategory);

            frm.ShowDialog();
            f.Close();
        }
예제 #8
0
        public void GofrmBorrowReceipt(frmDetails f, string userNameFromLogin, string userCategory)
        {
            // f.Hide();
            frmBorrowReceipt frm = new frmBorrowReceipt(userNameFromLogin, userCategory);

            frm.ShowDialog();
            //f.Close();
        }
예제 #9
0
        public void GofrmPopularBook(frmDetails f, string userNameFromLogin, string userCategory)
        {
            //f.Hide();
            frmPopularBook frm = new frmPopularBook(userNameFromLogin, userCategory);

            frm.ShowDialog();
            // f.Close();
        }