anonim_4396
| anonim_4396 a întrebat:

Incerc sa creez un program prin C# care poate stoca datele pe care le introduci in textBox intr-un notepad.Cum ar fi incerc sa pun un Username si Parola intr-un notepad in calculatorul meu. Stie cineva cum as putea face codul?

1 răspuns:
anonim_4396
| anonim_4396 explică:

Si am uitat...Codul:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System. Data;
using System. Drawing;
using System.Linq;
using System. Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{

}

private void button1_Click(object sender, EventArgs e)
{

}

private void label1_Click(object sender, EventArgs e)
{

}

private void pictureBox1_Click(object sender, EventArgs e)
{

}

private void panel1_Paint(object sender, PaintEventArgs e)
{

}

private void textBox1_TextChanged(object sender, EventArgs e)
{

}

private void textBox2_TextChanged(object sender, EventArgs e)
{

}

private void button2_Click(object sender, EventArgs e)
{
this.Close();

}

private void maskedTextBox1_MaskInputRejected(object sender, MaskInputRejectedEventArgs e)
{

}

private void textBox2_TextChanged_1(object sender, EventArgs e)
{

}

private void button1_Click_1(object sender, EventArgs e)
{
Form2 form2 = new Form2();
form2.Show();

}
}
}