예제 #1
0
 private void btnPromote_Click(object sender, EventArgs e)
 {
     if (pos != "MANAGER" && pos != "CEO")
     {
         managment.UPDATEManagePosition(email, "MANAGER");
         managment.AddToPositionHistory(email, "MANAGER");
         MessageBox.Show("Promoted to Manager!");
     }
     else
     {
         MessageBox.Show("Already MANAGER OR CEO!");
     }
 }