San Martin
San Martin
namespace MyNotepad
{
public partial class FrmRegistration : Form
{
public FrmRegistration()
{
InitializeComponent();
}
{
outputFile.WriteLine("Student No.: " + textBoxStudentNo.Text);
outputFile.WriteLine("Full Name: " + fullName);
outputFile.WriteLine("Program: " + comboBoxProgram.Text);
outputFile.WriteLine("Gender " + comboBoxGender.Text);
outputFile.WriteLine("Age: " + textBoxAge.Text);
outputFile.WriteLine("Birthday: " + dateTimePicker1.Text);
outputFile.WriteLine("Contact No. " + textBoxContactNo.Text);
}
FORM 2
namespace MyNotepad
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
public static String SetFileName;
FORM 3
namespace MyNotepad
{
public partial class Form3 : Form
{
public Form3()
{
InitializeComponent();
}
public static string path;
private void button1_Click(object sender, EventArgs e)
{
this.Hide();
}
MessageBox.Show("Successfully Uploaded");
lvShowText.Clear();
}
}
}