~Nost~
✅ New to c# using Visual studio(WindowsFormsApp)
namespace Vreemde_klinkers
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void omzetButton_Click(object sender, EventArgs e)
{
string sentence = Convert.ToString(zinTextBox.Text);
string aCapital = sentence.Replace("a", "A");
string eCapital = sentence.Replace("e", "E");
string iCapital = sentence.Replace("i", "I");
string oCapital = sentence.Replace("o", "O");
string uCapital = sentence.Replace("u", "U");
klinkerTextBox.Text = Convert.ToString(sentence);
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
31 replies