コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }