Beispiel #1
0
        public EmpEntryForm(EmployeeListForm empForm, string _action, int employeeId, int _branchId)
        {
            this.empForm    = empForm;
            this._action    = _action;
            this.employeeId = employeeId;
            this._branchId  = _branchId;

            InitializeComponent();


            comboGender.SelectedIndex = 0;
            txtJoinDate.Value         = DateTime.Now.AddYears(-5);
            CheckAction(_action);
        }
Beispiel #2
0
        private void btnEmpInfo_Click(object sender, EventArgs e)
        {
            EmployeeListForm employeeListForm = new EmployeeListForm(0);

            employeeListForm.ShowDialog();
        }