Exemplo n.º 1
0
        private void EditEmployee()
        {
            if (lvwEmployee.SelectedItems.Count == 0)
            {
                return;
            }

            Employee employee = (Employee)lvwEmployee.SelectedItems[0].Tag;

            FrmEmployeeAtter frmEmployee = new FrmEmployeeAtter(this.lvwEmployee, employee);

            frmEmployee.ShowDialog( );
        }
Exemplo n.º 2
0
        private void AddEmployee()
        {
            FrmEmployeeAtter frmEmployee = new FrmEmployeeAtter(this.lvwEmployee);

            frmEmployee.ShowDialog( );
        }