Пример #1
0
        protected void OnClickUpdateArray(object sender, EventArgs e)
        {
            Gtk.Widget[] oldArray = DynRow3.GetControlArray();
            Gtk.Widget[] newArray = new Gtk.Widget[oldArray.Length];
            count = 1;
            foreach (Gtk.Button w in oldArray)
            {
                w.Label             = "Button " + count;
                newArray[count - 1] = w;
                count++;
            }

            DynRow3.SetControlArray(newArray);
        }