burdan indirebilirsiniz exe halini :
https://yadi.sk/d/KT8bBqLZ3S8BgA https://www.virustotal.com/#/file/ca...9505/detection
yukardan aşağı doğru kullanım : kelime listesini ekle sonuna eklenecek kelimeyi kutuya yaz sonra kaydet butonuna bas
http://prntscr.com/j91bic
Liste Veriler Klasöründe Kayit.txt olarak kayıt eder
C# Açık Kaynak Kodları
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;
using System.IO;
namespace kelimeEkle
{
public partial class Form1 : Form
{
public string ExeDosyaYolu = Application.StartupPath.ToString();
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
ListBoxToTxt();
}
private void TxtToListBox()
{
OpenFileDialog file = new OpenFileDialog();
file.InitialDirectory = ExeDosyaYolu + "\ListeVeriler\";
file.Filter = "Txt Dosyası |*.txt";
file.FilterIndex = 1;
file.ShowDialog();
string txtyolu = file.FileName;
string rLine;
try
{
StreamReader okuyucu;
okuyucu = File.OpenText(txtyolu);
while ((rLine = okuyucu.ReadLine()) != null)
{
listBox1.Items.Add(rLine.ToString());
}
okuyucu.Close();
}
catch (Exception ex)
{
MessageBox.Show("Hata :" + ex.ToString(), "Error");
}
}
private void ListBoxToTxt()
{
StreamWriter SW = File.AppendText(ExeDosyaYolu + "\ListeVeriler\Kayit.txt");
for (int i = 0; i < listBox1.Items.Count; i++)
{
SW.WriteLine(listBox1.Items[i].ToString() + textBox1.Text.ToString());
}
SW.Close();
}
private void button2_Click(object sender, EventArgs e)
{
TxtToListBox();
}
}
}