0% found this document useful (0 votes)
6 views5 pages

C# BioData Form Application Code

Uploaded by

Dave Costin
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views5 pages

C# BioData Form Application Code

Uploaded by

Dave Costin
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Savariz, Chrysler Cedrick N.

BSIT 402 Integrative Programing

Code

using System;

using [Link];

using [Link];

using [Link];

using [Link];

using [Link];

using [Link];

using [Link];

using [Link];

using static [Link];

namespace Chrysler_Savariz

public partial class Form1 : Form

public Form1()

InitializeComponent();

//base class
class bioData

//variables

public string name;

public string email;

public string contactNum;

public string nationality;

public void first(string textbox1, string textbox2)

[Link] = textbox1;

[Link] = textbox2;

public void second(string textbox3, string textbox4)

[Link] = textbox3;

[Link] = textbox4;

//derived class

class info : bioData

public string ShowInfo()

{
return

$"Name: {name}\r\n" +

$"Email: {email}\r\n" +

$"Contact No: {contactNum}\r\n" +

$"Nationality: {nationality}";

private void label1_Click(object sender, EventArgs e)

private void label5_Click(object sender, EventArgs e)

private void label4_Click(object sender, EventArgs e)

private void label3_Click(object sender, EventArgs e)

}
private void label2_Click(object sender, EventArgs e)

private void button1_Click(object sender, EventArgs e)

info person = new info();

person.first([Link], [Link]);

[Link]([Link], [Link]);

[Link]([Link]());

GUI
Output

You might also like