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