AbeledaLAB 3 1
AbeledaLAB 3 1
AbeledaLAB 3 1
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OrganizationProfile
{
public partial class frmConfirmation : Form
{
public frmConfirmation()
{
InitializeComponent();
}
lblStudentNo.Text = StudentInformationClass.SetStudentNo.ToString();
lblName.Text = StudentInformationClass.SetFullName;
lblProgram.Text = StudentInformationClass.SetProgram;
lblBirthday.Text = StudentInformationClass.SetBirthDay;
lblGender.Text = StudentInformationClass.SetGender;
lblContactNo.Text = StudentInformationClass.SetContactNo.ToString();
lblAge.Text = StudentInformationClass.SetAge.ToString();
}
this.DialogResult = DialogResult.OK;
this.Close();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrgProfile
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OrganizationProfile
{
public partial class frmRegistration : Form
{
public frmRegistration()
{
InitializeComponent();
}
}
catch (FormatException fe)
{
MessageBox.Show("An Exception occurred: " + fe.Message);
}
catch (ArgumentNullException ane)
{
MessageBox.Show("An Exception occurred: " + ane.Message);
}
catch (OverflowException oe)
{
MessageBox.Show("An Exception occurred: " + oe.Message);
}
catch (IndexOutOfRangeException iore)
{
MessageBox.Show("An Exception occurred: " + iore.Message);
}
catch (Exception)
{
}
return _ContactNo;
}
txtAge.Text = "";
txtLastName.Text = "";
txtFirstName.Text = "";
txtMiddleInitial.Text = "";
txtStudentNo.Text = "";
txtContactNo.Text = "";
cbGender.Text = "";
cbPrograms.Text = "";
}
}
}
}