private void BtnAdd2_Click(object sender, EventArgs e)
        {
            AddAttendanceDetails addAttendanceDetails = new AddAttendanceDetails()
            {
                S1 = btnAdd2.Text, Text = "Add Attendance Details"
            };;

            addAttendanceDetails.StartPosition = FormStartPosition.CenterScreen;

            addAttendanceDetails.ShowDialog(Parent);
        }
        private void BtnAdd2_Click(object sender, EventArgs e)
        {
            //XtraForm_EmployeeAttendence xtraForm_EmployeeAttendence = new XtraForm_EmployeeAttendence() { s1 = btnAdd.Text, Text = "User Addition" }; ;


            AddAttendanceDetails addAttendanceDetails = new AddAttendanceDetails()
            {
                S1 = btnAdd2.Text, Text = "Add Attendance Details"
            };;

            addAttendanceDetails.StartPosition = FormStartPosition.CenterScreen;

            addAttendanceDetails.ShowDialog(Parent);
        }