Exemplo n.º 1
0
 // 메뉴 - 내정보 - 정보수정
 private void mentee_menu_edit_Click(object sender, EventArgs e)
 {
     if (df.Mentee_isMentoring(login_id))
     {
         MessageBox.Show("진행중 혹은 승인 대기중인 멘토링이 있는 관계로\n개인정보 수정이 불가능합니다.", "알림", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         return;
     }
     else
     {
         Mentee_edit mentee_edit = new Mentee_edit();
         mentee_edit.id = login_id;
         mentee_edit.isAdmin = false;
         mentee_edit.Show();
     }
 }
Exemplo n.º 2
0
 // 멘티 정보수정 창 호출
 public void admin_gv_menteelist_OpenMenteeEdit(int index)
 {
     Mentee_edit mentee_edit = new Mentee_edit(this, index_menteelist);
     mentee_edit.isAdmin = true;
     mentee_edit.id = admin_gv_menteelist.Rows[index].Cells["mentee_loginid"].Value.ToString().Trim();
     mentee_edit.Show();
 }