Example #1
0
 public void GetUPDATE_Pass(string passwod, string user_number)
 {
     if (GetUPDATE_Pass_API(passwod, user_number))
     {
         check check = new check();
         check.ShowDialog();
     }
     else
     {
         fail fail = new fail("수정 실패");
         fail.ShowDialog();
     }
 }
Example #2
0
 public void GetUPDATE(string email, string Phon, string addres, string user_number)
 {
     if (GetUPDATE_API(email, Phon, addres, user_number))
     {
         check check = new check();
         check.ShowDialog();
     }
     else
     {
         fail fail = new fail("수정 실패");
         fail.ShowDialog();
     }
 }
Example #3
0
        public void GetInsert()
        {
            if (book_info_insert_book_rental_update(번호값.Text, login_frm.User_Number.ToString()))
            {
                check check = new check();
                check.ShowDialog();
                Book_Info_ListView_Refresh();
            }

            else
            {
                fail fail = new fail("대여 실패");
                fail.ShowDialog();
            }
        }
Example #4
0
        public void GetInsert(string ID, string Pass, string Name, string Gender, string Birth, string email, string Phon, string addres)
        {
            if (signup_form_GetInsert(ID, Pass, Name, Gender, Birth, email, Phon, addres))
            {
                check check = new check();
                check.ShowDialog();
                this.Hide();
                main.Login.Show();
            }
            else
            {
                fail fail = new fail("가입 실패");
                fail.ShowDialog();


                this.Hide();
                main.user1.Show();
            }
        }
Example #5
0
        public void GetUpdate()
        {
            bool status = rental_info_book_rental_update(no);

            if (status)
            {
                if (rental_info_book_info_update(no))
                {
                    check check = new check();
                    check.ShowDialog();
                }
                else
                {
                    fail fail = new fail("상태 업데이트 오류");
                    fail.ShowDialog();
                }
            }
            else
            {
                fail fail = new fail("반납중 오류발생");
                fail.ShowDialog();
            }
        }