Beispiel #1
0
        private void btnUpdateOrder_Click(object sender, EventArgs e)
        {
            int    id             = int.Parse(lblTechID.Text);
            string name           = txtTechName.Text;
            string surname        = txtTechSurname.Text;
            string specialization = cmbSpecialization.Text;
            string deployed       = txtTechDeployed.Text;
            string deploymentDate = dtpDeployDate.Value.ToString("dd/MM/yyyy");

            TechnicalStaff ts = new TechnicalStaff();

            ts.UpdateBLTechnical(id, name, surname, specialization, deployed, deploymentDate);

            MessageBox.Show(deploymentDate);
            FormManagement fm = new FormManagement();

            fm.RefreshPage();

            UpdateTechForm utf = new UpdateTechForm();

            utf.Close();
        }