예제 #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();
        }
예제 #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();
 }