Exemplo n.º 1
0
        private void BtnAddSchedule_Click(object sender, EventArgs e)
        {
            BusyName      = textName.Text;
            textName.Text = business.CheckEmploymentFormat(textName.Text);
            AddSchedule empForm = new AddSchedule();

            empForm.Show();
            this.Hide();
        }
Exemplo n.º 2
0
 private void dataGridBusiness_CellValueChanged(object sender, DataGridViewCellEventArgs e)
 {
     if (dataGridBusiness.CurrentCell.Value != null)
     {
         string editedEmp = dataGridBusiness.CurrentCell.Value.ToString();
         editedEmp = employments.CheckEmploymentFormat(editedEmp);
         if (editedEmp != "")
         {
             employments.EditEmpFiles(editedEmp, dataGridBusiness.CurrentCell.RowIndex);
         }
     }
     FillGrid();
 }