SHARE
TWEET

Untitled

a guest Apr 19th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Rozhraní
  2.     {
  3.         //StreamWriter Zapis = new StreamWriter("Ukol.txt");
  4.         // StreamReader Cteni = new StreamReader("Ukol.txt");
  5.         public Rozhraní()
  6.         {
  7.            
  8.         }
  9.  
  10.         public void Add(string taskname, string taskdet)
  11.         {
  12.             StreamWriter Zapis = new StreamWriter("Ukol.txt");
  13.             try
  14.             {
  15.                 Zapis.WriteLine(taskname + ";" + taskdet);
  16.             }
  17.             catch
  18.             {
  19.                
  20.             }
  21.             finally
  22.             {
  23.                 Zapis.Close();
  24.             }
  25.            
  26.         }
  27.         public void Delete()
  28.         {
  29.  
  30.         }
  31.         public void View()
  32.         {
  33.  
  34.         }
  35.         public void End()
  36.         {
  37.  
  38.         }
  39.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top