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

            queryHouse.Show();
        }
Esempio n. 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);
        }