Example #1
0
        private void btnGetUserInput_Click(object sender, EventArgs e)
        {
            using (var detailForm = new DetailForm())
            {
                detailForm.ShowDialog();

                SetStudentName(detailForm.Name);
            }
        }
Example #2
0
        private void btnGetUserInput_Click(object sender, EventArgs e)
        {
            using (var detailForm = new DetailForm())
            {
                detailForm.ShowDialog();

                EmployeeName = detailForm.Name;
            }
        }
Example #3
0
        private void btnGetUserInput_Click(object sender, EventArgs e)
        {
            using (var detailForm = new DetailForm())
            {
                detailForm.ShowDialog();

                SetStudentName(detailForm.Name);
            }
        }
Example #4
0
        private void btnGetUserInput_Click(object sender, EventArgs e)
        {
            using (var detailForm = new DetailForm())
            {
                detailForm.ShowDialog();

                EmployeeName = detailForm.Name;
            }
        }