コード例 #1
0
        public EmployeeForm()
        {
            InitializeComponent();
            string        userDataName = UserAccessForm.getusername() + "_employee_table";
            EmployeeClass employeeobj  = new EmployeeClass(UserAccessForm.getdbserver(), UserAccessForm.getdbname(), UserAccessForm.getdbuser(), UserAccessForm.getdbpassword(), UserAccessForm.getdbport());

            employeeobj.FillNameBox(nameEmployeeBox, userDataName);
            employeeobj.FillAnothers(gottendegree, cargobox, AlergyNmaeBox, DolenciaNameBox, nameMedicineBox, MotivoMedicineBox, userDataName);
            medicamentosopcionbox.Text = "SI";
            referenciaopcionbox.Text   = "SI";
            alergiaopcionbox.Text      = "SI";
            dolenciaopcionbox.Text     = "SI";
            picturetextbox.Hide();
        }