Exemple #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;
     }
 }
Exemple #2
0
        public void Add(string name, string text)
        {
            DBdata data = new DBdata(name, text);

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