Beispiel #1
0
 public string this[System.Windows.Forms.Button ktory]
 {
     get
     {
         DBdata navrat = search(ktory.Text);
         if (navrat == null)
         {
             return("*** NYI :( ***");
         }
         return(navrat.Text);
     }
     set
     {
         DBdata hodnota = search(ktory.Text);
         if (hodnota == null)
         {
             return;
         }
         hodnota.Text = value;
     }
 }
Beispiel #2
0
        public void Add(string name, string text)
        {
            DBdata data = new DBdata(name, text);

            items.Add(data);
        }
Beispiel #3
0
 public void Add(string name, string text)
 {
     DBdata data=new DBdata(name, text);
     items.Add(data);
 }