Beispiel #1
0
        private void KayitListeleBtn_Click_1(object sender, EventArgs e)
        {
            this.Close();
            queryHouse queryHouse = new queryHouse();

            queryHouse.Show();
        }
Beispiel #2
0
        public string Delete(string filename)
        {
            queryHouse qHouse = new queryHouse();

            List <string> quotelist = File.ReadAllLines(filename).ToList();
            string        firstItem = quotelist[qHouse.rowIndex];

            quotelist.RemoveAt(qHouse.rowIndex);

            File.WriteAllLines(filename, quotelist.ToArray());
            return(firstItem);
        }