public HealthSignForm(List <ShortEmps> list)
 {
     InitializeComponent();
     this.list = list;
     AddEmployeeToDataGridView();
     AddCheckboxCol();
     DataGridStyle.DataGridDesign(ApprovalDataGridView);
 }
Beispiel #2
0
 private void AddGroup_Load(object sender, EventArgs e)
 {
     bEdit = true;
     comboBoxGroupType.Text = "מחלקה";
     btn_Save.Visible       = true;
     btnAdd.Enabled         = true;
     GetGroups();
     DataGridStyle.DataGridDesign(dataGridView);
 }
        public EmployeeSysMainForm()
        {
            InitializeComponent();

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