Exemplo n.º 1
0
 private void but_updateStudents_Click(object sender, EventArgs e)
 {
     if (!Utility.isNetworkAvailable())
     {
         Dialog_MyMessageBox.Show(Validations.VALIDATION_NO_NETWORK, 1, UiColors.MESSAGE_ERROR);
     }
     else
     {
         homeform.Opacity = 0.9F;
         homeform.Hide();
         Form_UpdatePlacementStatus updatecomp = new Form_UpdatePlacementStatus(homeform);
         updatecomp.Show();
         homeform.Opacity = 1F;
     }   //if (getCompanyCount() > 0)
     //{
     //    homeform.Hide();
     //    Form_UpdatePlacementStatus updatecomp = new Form_UpdatePlacementStatus(homeform);
     //    updatecomp.Show();
     //}
     //else
     //{
     //    Dialog_MyMessageBox.Show(Validations.VALIDATION_NO_COMPANY_FOUND, 1, UiColors.MESSAGE_ERROR);
     //}
 }
 public ListControl_PlacementStatus(Form_UpdatePlacementStatus updateStatus, List <Entity_Student> studentList)
 {
     this.updateStatus = updateStatus;
     this.studentList  = studentList;
     InitializeComponent();
 }
 public Control_DropFile(Form_UpdatePlacementStatus updateStatus)
 {
     this.updateStatus = updateStatus;
     InitializeComponent();
 }