Form’a girilen bilgilere göre CV oluşturma — Csharp

Form’a girilen bilgilere göre CV oluşturma — Csharp

 

Soru :

Form1de  textboxlar,radiobutonlar ve checkboxlara girilen değerlere göre label4 de gerekli cv oluşturan programın csharp windows forms application kodları.

cvolustur2

 

[code lang=”csharp”]

using System;
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 WindowsFormsApplication3
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
string a, b;
int c;
private void button1_Click(object sender, EventArgs e)
{
label4.Show();//www.gorselprogramlama.com
label4.Text = "Adım " + a +" "+ b + "\n" + c + " yaşında ";
if (radioButton1.Checked && radioButton5.Checked)
{
label4.Text += radioButton5.Text + " ve " + radioButton1.Text + " mezunuyum " + "\nHobilerim şunlardır :";
}
if (radioButton1.Checked && radioButton6.Checked)
{
label4.Text += radioButton6.Text + " ve " + radioButton1.Text + " mezunuyum " + "\nHobilerim şunlardır :";
}
if (radioButton2.Checked && radioButton5.Checked) //www.gorselprogramlama.com
{
label4.Text += radioButton5.Text + " ve" + radioButton2.Text + " mezunuyum " + "\nHobilerim şunlardır :";
}
if (radioButton2.Checked && radioButton6.Checked)
{
label4.Text += radioButton6.Text + " ve " + radioButton2.Text + " mezunuyum " + "\nHobilerim şunlardır :";
}
if (radioButton3.Checked && radioButton5.Checked)
{
label4.Text += radioButton5.Text + " ve " + radioButton3.Text + " mezunuyum " + "\nHobilerim şunlardır :";
}
if (radioButton3.Checked && radioButton6.Checked)
{
label4.Text += radioButton6.Text + " ve " + radioButton3.Text + " mezunuyum " + "\nHobilerim şunlardır :";
}

if (radioButton4.Checked && radioButton5.Checked)
{
label4.Text += radioButton5.Text + " ve " + radioButton4.Text + " mezunuyum " + "\nHobilerim şunlardır :";
}
if (radioButton4.Checked && radioButton6.Checked)
{
label4.Text += radioButton6.Text + " ve " + radioButton4.Text + " mezunuyum " + "\nHobilerim şunlardır :";
}
if (checkBox1.Checked)
{//www.gorselprogramlama.com
label4.Text += "\n" +checkBox1.Text;
}
if (checkBox2.Checked)
{
label4.Text += "\n" +checkBox2.Text;
}
if (checkBox3.Checked)
{
label4.Text += "\n" +checkBox3.Text;
}
if (checkBox4.Checked)
{
label4.Text += "\n"+ checkBox4.Text;
}
if (checkBox5.Checked)
{
label4.Text += "\n" +checkBox5.Text;
}
if (checkBox6.Checked)
{
label4.Text += "\n" +checkBox6.Text;
}

}

private void textBox1_TextChanged(object sender, EventArgs e)
{
a = Convert.ToString(textBox1.Text);
}

private void textBox2_TextChanged(object sender, EventArgs e)
{
b = Convert.ToString(textBox2.Text);
}

private void textBox3_TextChanged(object sender, EventArgs e)
{
c = Convert.ToInt16(textBox3.Text);
}

private void Form1_Load(object sender, EventArgs e)
{
radioButton1.Checked = true;
radioButton5.Checked = true;//www.gorselprogramlama.com
label4.Hide();

}
}
}<a href="https://www.gorselprogramlama.com/wp-content/uploads/2015/10/cvolustur2.jpg">
</a> [/code]

 

cvolustur

Proje İNDİR

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir