Ejemplo n.º 1
0
        public EmployeeSysMainForm()
        {
            InitializeComponent();

            try
            {
                PrepareApprovals.Enabled  = false;
                btnGenerateReport.Enabled = true;
                DBUtility.CreateTables();
                GetEmployees();
                DataGridStyle.DataGridDesign(dataGridView);
            }
            catch (System.Exception ex)
            {
                Log.Write2Log(ex.Message);
            }
        }